From e0b73d7387dfe7303532e69f1ea184df31635e8f Mon Sep 17 00:00:00 2001 From: ProPuke Date: Thu, 5 Sep 2024 03:53:40 +0100 Subject: [PATCH] fixed: shader error sampking msaa textures in gl parameter duplication on texelFetch(sampler2DMS,*) led to failed shaders --- 3rdparty/glsl-optimizer/src/glsl/ir_print_glsl_visitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/glsl-optimizer/src/glsl/ir_print_glsl_visitor.cpp b/3rdparty/glsl-optimizer/src/glsl/ir_print_glsl_visitor.cpp index 22d8af426..0a7bdb7d4 100644 --- a/3rdparty/glsl-optimizer/src/glsl/ir_print_glsl_visitor.cpp +++ b/3rdparty/glsl-optimizer/src/glsl/ir_print_glsl_visitor.cpp @@ -954,7 +954,7 @@ void ir_print_glsl_visitor::visit(ir_texture *ir) ir->coordinate->accept(this); // lod - if (ir->op == ir_txl || ir->op == ir_txf || ir->op == ir_txf_ms) + if (ir->op == ir_txl || ir->op == ir_txf) { buffer.asprintf_append (", "); ir->lod_info.lod->accept(this);