• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1FRAG
2
3DCL IN[0], COLOR, LINEAR
4DCL IN[1], FACE, CONSTANT
5DCL OUT[0], COLOR
6DCL TEMP[0]
7IMM FLT32 { 0.5, 1.0, 0.0, 0.0 }
8
9MUL TEMP[0], IN[1].xxxx, IMM[0].xxxx
10ADD TEMP[0], TEMP[0], IMM[0].yyyy
11
12MOV OUT[0], TEMP[0]
13
14END
15