mesa: glsl: fix a swizzle bug in storage_to_src_reg()
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 20 Aug 2008 20:40:02 +0000 (14:40 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 20 Aug 2008 20:40:02 +0000 (14:40 -0600)
commitad9c862ffbb42d733595052d5769405ef7a98a75
tree68df1efc0ccdf157da658271d8dac28fc7ac4036
parente55093bf2f4ff32a691f63409b9fea321cf8eb0f
mesa: glsl: fix a swizzle bug in storage_to_src_reg()

Need to remove the 'nil' components before swizzling a swizzle
src/mesa/shader/slang/slang_emit.c