aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/vertex-shader/vert-imul_hi.sh
blob: 60e2d80dd7f8c4928ead50a270c8b5da2da4b315 (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
DCL TEMP[0]
DCL TEMP[1]
IMM[0] INT32 {-2147483648, 2, 0, -1}
MOV OUT[0], IN[0]
IMUL_HI TEMP[0], IMM[0].xzzx, IMM[0].yzzy
UMUL TEMP[0], TEMP[0], IMM[0].wwww
I2F OUT[1], TEMP[0]
END