diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-05-30 02:00:06 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:36 +0200 |
commit | 1542f31e7979a7bae465d299774268533a130f9b (patch) | |
tree | 18163b9bf88cb7c37582173a8c0c6e7ec053c812 /src/shader_recompiler/backend/glsl/emit_glsl_image.cpp | |
parent | glsl: Fix and implement rest of cbuf access (diff) | |
download | yuzu-1542f31e7979a7bae465d299774268533a130f9b.tar yuzu-1542f31e7979a7bae465d299774268533a130f9b.tar.gz yuzu-1542f31e7979a7bae465d299774268533a130f9b.tar.bz2 yuzu-1542f31e7979a7bae465d299774268533a130f9b.tar.lz yuzu-1542f31e7979a7bae465d299774268533a130f9b.tar.xz yuzu-1542f31e7979a7bae465d299774268533a130f9b.tar.zst yuzu-1542f31e7979a7bae465d299774268533a130f9b.zip |
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 const auto texture{Texture(ctx, info, index)}; const auto texel{ctx.reg_alloc.Define(inst, Type::F32x4)}; const auto sparse_inst{PrepareSparse(inst)}; - if (!offset2.IsEmpty()) { - ctx.Add("/*OFFSET 2 IS {}*/", ctx.reg_alloc.Consume(offset2)); - } if (!sparse_inst) { if (offset.IsEmpty()) { ctx.Add("{}=textureGather({},{},int({}));", texel, texture, coords, |