st/glsl_to_tgsi: only the first (inner-most) array reference can be a 2D index
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 7 Sep 2017 16:43:42 +0000 (18:43 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 11 Sep 2017 13:03:57 +0000 (15:03 +0200)
commit03203b74486357c2bc77c53302f0f667f1df3ffa
treef78011f3a4875fb97a94cb89118f52cdbdb808aa
parent5b1b088f2a176973b66e0765b4127c7882a12860
st/glsl_to_tgsi: only the first (inner-most) array reference can be a 2D index

Don't get distracted by record dereferences between array references.

Fixes dEQP-GLES31.functional.tessellation.user_defined_io.per_vertex_block.*

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp