aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/Makefile.template
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-07-08 18:15:32 -0700
committerIan Romanick <[email protected]>2010-07-09 09:46:29 -0700
commit284d821206d74fddb346cd0d892d2dcec463e2a5 (patch)
tree25710ffdc3dd47da4522f7c927e1f62fdb7d0d85 /src/glsl/Makefile.template
parentf58bbd134e921b14f50ecd1e76b2943753ba194c (diff)
ast_function: Fix non-float constructors with matrix arguments.
Previously, code like ivec4(mat2(...)) would fail because the compiler would naively try to convert a mat2 to an imat2...which doesn't exist. Now, a separate pass breaks such matrices down to their columns, which can be converted from vec2 to ivec2. Fixes piglit tests constructor-11.vert, constructor-14.vert, constructor-15.vert, and CorrectConstFolding2.frag.
Diffstat (limited to 'src/glsl/Makefile.template')
0 files changed, 0 insertions, 0 deletions