FRAG DCL IN[0], COLOR, COLOR DCL IN[1], TEXCOORD[0], PERSPECTIVE DCL IN[2], TEXCOORD[1], PERSPECTIVE DCL IN[3], GENERIC[0], PERSPECTIVE DCL IN[4], GENERIC[1], PERSPECTIVE DCL OUT[0], COLOR DCL OUT[1], COLOR[1] DCL OUT[2], COLOR[2] DCL SAMP[0] DCL SAMP[1] DCL SAMP[2] DCL CONST[0] DCL CONST[4] DCL TEMP[0..4], LOCAL IMM[0] FLT32 { 0.0010, 1.0000, 0.0000, 2.5000} IMM[1] FLT32 { 3.5000, 0.0625, 16.0000, 0.1250} IMM[2] FLT32 { -400.0000, 127.0000, 0.0079, 0.0078} IMM[3] FLT32 { 4.5000, 0.9900, 0.5000, 0.6250} IMM[4] FLT32 { 0.9600, 1.2500, 1.0000, 0.9500} IMM[5] FLT32 { 1.0000, 0.9500, 0.9400, 0.0000} 0: FSLT TEMP[0].x, IMM[0].xxxx, CONST[4].xxxx 1: FSLT TEMP[1].x, IN[4].zzzz, CONST[4].xxxx 2: AND TEMP[0].x, TEMP[0].xxxx, TEMP[1].xxxx 3: AND TEMP[0].x, TEMP[0].xxxx, IMM[0].yyyy 4: KILL_IF -TEMP[0].xxxx 5: MOV TEMP[0].xy, IN[1].xyxx 6: MOV TEMP[1].xyz, IMM[0].zzzy 7: FSLT TEMP[2].x, IMM[0].wwww, IN[3].xxxx 8: FSLT TEMP[3].x, IN[3].xxxx, IMM[1].xxxx 9: AND TEMP[2].x, TEMP[2].xxxx, TEMP[3].xxxx 10: UIF TEMP[2].xxxx :0 11: MUL TEMP[2].x, IN[1].xxxx, IMM[1].zzzz 12: FLR TEMP[2].x, TEMP[2].xxxx 13: MUL TEMP[2].x, IMM[1].yyyy, TEMP[2].xxxx 14: ADD TEMP[2].x, IN[1].xxxx, -TEMP[2].xxxx 15: MUL TEMP[0].x, TEMP[2].xxxx, IMM[1].zzzz 16: MUL TEMP[2].x, IN[1].yyyy, IMM[1].zzzz 17: FLR TEMP[2].x, TEMP[2].xxxx 18: MUL TEMP[2].x, IMM[1].yyyy, TEMP[2].xxxx 19: ADD TEMP[2].x, IN[1].yyyy, -TEMP[2].xxxx 20: MUL TEMP[2].x, TEMP[2].xxxx, IMM[1].wwww 21: MOV TEMP[0].y, TEMP[2].xxxx 22: MUL TEMP[3].x, IMM[2].xxxx, CONST[0].xxxx 23: MUL TEMP[4].x, TEMP[3].xxxx, IMM[2].zzzz 24: FLR TEMP[4].x, TEMP[4].xxxx 25: MUL TEMP[4].x, IMM[2].yyyy, TEMP[4].xxxx 26: ADD TEMP[3].x, TEMP[3].xxxx, -TEMP[4].xxxx 27: MAD TEMP[2].x, TEMP[3].xxxx, IMM[2].wwww, TEMP[2].xxxx 28: MOV TEMP[0].y, TEMP[2].xxxx 29: MOV TEMP[2].xy, TEMP[0].xyyy 30: TEX TEMP[2], TEMP[2], SAMP[0], 2D 31: MOV TEMP[1].xyz, TEMP[2] 32: ELSE :0 33: MOV TEMP[2].xy, TEMP[0].xyyy 34: TEX TEMP[2], TEMP[2], SAMP[1], 2D 35: MOV TEMP[1], TEMP[2] 36: ENDIF 37: FSLT TEMP[2].x, IMM[1].xxxx, IN[3].xxxx 38: FSLT TEMP[3].x, IN[3].xxxx, IMM[3].xxxx 39: AND TEMP[2].x, TEMP[2].xxxx, TEMP[3].xxxx 40: NOT TEMP[2].x, TEMP[2].xxxx 41: UIF TEMP[2].xxxx :0 42: FSLT TEMP[2].x, IN[0].xxxx, IMM[3].yyyy 43: FSLT TEMP[3].x, IN[0].yyyy, IMM[3].yyyy 44: AND TEMP[2].x, TEMP[2].xxxx, TEMP[3].xxxx 45: FSLT TEMP[3].x, IN[0].zzzz, IMM[3].yyyy 46: AND TEMP[2].x, TEMP[2].xxxx, TEMP[3].xxxx 47: UIF TEMP[2].xxxx :0 48: FSLT TEMP[2].x, IMM[3].zzzz, TEMP[1].yyyy 49: UIF TEMP[2].xxxx :0 50: MUL TEMP[1].xyz, TEMP[1].yyyy, IN[0].xyzz 51: ELSE :0 52: MUL TEMP[1].xyz, TEMP[1].xyzz, IN[0].xyzz 53: ENDIF 54: ENDIF 55: ELSE :0 56: MUL TEMP[2].x, TEMP[0].xxxx, IMM[1].zzzz 57: FLR TEMP[2].x, TEMP[2].xxxx 58: MUL TEMP[2].x, IMM[1].yyyy, TEMP[2].xxxx 59: ADD TEMP[2].x, TEMP[0].xxxx, -TEMP[2].xxxx 60: ADD TEMP[2].x, IMM[3].wwww, TEMP[2].xxxx 61: MUL TEMP[3].x, TEMP[0].yyyy, IMM[1].zzzz 62: FLR TEMP[3].x, TEMP[3].xxxx 63: MUL TEMP[3].x, IMM[1].yyyy, TEMP[3].xxxx 64: ADD TEMP[0].x, TEMP[0].yyyy, -TEMP[3].xxxx 65: MOV TEMP[2].y, TEMP[0].xxxx 66: MOV TEMP[0].xy, TEMP[2].xyyy 67: TEX TEMP[0].w, TEMP[0], SAMP[2], 2D 68: FSNE TEMP[0].x, TEMP[0].wwww, IMM[0].zzzz 69: UIF TEMP[0].xxxx :0 70: MUL TEMP[1].xyz, TEMP[1].yyyy, IN[0].xyzz 71: ENDIF 72: ENDIF 73: ADD TEMP[0].x, IMM[0].yyyy, -IN[2].yyyy 74: MUL TEMP[0].x, TEMP[0].xxxx, IMM[1].zzzz 75: POW TEMP[0].x, IMM[4].xxxx, TEMP[0].xxxx 76: MUL TEMP[0].x, TEMP[0].xxxx, IN[2].yyyy 77: MUL TEMP[2].x, IN[3].yyyy, IN[2].yyyy 78: MAD TEMP[0].x, TEMP[0].xxxx, IMM[4].yyyy, -TEMP[2].xxxx 79: MUL TEMP[0].xyz, TEMP[0].xxxx, IMM[5].xyzz 80: MOV TEMP[2].w, IMM[0].zzzz 81: MOV TEMP[2].x, TEMP[0].xxxx 82: MOV TEMP[2].y, TEMP[0].yyyy 83: MOV TEMP[2].z, TEMP[0].zzzz 84: MOV TEMP[0].xyz, TEMP[1].xyzx 85: MUL TEMP[1].x, IN[2].zzzz, IN[2].zzzz 86: MOV TEMP[0].w, TEMP[1].xxxx 87: MOV TEMP[1].w, IN[2].xxxx 88: MAD TEMP[3].x, IN[3].zzzz, IMM[3].zzzz, IMM[3].zzzz 89: MAD TEMP[4].x, IN[3].wwww, IMM[3].zzzz, IMM[3].zzzz 90: MOV TEMP[3].y, TEMP[4].xxxx 91: MAD TEMP[4].x, IN[4].xxxx, IMM[3].zzzz, IMM[3].zzzz 92: MOV TEMP[3].z, TEMP[4].xxxx 93: MOV TEMP[1].xyz, TEMP[3].xyzx 94: MOV OUT[0], TEMP[0] 95: MOV OUT[1], TEMP[1] 96: MOV OUT[2], TEMP[2] 97: END