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

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

IMM FLT32 { 0.5, 0.5, 0.5, 0.0 }

MOV OUT[0], IN[0]
MAX OUT[1], IN[1], IMM[0]

END