fixed: shader error sampking msaa textures in gl
parameter duplication on texelFetch(sampler2DMS,*) led to failed shaders
This commit is contained in:
parent
ef4bc18478
commit
e0b73d7387
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user