summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorCody Northrop <[email protected]>2014-07-10 09:55:31 -0600
committerKenneth Graunke <[email protected]>2014-07-14 08:36:36 -0700
commit0f679f0ab5afc8c1469453b922d37ae7216136a4 (patch)
tree47323dad9f9fbefbc6b320c01fd17f37d3ee059e /src/mesa
parent923f78440c29644f31d745d6fbd4eaad8676973f (diff)
glsl: Fix aggregates with dynamic initializers.
Vectors are falling in to the ir_dereference_array() path. Without this change, the following glsl aborts the debug driver, or gets the wrong answer in release: mat2x2 a = mat2( vec2( 1.0, vertex.x ), vec2( 0.0, 1.0 ) ); Also submitting piglit tests, will reference in bug. v2: Rebase on Mesa master. v3: Remove unneeded check for arrays, which are covered by process_array_constructor(), recommended by Timothy Arceri. Signed-off-by: Cody Northrop <[email protected]> Reviewed-by: Courtney Goeltzenleuchter <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79373
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions