summaryrefslogtreecommitdiff
path: root/tgsi/face.tgsi
blob: 51aecbdc71964d68286591c8389406820a4eecfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
FRAG
PROPERTY FS_COLOR0_WRITES_ALL_CBUFS 1
DCL IN[0], FACE, CONSTANT
DCL OUT[0], COLOR
DCL TEMP[0]
DCL TEMP[1], LOCAL
IMM[0] FLT32 {    0.5000,     0.0000,     0.0000,     0.0000}
  0: MOV_SAT TEMP[0], IN[0]
  1: MUL TEMP[1].x, IMM[0].xxxx, TEMP[0].xxxx
  2: MOV OUT[0], TEMP[1].xxxx
  3: END