glsl: Add validation that a swizzle only references valid channels.
authorEric Anholt <eric@anholt.net>
Mon, 27 Sep 2010 22:48:15 +0000 (15:48 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 27 Sep 2010 22:52:56 +0000 (15:52 -0700)
commit5e8ed7a79b381d559b059987bd99c68d40f641ca
tree2ad0e9cad409b0e3164653f765a321d72260d992
parent668cdbe12958247f4a563c362dbf3247de7ccc3f
glsl: Add validation that a swizzle only references valid channels.

Caught the bug in the previous commit.
src/glsl/ir_validate.cpp