1 #if 0
2 //
3 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
4 //
5 //
6 //   fxc /nologo /E GS_BufferToTexture /T gs_4_0 /Fh
7 //    compiled/buffertotexture11_gs.h BufferToTexture11.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 // TEXCOORD                 0   x           1     NONE   uint   x
17 // LAYER                    0    y          1     NONE   uint    y
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 // TEXCOORD                 0   x           1     NONE   uint   x
26 // SV_RenderTargetArrayIndex     0    y          1  RTINDEX   uint    y
27 //
28 gs_4_0
29 dcl_input_siv v[1][0].xyzw, position
30 dcl_input v[1][1].x
31 dcl_input v[1][1].y
32 dcl_inputprimitive point
33 dcl_outputtopology pointlist
34 dcl_output_siv o0.xyzw, position
35 dcl_output o1.x
36 dcl_output_siv o1.y, rendertarget_array_index
37 dcl_maxout 1
38 mov o0.xyzw, v[0][0].xyzw
39 mov o1.x, v[0][1].x
40 mov o1.y, v[0][1].y
41 emit
42 ret
43 // Approximately 5 instruction slots used
44 #endif
45 
46 const BYTE g_GS_BufferToTexture[] = {
47     68,  88,  66,  67,  253, 178, 132, 190, 125, 118, 185, 34,  196, 114, 214, 207, 219, 137, 140,
48     138, 1,   0,   0,   0,   212, 2,   0,   0,   5,   0,   0,   0,   52,  0,   0,   0,   140, 0,
49     0,   0,   0,   1,   0,   0,   136, 1,   0,   0,   88,  2,   0,   0,   82,  68,  69,  70,  80,
50     0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   28,  0,   0,   0,
51     0,   4,   83,  71,  0,   1,   0,   0,   28,  0,   0,   0,   77,  105, 99,  114, 111, 115, 111,
52     102, 116, 32,  40,  82,  41,  32,  72,  76,  83,  76,  32,  83,  104, 97,  100, 101, 114, 32,
53     67,  111, 109, 112, 105, 108, 101, 114, 32,  57,  46,  50,  57,  46,  57,  53,  50,  46,  51,
54     49,  49,  49,  0,   171, 171, 171, 73,  83,  71,  78,  108, 0,   0,   0,   3,   0,   0,   0,
55     8,   0,   0,   0,   80,  0,   0,   0,   0,   0,   0,   0,   1,   0,   0,   0,   3,   0,   0,
56     0,   0,   0,   0,   0,   15,  15,  0,   0,   92,  0,   0,   0,   0,   0,   0,   0,   0,   0,
57     0,   0,   1,   0,   0,   0,   1,   0,   0,   0,   1,   1,   0,   0,   101, 0,   0,   0,   0,
58     0,   0,   0,   0,   0,   0,   0,   1,   0,   0,   0,   1,   0,   0,   0,   2,   2,   0,   0,
59     83,  86,  95,  80,  111, 115, 105, 116, 105, 111, 110, 0,   84,  69,  88,  67,  79,  79,  82,
60     68,  0,   76,  65,  89,  69,  82,  0,   171, 79,  83,  71,  78,  128, 0,   0,   0,   3,   0,
61     0,   0,   8,   0,   0,   0,   80,  0,   0,   0,   0,   0,   0,   0,   1,   0,   0,   0,   3,
62     0,   0,   0,   0,   0,   0,   0,   15,  0,   0,   0,   92,  0,   0,   0,   0,   0,   0,   0,
63     0,   0,   0,   0,   1,   0,   0,   0,   1,   0,   0,   0,   1,   14,  0,   0,   101, 0,   0,
64     0,   0,   0,   0,   0,   4,   0,   0,   0,   1,   0,   0,   0,   1,   0,   0,   0,   2,   13,
65     0,   0,   83,  86,  95,  80,  111, 115, 105, 116, 105, 111, 110, 0,   84,  69,  88,  67,  79,
66     79,  82,  68,  0,   83,  86,  95,  82,  101, 110, 100, 101, 114, 84,  97,  114, 103, 101, 116,
67     65,  114, 114, 97,  121, 73,  110, 100, 101, 120, 0,   171, 83,  72,  68,  82,  200, 0,   0,
68     0,   64,  0,   2,   0,   50,  0,   0,   0,   97,  0,   0,   5,   242, 16,  32,  0,   1,   0,
69     0,   0,   0,   0,   0,   0,   1,   0,   0,   0,   95,  0,   0,   4,   18,  16,  32,  0,   1,
70     0,   0,   0,   1,   0,   0,   0,   95,  0,   0,   4,   34,  16,  32,  0,   1,   0,   0,   0,
71     1,   0,   0,   0,   93,  8,   0,   1,   92,  8,   0,   1,   103, 0,   0,   4,   242, 32,  16,
72     0,   0,   0,   0,   0,   1,   0,   0,   0,   101, 0,   0,   3,   18,  32,  16,  0,   1,   0,
73     0,   0,   103, 0,   0,   4,   34,  32,  16,  0,   1,   0,   0,   0,   4,   0,   0,   0,   94,
74     0,   0,   2,   1,   0,   0,   0,   54,  0,   0,   6,   242, 32,  16,  0,   0,   0,   0,   0,
75     70,  30,  32,  0,   0,   0,   0,   0,   0,   0,   0,   0,   54,  0,   0,   6,   18,  32,  16,
76     0,   1,   0,   0,   0,   10,  16,  32,  0,   0,   0,   0,   0,   1,   0,   0,   0,   54,  0,
77     0,   6,   34,  32,  16,  0,   1,   0,   0,   0,   26,  16,  32,  0,   0,   0,   0,   0,   1,
78     0,   0,   0,   19,  0,   0,   1,   62,  0,   0,   1,   83,  84,  65,  84,  116, 0,   0,   0,
79     5,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   6,   0,   0,   0,   0,   0,   0,
80     0,   0,   0,   0,   0,   0,   0,   0,   0,   1,   0,   0,   0,   0,   0,   0,   0,   0,   0,
81     0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   1,   0,   0,   0,   0,
82     0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
83     1,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   1,   0,   0,
84     0,   1,   0,   0,   0,   1,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
85     0,   0};
86