- VERT
- DCL IN[0]
- DCL IN[1]
- DCL IN[2]
- DCL OUT[0], POSITION
- DCL OUT[1], COLOR
- DCL OUT[2], GENERIC[0]
- DCL CONST[0..24]
- DCL TEMP[0..4]
- DCL ADDR[0]
- 0: MUL TEMP[0].x, CONST[1].xxxx, IN[2].yyyy
- 1: TRUNC TEMP[0].z, TEMP[0].xxxx
- 2: ADD TEMP[1].x, IN[2].xxxx, CONST[0].xxxx
- 3: SGT TEMP[1].w, TEMP[0].zzzz, CONST[14].xxxx
- 4: IF TEMP[1].wwww :6
- 5: MOV TEMP[1].z, CONST[15].xxxx
- 6: ELSE :8
- 7: SLE TEMP[1].z, TEMP[1].xxxx, CONST[15].yyyy
- 8: ENDIF
- 9: IF TEMP[1].zzzz :12
- 10: MOV TEMP[2], CONST[16]
- 11: MOV TEMP[3], CONST[16]
- 12: ELSE :38
- 13: ADD TEMP[4].y, TEMP[0].zzzz, CONST[15].xxxx
- 14: SGT TEMP[4].w, TEMP[4].yyyy, CONST[14].xxxx
- 15: IF TEMP[4].wwww :17
- 16: MOV TEMP[4].y, CONST[14].xxxx
- 17: ENDIF
- 18: FRC TEMP[2].x, TEMP[0].xxxx
- 19: ARL ADDR[0].x, TEMP[4].yyyy
- 20: MOV TEMP[4], CONST[ADDR[0].x+2]
- 21: ARL ADDR[0].x, TEMP[0].zzzz
- 22: MOV TEMP[0], CONST[ADDR[0].x+2]
- 23: LRP OUT[1], TEMP[2].xxxx, TEMP[4], TEMP[0]
- 24: MUL TEMP[4], CONST[18], IN[1].yyyy
- 25: MAD TEMP[0], CONST[17], IN[1].xxxx, TEMP[4]
- 26: MAD TEMP[4], CONST[19], IN[1].zzzz, TEMP[0]
- 27: MAD TEMP[2], CONST[20], IN[1].wwww, TEMP[4]
- 28: MOV TEMP[3], TEMP[2]
- 29: MUL TEMP[4].xy, IN[0], TEMP[1].xxxx
- 30: ADD TEMP[3].xy, TEMP[2], TEMP[4]
- 31: MOV TEMP[2].xy, TEMP[3]
- 32: MUL TEMP[0], CONST[22], TEMP[3].yyyy
- 33: MAD TEMP[1], CONST[21], TEMP[3].xxxx, TEMP[0]
- 34: MAD TEMP[0], CONST[23], TEMP[3].zzzz, TEMP[1]
- 35: MAD TEMP[4], CONST[24], TEMP[3].wwww, TEMP[0]
- 36: MOV TEMP[3], TEMP[4]
- 37: MOV OUT[2].xy, IN[0].zwzw
- 38: ENDIF
- 39: MOV OUT[0], TEMP[3]
- 40: END
Undefined
By: Guest | Date: Jan 1 2009 16:34 | Format: None | Expires: never | Size: 1.62 KB | Hits: 1053
Latest pastes
18 hours ago
1 days ago
1 days ago
1 days ago
2 days ago