diff options
author | Nicolai Hähnle <[email protected]> | 2017-08-23 18:13:40 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-09-04 13:44:04 +0200 |
commit | 83923a1f17056d7f895037c3651ca60541d63900 (patch) | |
tree | 047f6f4dddd97ffb23a8f7d9a92dfc318171e20b /src/gallium/tests/graw | |
parent | 33661190d2eead1fa5a462913fdd012830cceae3 (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')
-rw-r--r-- | src/gallium/tests/graw/fragment-shader/frag-cb-1d.sh | 8 | ||||
-rw-r--r-- | src/gallium/tests/graw/vertex-shader/vert-cb-1d.sh | 8 |
2 files changed, 8 insertions, 8 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 diff --git a/src/gallium/tests/graw/vertex-shader/vert-cb-1d.sh b/src/gallium/tests/graw/vertex-shader/vert-cb-1d.sh index e227917fd3b..0b05ca8b677 100644 --- a/src/gallium/tests/graw/vertex-shader/vert-cb-1d.sh +++ b/src/gallium/tests/graw/vertex-shader/vert-cb-1d.sh @@ -4,13 +4,13 @@ DCL IN[0] DCL IN[1] DCL OUT[0], POSITION DCL OUT[1], COLOR -DCL CONST[1] -DCL CONST[3] +DCL CONST[0][1] +DCL CONST[0][3] DCL TEMP[0..1] MOV OUT[0], IN[0] -ADD TEMP[0], IN[1], CONST[1] -RCP TEMP[1], CONST[3].xxxx +ADD TEMP[0], IN[1], CONST[0][1] +RCP TEMP[1], CONST[0][3].xxxx MUL OUT[1], TEMP[0], TEMP[1] END |