diff options
author | Samuel Pitoiset <[email protected]> | 2017-07-27 17:12:09 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-07-28 11:20:43 +0200 |
commit | f99e9335e2ca46ec8ead00b63e79f800fec75592 (patch) | |
tree | 14abcbc824aa00b9ec4bc7a789aec88a1a78765b /src/mesa/Makefile.sources | |
parent | b38c9c57f272b54a190be4efd4297effa1a3deab (diff) |
st/glsl_to_tgsi: fix getting the image type for array of structs
Since array splitting for AoA is disabled, we have to retrieve
the type of the first non-array type when an array of images is
declared inside a structure. Otherwise, it will hit an assert
in glsl_type::sampler_index() because it expects either a sampler
or an image type.
This fixes a regression in the following piglit test:
arb_bindless_texture/compiler/images/arrays-of-struct.frag
Fixes: 57165f2ef8 ("glsl: disable array splitting for AoA")
Cc: 17.2 <[email protected]>
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/Makefile.sources')
0 files changed, 0 insertions, 0 deletions