d3d1x/sm4: fix swizzle for 1 component operands
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Thu, 2 Jun 2011 12:01:24 +0000 (14:01 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Thu, 2 Jun 2011 12:10:34 +0000 (14:10 +0200)
commita531513b06be45868bc4d4f6a9757fe6992ef304
tree0be0e5b0aa41fff0ba0b972e464bab9119b410bd
parentf61d1deac7d19dcec38b7852a635d92680624a32
d3d1x/sm4: fix swizzle for 1 component operands

For example, "mov o0.w, l(1)" would use imm_values[3], which is
not valid.
src/gallium/state_trackers/d3d1x/d3d1xshader/src/sm4_parse.cpp