summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2011-08-01 15:23:07 -0700
committerPaul Berry <[email protected]>2011-08-08 12:43:53 -0700
commitd4144a123b603d3c33cb356cf3c8e5ae4653594e (patch)
tree1064206b458a56aa91c00f5e4a2221adc95e46cd /autogen.sh
parent789ee6516bfca289e1948ff8f2c147b94286a0e0 (diff)
glsl: Check array size is const before asserting that no IR was generated.
process_array_type() contains an assertion to verify that no IR instructions are generated while processing the expression that specifies the size of the array. This assertion needs to happen _after_ checking whether the expression is constant. Otherwise we may crash on an illegal shader rather than reporting an error. Fixes piglit tests array-size-non-builtin-function.vert and array-size-with-side-effect.vert. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions