diff options
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_spirv_integer.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv_integer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_integer.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_integer.cpp index c9de204b0..a9c5e9cca 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv_integer.cpp +++ b/src/shader_recompiler/backend/spirv/emit_spirv_integer.cpp | |||
| @@ -70,6 +70,10 @@ Id EmitIAbs32(EmitContext& ctx, Id value) { | |||
| 70 | return ctx.OpSAbs(ctx.U32[1], value); | 70 | return ctx.OpSAbs(ctx.U32[1], value); |
| 71 | } | 71 | } |
| 72 | 72 | ||
| 73 | Id EmitIAbs64(EmitContext& ctx, Id value) { | ||
| 74 | return ctx.OpSAbs(ctx.U64, value); | ||
| 75 | } | ||
| 76 | |||
| 73 | Id EmitShiftLeftLogical32(EmitContext& ctx, Id base, Id shift) { | 77 | Id EmitShiftLeftLogical32(EmitContext& ctx, Id base, Id shift) { |
| 74 | return ctx.OpShiftLeftLogical(ctx.U32[1], base, shift); | 78 | return ctx.OpShiftLeftLogical(ctx.U32[1], base, shift); |
| 75 | } | 79 | } |