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