summaryrefslogtreecommitdiff
path: root/tgsi/crazy-frag.tgsi
blob: 813a5edca5f3866a2e6df7f8afbe43d00ec34c08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FRAG
PROPERTY FS_COLOR0_WRITES_ALL_CBUFS 1
DCL IN[0], COLOR, COLOR
DCL IN[1], GENERIC[0], PERSPECTIVE
DCL OUT[0], COLOR
DCL SAMP[0]
DCL TEMP[0], LOCAL
  0: MOV TEMP[0].xy, IN[1].xyyy
  1: MOV TEMP[0].w, IN[1].wwww
  2: TXP TEMP[0].xyz, TEMP[0], SAMP[0], 2D
  2: TXP TEMP[0].xyz, TEMP[0].xyzz, SAMP[0], 2D
  3: MUL TEMP[0], TEMP[0], IN[0]
  4: MOV OUT[0], TEMP[0]
  5: END