summaryrefslogtreecommitdiffstats
path: root/src/loader
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2016-09-03 10:51:07 -0700
committerKenneth Graunke <kenneth@whitecape.org>2016-09-05 17:37:55 -0700
commitd0cd504046aa1fde53be0fe6d9f62f32feec4554 (patch)
treed70c852bf512e0466d8949244e1f5f3fbd72a2ae /src/loader
parent096ad19a2b9e6ded0a73581839c9839f211b8f17 (diff)
downloadexternal_mesa3d-d0cd504046aa1fde53be0fe6d9f62f32feec4554.zip
external_mesa3d-d0cd504046aa1fde53be0fe6d9f62f32feec4554.tar.gz
external_mesa3d-d0cd504046aa1fde53be0fe6d9f62f32feec4554.tar.bz2
glsl: Fix locations of variables in patch qualified interface blocks.
As of commit d82f8d9772813949d0f5455cd0edad9003be0fb0, we actually parse and attempt to handle the 'patch' qualifier on interface blocks. This patch fixes explicit locations for variables in such blocks. Without it, many program interface query dEQP/CTS tests hit this assertion in ir_set_program_inouts.cpp if (is_patch_generic) { assert(idx >= VARYING_SLOT_PATCH0 && idx < VARYING_SLOT_TESS_MAX); bitfield = BITFIELD64_BIT(idx - VARYING_SLOT_PATCH0); } because the location was incorrectly based on VARYING_SLOT_VAR0. Note that most of the tests affected currently fail before they hit this, due to confusion about what the program interface query name of those resources should be. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/loader')
0 files changed, 0 insertions, 0 deletions