diff options
author | Kenneth Graunke <[email protected]> | 2010-07-08 18:15:32 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-07-09 09:46:29 -0700 |
commit | 284d821206d74fddb346cd0d892d2dcec463e2a5 (patch) | |
tree | 25710ffdc3dd47da4522f7c927e1f62fdb7d0d85 /docs/index.html | |
parent | f58bbd134e921b14f50ecd1e76b2943753ba194c (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 'docs/index.html')
0 files changed, 0 insertions, 0 deletions