Home | History | Annotate | Download | only in vertex-shader
      1 VERT
      2 DCL IN[0]
      3 DCL IN[1]
      4 DCL OUT[0], POSITION
      5 DCL OUT[1], COLOR
      6 DCL TEMP[0]
      7 DCL TEMP[1]
      8 IMM[0] INT32 {-2147483648, 2, 0, -1}
      9 MOV OUT[0], IN[0]
     10 IMUL_HI TEMP[0], IMM[0].xzzx, IMM[0].yzzy
     11 UMUL TEMP[0], TEMP[0], IMM[0].wwww
     12 I2F OUT[1], TEMP[0]
     13 END
     14