summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-08-26 13:58:23 -0600
committerBrian Paul <[email protected]>2015-08-27 13:11:26 -0600
commitbcae4640c89bc2775d1a85b2b27d2787cac8f843 (patch)
tree6ffb3f25012ea77cb330766c79a1f7e17e466add /src/glsl/nir/nir.c
parent42c7be5877665dfcbeb317c7eb163a03d56fe661 (diff)
st/mesa: use PROGRAM_ARRAY for storing structs containing arrays
Previously, we used PROGRAM_ARRAY only for variables which were arrays or matrices. But if the variable is a structure containing an array or matrix, we need to use PROGRAM_ARRAY for that too. Before, we failed an assertion: state_tracker/st_glsl_to_tgsi.cpp:4900: Assertion `src_reg->file != PROGRAM_TEMPORARY' failed. when running the piglit test glsl-1.20/execution/fs-const-array-of-struct-of-array.shader_test Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir.c')
0 files changed, 0 insertions, 0 deletions