diff options
author | Eric Anholt <eric@anholt.net> | 2010-08-17 13:24:50 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-08-17 13:50:45 -0700 |
commit | 0e6066df633f4594fd6fb8ceeb12b15561c57a48 (patch) | |
tree | 1741300d9e98bfc945b15aa2895b395461063019 /src/mesa/drivers/dri/i965 | |
parent | f166d94fac8383b4c56f899ead0b7c06151e16d9 (diff) |
glsl: When doing algebraic simplification, make sure the type still matches.
When simplifying (vec4(1.0) / (float(x))) to rcp(float(x)), we forgot
to produce a vec4, angering ir_validate when starting alien-arena.
Fixes:
glsl-algebraic-add-zero-2
glsl-algebraic-div-one-2
glsl-algebraic-mul-one-2
glsl-algebraic-sub-zero-3
glsl-algebraic-rcp-sqrt-2
Diffstat (limited to 'src/mesa/drivers/dri/i965')
0 files changed, 0 insertions, 0 deletions