st/mesa: gl_program::info.system_values_read is a 64-bit-field
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 8 Mar 2018 16:32:50 +0000 (17:32 +0100)
committerMichel Dänzer <michel@daenzer.net>
Fri, 9 Mar 2018 15:52:11 +0000 (16:52 +0100)
commit2a4596a2f08321f35ec8dc59667ce3a7e7080e7e
tree2370e7ef8e62efca1c11c27f739deadd28798507
parent379e00dc273ce8989d56fc7db531c84061710d65
st/mesa: gl_program::info.system_values_read is a 64-bit-field

We were dropping the upper 32 bits, which caused assertion failures in
some compute shader piglit tests with radeonsi since the commit below.

Fixes: 752e96970303 ("compiler: Add two new system values for subgroups")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_mesa_to_tgsi.c