aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-frc.sh
blob: 64d1a494e13f46e637865ae4fa39080354e886a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
VERT

DCL IN[0], POSITION
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