diff options
Diffstat (limited to 'src/shader_recompiler/backend')
| -rw-r--r-- | src/shader_recompiler/backend/glasm/emit_glasm_instructions.h | 8 | ||||
| -rw-r--r-- | src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp | 16 |
2 files changed, 12 insertions, 12 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_instructions.h b/src/shader_recompiler/backend/glasm/emit_glasm_instructions.h index 26c97ce8e..174eaaafa 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm_instructions.h +++ b/src/shader_recompiler/backend/glasm/emit_glasm_instructions.h | |||
| @@ -437,10 +437,10 @@ void EmitGlobalAtomicMinF16x2(EmitContext& ctx); | |||
| 437 | void EmitGlobalAtomicMinF32x2(EmitContext& ctx); | 437 | void EmitGlobalAtomicMinF32x2(EmitContext& ctx); |
| 438 | void EmitGlobalAtomicMaxF16x2(EmitContext& ctx); | 438 | void EmitGlobalAtomicMaxF16x2(EmitContext& ctx); |
| 439 | void EmitGlobalAtomicMaxF32x2(EmitContext& ctx); | 439 | void EmitGlobalAtomicMaxF32x2(EmitContext& ctx); |
| 440 | void EmitLogicalOr(EmitContext& ctx, ScalarS32 a, ScalarS32 b); | 440 | void EmitLogicalOr(EmitContext& ctx, IR::Inst& inst, ScalarS32 a, ScalarS32 b); |
| 441 | void EmitLogicalAnd(EmitContext& ctx, ScalarS32 a, ScalarS32 b); | 441 | void EmitLogicalAnd(EmitContext& ctx, IR::Inst& inst, ScalarS32 a, ScalarS32 b); |
| 442 | void EmitLogicalXor(EmitContext& ctx, ScalarS32 a, ScalarS32 b); | 442 | void EmitLogicalXor(EmitContext& ctx, IR::Inst& inst, ScalarS32 a, ScalarS32 b); |
| 443 | void EmitLogicalNot(EmitContext& ctx, ScalarS32 value); | 443 | void EmitLogicalNot(EmitContext& ctx, IR::Inst& inst, ScalarS32 value); |
| 444 | void EmitConvertS16F16(EmitContext& ctx, Register value); | 444 | void EmitConvertS16F16(EmitContext& ctx, Register value); |
| 445 | void EmitConvertS16F32(EmitContext& ctx, Register value); | 445 | void EmitConvertS16F32(EmitContext& ctx, Register value); |
| 446 | void EmitConvertS16F64(EmitContext& ctx, Register value); | 446 | void EmitConvertS16F64(EmitContext& ctx, Register value); |
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp index 3f224062f..29eb75c6a 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp +++ b/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp | |||
| @@ -572,20 +572,20 @@ void EmitGlobalAtomicMaxF32x2(EmitContext& ctx) { | |||
| 572 | NotImplemented(); | 572 | NotImplemented(); |
| 573 | } | 573 | } |
| 574 | 574 | ||
| 575 | void EmitLogicalOr(EmitContext& ctx, ScalarS32 a, ScalarS32 b) { | 575 | void EmitLogicalOr(EmitContext& ctx, IR::Inst& inst, ScalarS32 a, ScalarS32 b) { |
| 576 | NotImplemented(); | 576 | ctx.Add("OR.S {},{},{};", inst, a, b); |
| 577 | } | 577 | } |
| 578 | 578 | ||
| 579 | void EmitLogicalAnd(EmitContext& ctx, ScalarS32 a, ScalarS32 b) { | 579 | void EmitLogicalAnd(EmitContext& ctx, IR::Inst& inst, ScalarS32 a, ScalarS32 b) { |
| 580 | NotImplemented(); | 580 | ctx.Add("AND.S {},{},{};", inst, a, b); |
| 581 | } | 581 | } |
| 582 | 582 | ||
| 583 | void EmitLogicalXor(EmitContext& ctx, ScalarS32 a, ScalarS32 b) { | 583 | void EmitLogicalXor(EmitContext& ctx, IR::Inst& inst, ScalarS32 a, ScalarS32 b) { |
| 584 | NotImplemented(); | 584 | ctx.Add("XOR.S {},{},{};", inst, a, b); |
| 585 | } | 585 | } |
| 586 | 586 | ||
| 587 | void EmitLogicalNot(EmitContext& ctx, ScalarS32 value) { | 587 | void EmitLogicalNot(EmitContext& ctx, IR::Inst& inst, ScalarS32 value) { |
| 588 | NotImplemented(); | 588 | ctx.Add("SEQ.S {},{},0;", inst, value); |
| 589 | } | 589 | } |
| 590 | 590 | ||
| 591 | void EmitConvertS16F16(EmitContext& ctx, Register value) { | 591 | void EmitConvertS16F16(EmitContext& ctx, Register value) { |