diff options
| author | 2021-06-14 23:02:07 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:38 -0400 | |
| commit | 6eea88d6149f7122777b325c7fc8549e2a974e64 (patch) | |
| tree | adc74d8545021665fee7e46f8d4b1b0e14b1c823 /src/shader_recompiler/backend/glsl/emit_glsl_warp.cpp | |
| parent | gl_shader_cache: Implement async shaders (diff) | |
| download | yuzu-6eea88d6149f7122777b325c7fc8549e2a974e64.tar.gz yuzu-6eea88d6149f7122777b325c7fc8549e2a974e64.tar.xz yuzu-6eea88d6149f7122777b325c7fc8549e2a974e64.zip | |
glsl: Cleanup/Address feedback
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl_warp.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl_warp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_warp.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_warp.cpp index 7047928fd..4d418cbbc 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl_warp.cpp +++ b/src/shader_recompiler/backend/glsl/emit_glsl_warp.cpp | |||
| @@ -43,7 +43,7 @@ void UseShuffleNv(EmitContext& ctx, IR::Inst& inst, std::string_view shfl_op, | |||
| 43 | ctx.AddU32("{}={}({},{},{},shfl_in_bounds);", inst, shfl_op, value, index, width); | 43 | ctx.AddU32("{}={}({},{},{},shfl_in_bounds);", inst, shfl_op, value, index, width); |
| 44 | SetInBoundsFlag(ctx, inst); | 44 | SetInBoundsFlag(ctx, inst); |
| 45 | } | 45 | } |
| 46 | } // namespace | 46 | } // Anonymous namespace |
| 47 | 47 | ||
| 48 | void EmitLaneId(EmitContext& ctx, IR::Inst& inst) { | 48 | void EmitLaneId(EmitContext& ctx, IR::Inst& inst) { |
| 49 | ctx.AddU32("{}=gl_SubGroupInvocationARB&31u;", inst); | 49 | ctx.AddU32("{}=gl_SubGroupInvocationARB&31u;", inst); |