fixed: shader error sampking msaa textures in gl

parameter duplication on texelFetch(sampler2DMS,*) led to failed shaders
This commit is contained in:
ProPuke 2024-09-05 03:53:40 +01:00
parent ef4bc18478
commit e0b73d7387

View File

@ -954,7 +954,7 @@ void ir_print_glsl_visitor::visit(ir_texture *ir)
ir->coordinate->accept(this); ir->coordinate->accept(this);
// lod // 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 (", "); buffer.asprintf_append (", ");
ir->lod_info.lod->accept(this); ir->lod_info.lod->accept(this);