summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_validate.cpp
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2013-09-20 18:36:08 -0700
committerFrancisco Jerez <[email protected]>2013-10-06 12:55:14 -0700
commitb3c04362b44a4eceb38c938ceb387a9c04d06973 (patch)
tree95ab6587e97eaa342f98b8cdbb17f5e0e17dace8 /src/glsl/ir_validate.cpp
parent373f8670d1c670003674e1eaa7c1f0cd823a0431 (diff)
glsl: Fix usage of the wrong union member in program_resource_visitor::recursion.
In the array-of-struct case, recursion() takes the row_major flag for each iteration from 't->fields.structure[i]', but 't' is not a record type. Inherit the array declaration row_major flag instead. This mistake was found by running piglit on valgrind. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69449 Cc: "9.1 9.2" <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Tested-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ir_validate.cpp')
0 files changed, 0 insertions, 0 deletions