1 #if 0 2 // 3 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111 4 // 5 // 6 // fxc /nologo /E GS_Passthrough3D /T gs_4_0 /Fh compiled\passthrough3d11gs.h 7 // Passthrough3D11.hlsl 8 // 9 // 10 // 11 // Input signature: 12 // 13 // Name Index Mask Register SysValue Format Used 14 // -------------------- ----- ------ -------- -------- ------ ------ 15 // SV_POSITION 0 xyzw 0 POS float xyzw 16 // LAYER 0 x 1 NONE uint x 17 // TEXCOORD 0 xyz 2 NONE float xyz 18 // 19 // 20 // Output signature: 21 // 22 // Name Index Mask Register SysValue Format Used 23 // -------------------- ----- ------ -------- -------- ------ ------ 24 // SV_POSITION 0 xyzw 0 POS float xyzw 25 // SV_RENDERTARGETARRAYINDEX 0 x 1 RTINDEX uint x 26 // TEXCOORD 0 xyz 2 NONE float xyz 27 // 28 gs_4_0 29 dcl_input_siv v[3][0].xyzw, position 30 dcl_input v[3][1].x 31 dcl_input v[3][2].xyz 32 dcl_temps 1 33 dcl_inputprimitive triangle 34 dcl_outputtopology trianglestrip 35 dcl_output_siv o0.xyzw, position 36 dcl_output_siv o1.x, rendertarget_array_index 37 dcl_output o2.xyz 38 dcl_maxout 3 39 mov r0.x, l(0) 40 loop 41 ige r0.y, r0.x, l(3) 42 breakc_nz r0.y 43 mov o0.xyzw, v[r0.x + 0][0].xyzw 44 mov o1.x, v[r0.x + 0][1].x 45 mov o2.xyz, v[r0.x + 0][2].xyzx 46 emit 47 iadd r0.x, r0.x, l(1) 48 endloop 49 ret 50 // Approximately 11 instruction slots used 51 #endif 52 53 const BYTE g_GS_Passthrough3D[] = { 54 68, 88, 66, 67, 180, 53, 93, 23, 14, 237, 172, 99, 214, 91, 125, 123, 81, 232, 165, 207, 55 1, 0, 0, 0, 72, 3, 0, 0, 5, 0, 0, 0, 52, 0, 0, 0, 140, 0, 0, 0, 56 0, 1, 0, 0, 136, 1, 0, 0, 204, 2, 0, 0, 82, 68, 69, 70, 80, 0, 0, 0, 57 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 0, 0, 4, 83, 71, 58 0, 1, 0, 0, 28, 0, 0, 0, 77, 105, 99, 114, 111, 115, 111, 102, 116, 32, 40, 82, 59 41, 32, 72, 76, 83, 76, 32, 83, 104, 97, 100, 101, 114, 32, 67, 111, 109, 112, 105, 108, 60 101, 114, 32, 57, 46, 50, 57, 46, 57, 53, 50, 46, 51, 49, 49, 49, 0, 171, 171, 171, 61 73, 83, 71, 78, 108, 0, 0, 0, 3, 0, 0, 0, 8, 0, 0, 0, 80, 0, 0, 0, 62 0, 0, 0, 0, 1, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 15, 15, 0, 0, 63 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 64 1, 1, 0, 0, 98, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 65 2, 0, 0, 0, 7, 7, 0, 0, 83, 86, 95, 80, 79, 83, 73, 84, 73, 79, 78, 0, 66 76, 65, 89, 69, 82, 0, 84, 69, 88, 67, 79, 79, 82, 68, 0, 171, 79, 83, 71, 78, 67 128, 0, 0, 0, 3, 0, 0, 0, 8, 0, 0, 0, 80, 0, 0, 0, 0, 0, 0, 0, 68 1, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 92, 0, 0, 0, 69 0, 0, 0, 0, 4, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 14, 0, 0, 70 118, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 2, 0, 0, 0, 71 7, 8, 0, 0, 83, 86, 95, 80, 79, 83, 73, 84, 73, 79, 78, 0, 83, 86, 95, 82, 72 69, 78, 68, 69, 82, 84, 65, 82, 71, 69, 84, 65, 82, 82, 65, 89, 73, 78, 68, 69, 73 88, 0, 84, 69, 88, 67, 79, 79, 82, 68, 0, 171, 83, 72, 68, 82, 60, 1, 0, 0, 74 64, 0, 2, 0, 79, 0, 0, 0, 97, 0, 0, 5, 242, 16, 32, 0, 3, 0, 0, 0, 75 0, 0, 0, 0, 1, 0, 0, 0, 95, 0, 0, 4, 18, 16, 32, 0, 3, 0, 0, 0, 76 1, 0, 0, 0, 95, 0, 0, 4, 114, 16, 32, 0, 3, 0, 0, 0, 2, 0, 0, 0, 77 104, 0, 0, 2, 1, 0, 0, 0, 93, 24, 0, 1, 92, 40, 0, 1, 103, 0, 0, 4, 78 242, 32, 16, 0, 0, 0, 0, 0, 1, 0, 0, 0, 103, 0, 0, 4, 18, 32, 16, 0, 79 1, 0, 0, 0, 4, 0, 0, 0, 101, 0, 0, 3, 114, 32, 16, 0, 2, 0, 0, 0, 80 94, 0, 0, 2, 3, 0, 0, 0, 54, 0, 0, 5, 18, 0, 16, 0, 0, 0, 0, 0, 81 1, 64, 0, 0, 0, 0, 0, 0, 48, 0, 0, 1, 33, 0, 0, 7, 34, 0, 16, 0, 82 0, 0, 0, 0, 10, 0, 16, 0, 0, 0, 0, 0, 1, 64, 0, 0, 3, 0, 0, 0, 83 3, 0, 4, 3, 26, 0, 16, 0, 0, 0, 0, 0, 54, 0, 0, 7, 242, 32, 16, 0, 84 0, 0, 0, 0, 70, 30, 160, 0, 10, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 85 54, 0, 0, 7, 18, 32, 16, 0, 1, 0, 0, 0, 10, 16, 160, 0, 10, 0, 16, 0, 86 0, 0, 0, 0, 1, 0, 0, 0, 54, 0, 0, 7, 114, 32, 16, 0, 2, 0, 0, 0, 87 70, 18, 160, 0, 10, 0, 16, 0, 0, 0, 0, 0, 2, 0, 0, 0, 19, 0, 0, 1, 88 30, 0, 0, 7, 18, 0, 16, 0, 0, 0, 0, 0, 10, 0, 16, 0, 0, 0, 0, 0, 89 1, 64, 0, 0, 1, 0, 0, 0, 22, 0, 0, 1, 62, 0, 0, 1, 83, 84, 65, 84, 90 116, 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