summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/fragment-shader
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-08-23 18:13:40 +0200
committerNicolai Hähnle <[email protected]>2017-09-04 13:44:04 +0200
commit83923a1f17056d7f895037c3651ca60541d63900 (patch)
tree047f6f4dddd97ffb23a8f7d9a92dfc318171e20b /src/gallium/tests/graw/fragment-shader
parent33661190d2eead1fa5a462913fdd012830cceae3 (diff)
gallium/tests: always use two-dimensional constant references
Acked-by: Roland Scheidegger <[email protected]> Tested-by: Dieter Nützel <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/tests/graw/fragment-shader')
-rw-r--r--src/gallium/tests/graw/fragment-shader/frag-cb-1d.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/tests/graw/fragment-shader/frag-cb-1d.sh b/src/gallium/tests/graw/fragment-shader/frag-cb-1d.sh
index 85fb9ea4e7f..097774336f7 100644
--- a/src/gallium/tests/graw/fragment-shader/frag-cb-1d.sh
+++ b/src/gallium/tests/graw/fragment-shader/frag-cb-1d.sh
@@ -2,12 +2,12 @@ FRAG
DCL IN[0], COLOR, LINEAR
DCL OUT[0], COLOR
-DCL CONST[1]
-DCL CONST[3]
+DCL CONST[0][1]
+DCL CONST[0][3]
DCL TEMP[0..1]
-ADD TEMP[0], IN[0], CONST[1]
-RCP TEMP[1], CONST[3].xxxx
+ADD TEMP[0], IN[0], CONST[0][1]
+RCP TEMP[1], CONST[0][3].xxxx
MUL OUT[0], TEMP[0], TEMP[1]
END