diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-06-19 10:00:39 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-06-19 12:50:39 -0700 |
commit | d7ea433a5fc13ef1f622fddf01afb1f1de7bc6b4 (patch) | |
tree | 981036a4d8044a154043fd90ea06dc11591818dc /src/compiler/glsl/list.h | |
parent | 10e8d466011076a0453368cb976d9f6b06af0e94 (diff) |
glsl/nir: Fix getting the sampler dim when arrays are involved
Unwrap any array in the variable type so we can get the sampler dim.
This fixes piglit test
spec/arb_arrays_of_arrays/execution/image_store/basic-imageStore-const-uniform-index.shader_test.
Fixes: f2d0e48ddc7 "glsl/nir: Add optimization pass for access flags"
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/glsl/list.h')
0 files changed, 0 insertions, 0 deletions