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

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