diff options
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl_image.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl_image.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp index 9213375b4..d1f7c5d91 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp +++ b/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp | |||
| @@ -234,9 +234,6 @@ void EmitImageGather([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Ins | |||
| 234 | const auto texture{Texture(ctx, info, index)}; | 234 | const auto texture{Texture(ctx, info, index)}; |
| 235 | const auto texel{ctx.reg_alloc.Define(inst, Type::F32x4)}; | 235 | const auto texel{ctx.reg_alloc.Define(inst, Type::F32x4)}; |
| 236 | const auto sparse_inst{PrepareSparse(inst)}; | 236 | const auto sparse_inst{PrepareSparse(inst)}; |
| 237 | if (!offset2.IsEmpty()) { | ||
| 238 | ctx.Add("/*OFFSET 2 IS {}*/", ctx.reg_alloc.Consume(offset2)); | ||
| 239 | } | ||
| 240 | if (!sparse_inst) { | 237 | if (!sparse_inst) { |
| 241 | if (offset.IsEmpty()) { | 238 | if (offset.IsEmpty()) { |
| 242 | ctx.Add("{}=textureGather({},{},int({}));", texel, texture, coords, | 239 | ctx.Add("{}=textureGather({},{},int({}));", texel, texture, coords, |