summaryrefslogtreecommitdiff
path: root/src/glsl/ir.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-09-01 15:04:57 -0700
committerKenneth Graunke <kenneth@whitecape.org>2010-09-01 18:57:50 -0700
commit550237eedd772487151565f64384d35c1bf695a6 (patch)
tree674d428a3b5ba5e275f2c2614cae2da8fd5b12dd /src/glsl/ir.cpp
parentee88c4664016b11359c391cc62296bcbfcc5decd (diff)
ast_function: Fix check for "too few components".
This was triggering even for matrix-from-matrix constructors. It is perfectly legal to construct a mat3 from a mat2 - the rest will be filled in by the identity matrix. Changes piglit test constructor-23.vert from FAIL to PASS, but the generated code is incorrect.
Diffstat (limited to 'src/glsl/ir.cpp')
0 files changed, 0 insertions, 0 deletions