diff options
author | Matt Turner <[email protected]> | 2014-01-24 15:17:08 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-01-27 21:15:35 -0800 |
commit | 8e2b8bd0e613d1e24860d9572fc16893ad11a2da (patch) | |
tree | 7cd23a5d48b696c1d5ac1c23e5f8bfd2f75b91d9 /src/glsl/ir_print_visitor.cpp | |
parent | 57109d57f8c7425f4c6f865f1697a864da27aabd (diff) |
glsl: Set proper swizzle when a channel is missing in vectorizing.
Previously, for example if the x channel was missing from a series of
assignments we were attempting to vectorize, the wrong swizzle mask
would be applied.
a.y = b.y;
a.z = b.z;
a.w = b.w;
would be incorrectly transformed into
a.yzw = b.xyz;
Fixes two transform feedback tests in the ES3 conformance suite.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73978
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73954
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/ir_print_visitor.cpp')
0 files changed, 0 insertions, 0 deletions