-------------------------------------------------------------- FRAG PROPERTY FS_COLOR0_WRITES_ALL_CBUFS 1 DCL IN[0], GENERIC[0], CONSTANT DCL OUT[0], COLOR 0: MOV OUT[0], IN[0] 1: END ===== SHADER #11 ==================================== PS/REDWOOD/EVERGREEN ===== ===== 20 dw ===== 2 gprs ===== 0 stack ========================================= 0000 00000002 a01c0000 ALU 8 @4 0004 000001c0 00007010 1 x: INTERP_LOAD_P0 R0.x, Param0.x 0006 000005c0 20007010 y: INTERP_LOAD_P0 R0.y, Param0.y 0008 000009c0 40007010 z: INTERP_LOAD_P0 R0.z, Param0.z 0010 80000dc0 60007010 w: INTERP_LOAD_P0 R0.w, Param0.w 0012 000000fe 00200c90 2 x: MOV R1.x, PV.x 0014 000004fe 20200c90 y: MOV R1.y, PV.y 0016 000008fe 40200c90 z: MOV R1.z, PV.z 0018 80000cfe 60200c90 w: MOV R1.w, PV.w 0002 c0008000 95200688 EXPORT_DONE PIXEL 0 R1.xyzw EOP ===== SHADER_END =============================================================== ===== SHADER #11 OPT ================================ PS/REDWOOD/EVERGREEN ===== ===== 12 dw ===== 1 gprs ===== 0 stack ========================================= 0000 00000002 a00c0000 ALU 4 @4 0004 000001c0 00007010 1 x: INTERP_LOAD_P0 R0.x, Param0.x 0006 000005c0 20007010 y: INTERP_LOAD_P0 R0.y, Param0.y 0008 000009c0 40007010 z: INTERP_LOAD_P0 R0.z, Param0.z 0010 80000dc0 60007010 w: INTERP_LOAD_P0 R0.w, Param0.w 0002 c0000000 95200688 EXPORT_DONE PIXEL 0 R0.xyzw EOP ===== SHADER_END =============================================================== -------------------------------------------------------------- VERT PROPERTY NEXT_SHADER FRAG DCL IN[0] DCL IN[1] DCL OUT[0], POSITION DCL OUT[1], GENERIC[0] 0: MOV OUT[0], IN[0] 1: MOV OUT[1], IN[1] 2: END ===== SHADER #12 ==================================== VS/REDWOOD/EVERGREEN ===== ===== 24 dw ===== 5 gprs ===== 1 stack ========================================= 0000 00000000 84c00000 CALL_FS @0 0002 00000004 a01c0000 ALU 8 @8 0008 00000001 00600c90 1 x: MOV R3.x, R1.x 0010 00000401 20600c90 y: MOV R3.y, R1.y 0012 00000801 40600c90 z: MOV R3.z, R1.z 0014 80000c01 60600c90 w: MOV R3.w, R1.w 0016 00000002 00800c90 2 x: MOV R4.x, R2.x 0018 00000402 20800c90 y: MOV R4.y, R2.y 0020 00000802 40800c90 z: MOV R4.z, R2.z 0022 80000c02 60800c90 w: MOV R4.w, R2.w 0004 c001a03c 95000688 EXPORT_DONE POS 60 R3.xyzw 0006 c0024000 95200688 EXPORT_DONE PARAM 0 R4.xyzw EOP ===== SHADER_END =============================================================== ===== SHADER #12 OPT ================================ VS/REDWOOD/EVERGREEN ===== ===== 6 dw ===== 3 gprs ===== 1 stack ========================================== 0000 00000000 84c00000 CALL_FS @0 0002 c0014000 95000688 EXPORT_DONE PARAM 0 R2.xyzw 0004 c000a03c 95200688 EXPORT_DONE POS 60 R1.xyzw EOP ===== SHADER_END =============================================================== -------------------------------------------------------------- FRAG PROPERTY FS_COLOR0_WRITES_ALL_CBUFS 1 DCL OUT[0], COLOR IMM[0] FLT32 { 0.0000, 1.0000, 0.0000, 0.0000} 0: MOV OUT[0], IMM[0].xyxx 1: END ===== SHADER #14 ==================================== PS/REDWOOD/EVERGREEN ===== ===== 12 dw ===== 1 gprs ===== 0 stack ========================================= 0000 00000002 a00c0000 ALU 4 @4 0004 000000f8 00000c90 1 x: MOV R0.x, 0 0006 000004f9 20000c90 y: MOV R0.y, 1.0 0008 000000f8 40000c90 z: MOV R0.z, 0 0010 800000f8 60000c90 w: MOV R0.w, 0 0002 c0000000 95200688 EXPORT_DONE PIXEL 0 R0.xyzw EOP ===== SHADER_END =============================================================== ===== SHADER #14 OPT ================================ PS/REDWOOD/EVERGREEN ===== ===== 2 dw ===== 0 gprs ===== 0 stack ========================================== 0000 c0000000 9520092c EXPORT_DONE PIXEL 0 R0.0100 EOP ===== SHADER_END =============================================================== -------------------------------------------------------------- GEOM PROPERTY GS_INPUT_PRIMITIVE TRIANGLES PROPERTY GS_OUTPUT_PRIMITIVE TRIANGLE_STRIP PROPERTY GS_MAX_OUTPUT_VERTICES 3 PROPERTY GS_INVOCATIONS 1 DCL IN[][0], PRIM_ID DCL OUT[0], POSITION DCL TEMP[0], LOCAL IMM[0] INT32 {0, 0, 0, 0} IMM[1] FLT32 { -1.0000, 0.0000, 1.0000, 0.0000} 0: USEQ TEMP[0].x, IN[0].xxxx, IMM[0].xxxx 1: UIF TEMP[0].xxxx 2: MOV OUT[0], IMM[1].xxyz 3: EMIT IMM[0].xxxx 4: MOV OUT[0], IMM[1].zxyz 5: EMIT IMM[0].xxxx 6: MOV TEMP[0], IMM[1].xzyz 7: MOV OUT[0], IMM[1].xzyz 8: EMIT IMM[0].xxxx 9: ELSE 10: MOV TEMP[0], IMM[1].xzyz 11: MOV OUT[0], IMM[1].xzyz 12: EMIT IMM[0].xxxx 13: MOV TEMP[0], IMM[1].zxyz 14: MOV OUT[0], IMM[1].zxyz 15: EMIT IMM[0].xxxx 16: MOV TEMP[0], IMM[1].zzyz 17: MOV OUT[0], IMM[1].zzyz 18: EMIT IMM[0].xxxx 19: ENDIF 20: MOV OUT[0], TEMP[0] 21: END ===== SHADER #15 ==================================== GS/REDWOOD/EVERGREEN ===== ===== 162 dw ===== 15 gprs ===== 1 stack ======================================= 0000 00000019 a4140000 ALU_PUSH_BEFORE 6 @50 0050 000000f8 01400c90 1 x: MOV R10.x, 0 0052 800000f8 01600c90 t: MOV R11.x, 0 0054 000000f8 01800c90 2 x: MOV R12.x, 0 0056 800000f8 01a00c90 t: MOV R13.x, 0 0058 801f0800 00c01d10 3 x: SETE_INT R6.x, R0.z, 0 0060 801f00fe 01c0229c 4 MP x: PRED_SETNE_INT R14.x, PV.x, 0 0002 0000000c 82800000 JUMP @24 0004 0000001f a00c0000 ALU 4 @62 0062 000010f9 00a00c90 5 x: MOV R5.x, -1.0 0064 000010f9 20a00c90 y: MOV R5.y, -1.0 0066 000004f8 40a00c90 z: MOV R5.z, 0 0068 800008f9 60a00c90 w: MOV R5.w, 1.0 0006 c502a000 9480ffff MEM_RING WRITE_IND 0 R5.xyzw, @R10.x ES:3 0008 00000000 85400000 EMIT_VERTEX @0 0010 00000023 a0100000 ALU 5 @70 0070 001f400a 01401a10 6 x: ADD_INT R10.x, R10.x, 1 0072 000010f9 20a00c90 y: MOV R5.y, -1.0 0074 000004f8 40a00c90 z: MOV R5.z, 0 0076 000008f9 60a00c90 w: MOV R5.w, 1.0 0078 800008f9 00a00c90 t: MOV R5.x, 1.0 0012 c502a000 9480ffff MEM_RING WRITE_IND 0 R5.xyzw, @R10.x ES:3 0014 00000000 85400000 EMIT_VERTEX @0 0016 00000028 a0200000 ALU 9 @80 0080 001f400a 01401a10 7 x: ADD_INT R10.x, R10.x, 1 0082 000008f9 20c00c90 y: MOV R6.y, 1.0 0084 000004f8 40c00c90 z: MOV R6.z, 0 0086 000008f9 60c00c90 w: MOV R6.w, 1.0 0088 800010f9 00c00c90 t: MOV R6.x, -1.0 0090 000010f9 00a00c90 8 x: MOV R5.x, -1.0 0092 000008f9 20a00c90 y: MOV R5.y, 1.0 0094 000004f8 40a00c90 z: MOV R5.z, 0 0096 800008f9 60a00c90 w: MOV R5.w, 1.0 0018 c502a000 9480ffff MEM_RING WRITE_IND 0 R5.xyzw, @R10.x ES:3 0020 00000000 85400000 EMIT_VERTEX @0 0022 00000031 a0000000 ALU 1 @98 0098 801f400a 01401a10 9 x: ADD_INT R10.x, R10.x, 1 0024 00000017 83400001 ELSE @46 POP:1 0026 00000032 a01c0000 ALU 8 @100 0100 000010f9 00c00c90 10 x: MOV R6.x, -1.0 0102 000008f9 20c00c90 y: MOV R6.y, 1.0 0104 000004f8 40c00c90 z: MOV R6.z, 0 0106 800008f9 60c00c90 w: MOV R6.w, 1.0 0108 000010f9 00a00c90 11 x: MOV R5.x, -1.0 0110 000008f9 20a00c90 y: MOV R5.y, 1.0 0112 000004f8 40a00c90 z: MOV R5.z, 0 0114 800008f9 60a00c90 w: MOV R5.w, 1.0 0028 c502a000 9480ffff MEM_RING WRITE_IND 0 R5.xyzw, @R10.x ES:3 0030 00000000 85400000 EMIT_VERTEX @0 0032 0000003a a0200000 ALU 9 @116 0116 001f400a 01401a10 12 x: ADD_INT R10.x, R10.x, 1 0118 000010f9 20c00c90 y: MOV R6.y, -1.0 0120 000004f8 40c00c90 z: MOV R6.z, 0 0122 000008f9 60c00c90 w: MOV R6.w, 1.0 0124 800008f9 00c00c90 t: MOV R6.x, 1.0 0126 000008f9 00a00c90 13 x: MOV R5.x, 1.0 0128 000010f9 20a00c90 y: MOV R5.y, -1.0 0130 000004f8 40a00c90 z: MOV R5.z, 0 0132 800008f9 60a00c90 w: MOV R5.w, 1.0 0034 c502a000 9480ffff MEM_RING WRITE_IND 0 R5.xyzw, @R10.x ES:3 0036 00000000 85400000 EMIT_VERTEX @0 0038 00000043 a0200000 ALU 9 @134 0134 001f400a 01401a10 14 x: ADD_INT R10.x, R10.x, 1 0136 000008f9 20c00c90 y: MOV R6.y, 1.0 0138 000004f8 40c00c90 z: MOV R6.z, 0 0140 000008f9 60c00c90 w: MOV R6.w, 1.0 0142 800008f9 00c00c90 t: MOV R6.x, 1.0 0144 000008f9 00a00c90 15 x: MOV R5.x, 1.0 0146 000008f9 20a00c90 y: MOV R5.y, 1.0 0148 000004f8 40a00c90 z: MOV R5.z, 0 0150 800008f9 60a00c90 w: MOV R5.w, 1.0 0040 c502a000 9480ffff MEM_RING WRITE_IND 0 R5.xyzw, @R10.x ES:3 0042 00000000 85400000 EMIT_VERTEX @0 0044 0000004c a8000000 ALU_POP_AFTER 1 @152 0152 801f400a 01401a10 16 x: ADD_INT R10.x, R10.x, 1 0046 0000004d a00c0000 ALU 4 @154 0154 00000006 00a00c90 17 x: MOV R5.x, R6.x 0156 00000406 20a00c90 y: MOV R5.y, R6.y 0158 00000806 40a00c90 z: MOV R5.z, R6.z 0160 80000c06 60a00c90 w: MOV R5.w, R6.w 0048 00000000 80200000 CF_NATIVE @0 EOP ===== SHADER_END =============================================================== ===== SHADER #15 OPT ================================ GS/REDWOOD/EVERGREEN ===== ===== 120 dw ===== 2 gprs ===== 1 stack ======================================== 0000 00000017 a4000000 ALU_PUSH_BEFORE 1 @46 0046 801f0800 00002104 1 M x: PRED_SETE_INT __.x, R0.z, 0 0002 0000000b 82800000 JUMP @22 0004 00000018 a0140000 ALU 6 @48 0048 000000fd 00000c90 2 x: MOV R0.x, [0xbf800000 -1].x 0050 000000fd 20000c90 y: MOV R0.y, [0xbf800000 -1].x 0052 000000f8 40000c90 z: MOV R0.z, 0 0054 000000f9 60000c90 w: MOV R0.w, 1.0 0056 800000f8 00200c90 t: MOV R1.x, 0 0058 bf800000 0006 c0802000 9480ffff MEM_RING WRITE_IND 0 R0.xyzw, @R1.x ES:3 0008 00000000 85400000 EMIT_VERTEX @0 0010 0000001e a0140000 ALU 6 @60 0060 000000f9 00000c90 3 x: MOV R0.x, 1.0 0062 000000fd 20000c90 y: MOV R0.y, [0xbf800000 -1].x 0064 000000f8 40000c90 z: MOV R0.z, 0 0066 000000f9 60000c90 w: MOV R0.w, 1.0 0068 800000fa 00200c90 t: MOV R1.x, 1 0070 bf800000 0012 c0802000 9480ffff MEM_RING WRITE_IND 0 R0.xyzw, @R1.x ES:3 0014 00000000 85400000 EMIT_VERTEX @0 0016 00000024 a0140000 ALU 6 @72 0072 000000fd 00000c90 4 x: MOV R0.x, [0xbf800000 -1].x 0074 000000f9 20000c90 y: MOV R0.y, 1.0 0076 000000f8 40000c90 z: MOV R0.z, 0 0078 000000f9 60000c90 w: MOV R0.w, 1.0 0080 800004fd 00200c90 t: MOV R1.x, [0x00000002 2.8026e-45].y 0082 bf800000 0083 00000002 0018 c0802000 9480ffff MEM_RING WRITE_IND 0 R0.xyzw, @R1.x ES:3 0020 00000000 85400000 EMIT_VERTEX @0 0022 00000016 83400001 ELSE @44 POP:1 0024 0000002a a0140000 ALU 6 @84 0084 000000fd 00000c90 5 x: MOV R0.x, [0xbf800000 -1].x 0086 000000f9 20000c90 y: MOV R0.y, 1.0 0088 000000f8 40000c90 z: MOV R0.z, 0 0090 000000f9 60000c90 w: MOV R0.w, 1.0 0092 800000f8 00200c90 t: MOV R1.x, 0 0094 bf800000 0026 c0802000 9480ffff MEM_RING WRITE_IND 0 R0.xyzw, @R1.x ES:3 0028 00000000 85400000 EMIT_VERTEX @0 0030 00000030 a0140000 ALU 6 @96 0096 000000f9 00000c90 6 x: MOV R0.x, 1.0 0098 000000fd 20000c90 y: MOV R0.y, [0xbf800000 -1].x 0100 000000f8 40000c90 z: MOV R0.z, 0 0102 000000f9 60000c90 w: MOV R0.w, 1.0 0104 800000fa 00200c90 t: MOV R1.x, 1 0106 bf800000 0032 c0802000 9480ffff MEM_RING WRITE_IND 0 R0.xyzw, @R1.x ES:3 0034 00000000 85400000 EMIT_VERTEX @0 0036 00000036 a0140000 ALU 6 @108 0108 000000f9 00000c90 7 x: MOV R0.x, 1.0 0110 000000f9 20000c90 y: MOV R0.y, 1.0 0112 000000f8 40000c90 z: MOV R0.z, 0 0114 000000f9 60000c90 w: MOV R0.w, 1.0 0116 800000fd 00200c90 t: MOV R1.x, [0x00000002 2.8026e-45].x 0118 00000002 0038 c0802000 9480ffff MEM_RING WRITE_IND 0 R0.xyzw, @R1.x ES:3 0040 00000000 85400000 EMIT_VERTEX @0 0042 00000016 83800001 POP @44 POP:1 0044 00000000 80200000 CF_NATIVE @0 EOP ===== SHADER_END =============================================================== ===== SHADER #16 ==================================== VS/REDWOOD/EVERGREEN ===== ===== 30 dw ===== 2 gprs ===== 1 stack ========================================= 0000 00000008 a0080000 ALU 3 @16 0016 001fa000 00001810 1 x: AND_INT R0.x, R0.x, [0x3fffffff 2].x 0018 809fa000 20000b10 y: LSHR_INT R0.y, R0.x, [0x0000001e 4.2039e-44].y 0020 3fffffff 0021 0000001e 0002 0000000c 80800000 VTX 1 @24 0024 40000f40 002d1001 00080000 VFETCH R1.xyzw, R0.x, RID:15 MFC:16 UCF:1 FMT(DTA:0 NUM:0 COMP:0 MODE:0) 0004 0000000e a4000000 ALU_PUSH_BEFORE 1 @28 0028 801f0400 0000210c 2 MP x: PRED_SETE_INT __.x, R0.y, 0 0006 00000007 82800001 JUMP @14 POP:1 0008 c000a03c 95000688 EXPORT_DONE POS 60 R1.xyzw 0010 c0004000 95000fff EXPORT_DONE PARAM 0 R0.____ 0012 00000007 83800001 POP @14 POP:1 0014 00000000 80200000 CF_NATIVE @0 EOP ===== SHADER_END =============================================================== -------------------------------------------------------------- VERT PROPERTY NEXT_SHADER TESS_EVAL DCL IN[0] DCL OUT[0], POSITION 0: MOV OUT[0], IN[0] 1: END ===== SHADER #19 ==================================== LS/REDWOOD/EVERGREEN ===== ===== 34 dw ===== 8 gprs ===== 1 stack ========================================= 0000 00000000 84c00000 CALL_FS @0 0002 00000005 a0100000 ALU 5 @10 0010 00000001 00400c90 1 x: MOV R2.x, R1.x 0012 00000401 20400c90 y: MOV R2.y, R1.y 0014 00000801 40400c90 z: MOV R2.z, R1.z 0016 00000c01 60400c90 w: MOV R2.w, R1.w 0018 800000f8 00c00c90 t: MOV R6.x, 0 0004 0000000a 80800000 VTX 1 @20 0020 40060e40 e88d1006 00080000 VFETCH R6.xyzw, R6.x, RID:14 MFC:16 UCF:0 FMT(DTA:34 NUM:2 COMP:1 MODE:1) 0006 0000000c a0100000 ALU 5 @24 0024 80800406 00e05a90 2 x: MUL_UINT24 R7.x, R6.y, R0.y 0026 801fa0fe 40e01a10 3 z: ADD_INT R7.z, PV.x, [0x00000008 1.12104e-44].x 0028 00000008 0030 80004007 09c22402 4 x: LDS_WRITE_REL R0.x, R7.x, R2.x, R2.y IDX_OFFSET:1 0032 81004807 09c22c02 5 x: LDS_WRITE_REL R0.x, R7.z, R2.z, R2.w IDX_OFFSET:1 0008 00000000 80200000 CF_NATIVE @0 EOP ===== SHADER_END ===============================================================