• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1VERT
2
3DCL IN[0]
4DCL IN[1]
5DCL OUT[0], POSITION
6DCL OUT[1], COLOR
7
8DCL TEMP[0..1]
9
10IMM FLT32 { 0.3, 0.3, 0.3, 1.0 }
11
12EX2 TEMP[0], IN[0]
13EX2 TEMP[1], IN[1].yyyy
14MUL TEMP[0], TEMP[0], IMM[0]
15MOV OUT[0], IN[0]
16MUL OUT[1], TEMP[0], TEMP[1]
17
18END
19