diff options
Diffstat (limited to 'src/shader_recompiler/backend/spirv')
| -rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv.h | 1 | ||||
| -rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv_floating_point.cpp | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv.h b/src/shader_recompiler/backend/spirv/emit_spirv.h index aafc59bbb..b09978073 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv.h +++ b/src/shader_recompiler/backend/spirv/emit_spirv.h | |||
| @@ -232,6 +232,7 @@ Id EmitFPOrdGreaterThanEqual64(EmitContext& ctx, Id lhs, Id rhs); | |||
| 232 | Id EmitFPUnordGreaterThanEqual16(EmitContext& ctx, Id lhs, Id rhs); | 232 | Id EmitFPUnordGreaterThanEqual16(EmitContext& ctx, Id lhs, Id rhs); |
| 233 | Id EmitFPUnordGreaterThanEqual32(EmitContext& ctx, Id lhs, Id rhs); | 233 | Id EmitFPUnordGreaterThanEqual32(EmitContext& ctx, Id lhs, Id rhs); |
| 234 | Id EmitFPUnordGreaterThanEqual64(EmitContext& ctx, Id lhs, Id rhs); | 234 | Id EmitFPUnordGreaterThanEqual64(EmitContext& ctx, Id lhs, Id rhs); |
| 235 | Id EmitFPIsNan32(EmitContext& ctx, Id value); | ||
| 235 | Id EmitIAdd32(EmitContext& ctx, IR::Inst* inst, Id a, Id b); | 236 | Id EmitIAdd32(EmitContext& ctx, IR::Inst* inst, Id a, Id b); |
| 236 | void EmitIAdd64(EmitContext& ctx); | 237 | void EmitIAdd64(EmitContext& ctx); |
| 237 | Id EmitISub32(EmitContext& ctx, Id a, Id b); | 238 | Id EmitISub32(EmitContext& ctx, Id a, Id b); |
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_floating_point.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_floating_point.cpp index 749f11742..a359c42fc 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv_floating_point.cpp +++ b/src/shader_recompiler/backend/spirv/emit_spirv_floating_point.cpp | |||
| @@ -346,4 +346,8 @@ Id EmitFPUnordGreaterThanEqual64(EmitContext& ctx, Id lhs, Id rhs) { | |||
| 346 | return ctx.OpFUnordGreaterThanEqual(ctx.U1, lhs, rhs); | 346 | return ctx.OpFUnordGreaterThanEqual(ctx.U1, lhs, rhs); |
| 347 | } | 347 | } |
| 348 | 348 | ||
| 349 | Id EmitFPIsNan32(EmitContext& ctx, Id value) { | ||
| 350 | return ctx.OpIsNan(ctx.U1, value); | ||
| 351 | } | ||
| 352 | |||
| 349 | } // namespace Shader::Backend::SPIRV | 353 | } // namespace Shader::Backend::SPIRV |