summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/vertex-shader/vert-rcp.sh
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-10-17 15:27:26 +0100
committerJosé Fonseca <[email protected]>2012-10-17 15:27:26 +0100
commitea2978b11c02ca52c1f0b144d604597b664f6118 (patch)
tree731f6018bccb5956f8a7ba3bcfd34ce9df9094c6 /src/gallium/tests/graw/vertex-shader/vert-rcp.sh
parent2ab6e67d9093db7d44eefd3c6fa599e4b9cdd73c (diff)
tgsi: Add support to parse IMM[x] too.
Thanks to Brian for pointing this out.
Diffstat (limited to 'src/gallium/tests/graw/vertex-shader/vert-rcp.sh')
-rw-r--r--src/gallium/tests/graw/vertex-shader/vert-rcp.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/tests/graw/vertex-shader/vert-rcp.sh b/src/gallium/tests/graw/vertex-shader/vert-rcp.sh
index d440e35d9a3..8843fe571ae 100644
--- a/src/gallium/tests/graw/vertex-shader/vert-rcp.sh
+++ b/src/gallium/tests/graw/vertex-shader/vert-rcp.sh
@@ -7,8 +7,8 @@ DCL OUT[1], COLOR
DCL TEMP[0]
-IMM FLT32 { 1.0, 0.0, 0.0, 0.0 }
-IMM FLT32 { 1.5, 0.0, 0.0, 0.0 }
+IMM[0] FLT32 { 1.0, 0.0, 0.0, 0.0 }
+IMM[1] FLT32 { 1.5, 0.0, 0.0, 0.0 }
ADD TEMP[0], IN[0], IMM[0]
RCP TEMP[0].x, TEMP[0].xxxx