mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-19 00:17:32 +01:00
shader_decode: Fixup clang-format
This commit is contained in:
parent
c9cf899d18
commit
946c86f0bb
@ -20,8 +20,7 @@ u32 ShaderIR::DecodeArithmeticHalf(BasicBlock& bb, u32 pc) {
|
|||||||
opcode->get().GetId() == OpCode::Id::HADD2_R) {
|
opcode->get().GetId() == OpCode::Id::HADD2_R) {
|
||||||
UNIMPLEMENTED_IF(instr.alu_half.ftz != 0);
|
UNIMPLEMENTED_IF(instr.alu_half.ftz != 0);
|
||||||
}
|
}
|
||||||
UNIMPLEMENTED_IF_MSG(instr.alu_half.saturate != 0,
|
UNIMPLEMENTED_IF_MSG(instr.alu_half.saturate != 0, "Half float saturation not implemented");
|
||||||
"Half float saturation not implemented");
|
|
||||||
|
|
||||||
const bool negate_a =
|
const bool negate_a =
|
||||||
opcode->get().GetId() != OpCode::Id::HMUL2_R && instr.alu_half.negate_a != 0;
|
opcode->get().GetId() != OpCode::Id::HMUL2_R && instr.alu_half.negate_a != 0;
|
||||||
|
@ -21,7 +21,7 @@ u32 ShaderIR::DecodeXmad(BasicBlock& bb, u32 pc) {
|
|||||||
UNIMPLEMENTED_IF_MSG(instr.generates_cc,
|
UNIMPLEMENTED_IF_MSG(instr.generates_cc,
|
||||||
"Condition codes generation in XMAD is not implemented");
|
"Condition codes generation in XMAD is not implemented");
|
||||||
|
|
||||||
Node op_a = GetRegister(instr.gpr8); // instr.xmad.sign_a
|
Node op_a = GetRegister(instr.gpr8);
|
||||||
|
|
||||||
// TODO(bunnei): Needs to be fixed once op_a or op_b is signed
|
// TODO(bunnei): Needs to be fixed once op_a or op_b is signed
|
||||||
UNIMPLEMENTED_IF(instr.xmad.sign_a != instr.xmad.sign_b);
|
UNIMPLEMENTED_IF(instr.xmad.sign_a != instr.xmad.sign_b);
|
||||||
|
Loading…
Reference in New Issue
Block a user