summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/vertex-shader/vert-lrp.sh
blob: a26ca3b0ec0ebd783b279359845018f9281cf85e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
VERT

DCL IN[0]
DCL IN[1]
DCL OUT[0], POSITION
DCL OUT[1], COLOR

DCL TEMP[0]

ABS TEMP[0], IN[0]
MOV OUT[0], IN[0]
LRP OUT[1], TEMP[0], IN[1].xxxx, IN[1].yyyy

END