aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/vertex-shader/vert-cb-1d.sh
blob: 0b05ca8b677875bb59a2cf4e177d2edee247b1c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
VERT

DCL IN[0]
DCL IN[1]
DCL OUT[0], POSITION
DCL OUT[1], COLOR
DCL CONST[0][1]
DCL CONST[0][3]
DCL TEMP[0..1]

MOV OUT[0], IN[0]
ADD TEMP[0], IN[1], CONST[0][1]
RCP TEMP[1], CONST[0][3].xxxx
MUL OUT[1], TEMP[0], TEMP[1]

END