diff options
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp index 1c23ccc08..d53412204 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp +++ b/src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp | |||
| @@ -183,4 +183,12 @@ Id EmitFSwizzleAdd(EmitContext& ctx, Id op_a, Id op_b, Id swizzle) { | |||
| 183 | return ctx.OpFAdd(ctx.F32[1], result_a, result_b); | 183 | return ctx.OpFAdd(ctx.F32[1], result_a, result_b); |
| 184 | } | 184 | } |
| 185 | 185 | ||
| 186 | Id EmitDPdxFine(EmitContext& ctx, Id op_a) { | ||
| 187 | return ctx.OpDPdxFine(ctx.F32[1], op_a); | ||
| 188 | } | ||
| 189 | |||
| 190 | Id EmitDPdyFine(EmitContext& ctx, Id op_a) { | ||
| 191 | return ctx.OpDPdyFine(ctx.F32[1], op_a); | ||
| 192 | } | ||
| 193 | |||
| 186 | } // namespace Shader::Backend::SPIRV | 194 | } // namespace Shader::Backend::SPIRV |