glsl-optimizer: Fixed output of texture sampling with texture array lod.
This commit is contained in:
parent
4a53a3172d
commit
29aa15725d
@ -899,7 +899,13 @@ void ir_print_glsl_visitor::visit(ir_texture *ir)
|
||||
}
|
||||
|
||||
if (is_array && state->EXT_texture_array_enable)
|
||||
{
|
||||
if(state->language_version>=130)
|
||||
{
|
||||
buffer.asprintf_append ("%s", tex_sampler_dim_name[sampler_dim]);
|
||||
}
|
||||
buffer.asprintf_append ("Array");
|
||||
}
|
||||
if ((ir->op == ir_tex || ir->op == ir_txl) && is_proj)
|
||||
buffer.asprintf_append ("Proj");
|
||||
if (ir->op == ir_txl)
|
||||
|
Loading…
Reference in New Issue
Block a user