• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1FRAG
2
3DCL IN[0], COLOR, LINEAR
4DCL OUT[0], COLOR
5DCL CONST[0][1]
6DCL CONST[0][3]
7DCL TEMP[0..1]
8
9ADD TEMP[0], IN[0], CONST[0][1]
10RCP TEMP[1], CONST[0][3].xxxx
11MUL OUT[0], TEMP[0], TEMP[1]
12
13END
14