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

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

DCL TEMP[0]

IMM FLT32 { 2.7, 3.1, 4.5, 1.0 }

MUL TEMP[0], IN[0].xyxw, IMM[0]
MOV OUT[0], IN[0]
FRC OUT[1], TEMP[0]

END