• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #if 0
2 //
3 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
4 //
5 //
6 //   fxc /Fhd3d11spikysphere.hlsl.hs.h /Ehs /Ths_5_0 d3d11spikysphere.hlsl
7 //
8 //
9 // Buffer Definitions:
10 //
11 // cbuffer cb_frame
12 // {
13 //
14 //   float4x4 model;                    // Offset:    0 Size:    64 [unused]
15 //   float4x4 view_proj;                // Offset:   64 Size:    64 [unused]
16 //   float disp_scale;                  // Offset:  128 Size:     4 [unused]
17 //   float disp_freq;                   // Offset:  132 Size:     4 [unused]
18 //   float tess_factor;                 // Offset:  136 Size:     4
19 //
20 // }
21 //
22 //
23 // Resource Bindings:
24 //
25 // Name                                 Type  Format         Dim Slot Elements
26 // ------------------------------ ---------- ------- ----------- ---- --------
27 // cb_frame                          cbuffer      NA          NA    0        1
28 //
29 //
30 //
31 // Patch Constant signature:
32 //
33 // Name                 Index   Mask Register SysValue Format   Used
34 // -------------------- ----- ------ -------- -------- ------ ------
35 // SV_TessFactor            0   x           0  TRIEDGE  float   x
36 // SV_TessFactor            1   x           1  TRIEDGE  float   x
37 // SV_TessFactor            2   x           2  TRIEDGE  float   x
38 // SV_InsideTessFactor      0   x           3   TRIINT  float   x
39 //
40 //
41 // Input signature:
42 //
43 // Name                 Index   Mask Register SysValue Format   Used
44 // -------------------- ----- ------ -------- -------- ------ ------
45 // POSITION                 0   xyz         0     NONE  float   xyz
46 //
47 //
48 // Output signature:
49 //
50 // Name                 Index   Mask Register SysValue Format   Used
51 // -------------------- ----- ------ -------- -------- ------ ------
52 // POSITION                 0   xyz         0     NONE  float   xyz
53 //
54 // Tessellation Domain   # of control points
55 // -------------------- --------------------
56 // Triangle                                3
57 //
58 // Tessellation Output Primitive  Partitioning Type
59 // ------------------------------ ------------------
60 // Clockwise Triangles            Even Fractional
61 //
62 hs_5_0
63 hs_decls
64 dcl_input_control_point_count 3
65 dcl_output_control_point_count 3
66 dcl_tessellator_domain domain_tri
67 dcl_tessellator_partitioning partitioning_fractional_even
68 dcl_tessellator_output_primitive output_triangle_cw
69 dcl_globalFlags refactoringAllowed
70 dcl_constantbuffer cb0[9], immediateIndexed
71 hs_fork_phase
72 dcl_hs_fork_phase_instance_count 3
73 dcl_input vForkInstanceID
74 dcl_output_siv o0.x, finalTriUeq0EdgeTessFactor
75 dcl_output_siv o1.x, finalTriVeq0EdgeTessFactor
76 dcl_output_siv o2.x, finalTriWeq0EdgeTessFactor
77 dcl_temps 1
78 dcl_indexrange o0.x 3
79 mov r0.x, vForkInstanceID.x
80 mov o[r0.x + 0].x, cb0[8].z
81 ret
82 hs_fork_phase
83 dcl_output_siv o3.x, finalTriInsideTessFactor
84 mov o3.x, cb0[8].z
85 ret
86 // Approximately 5 instruction slots used
87 #endif
88 
89 const BYTE g_hs[] =
90 {
91      68,  88,  66,  67, 174,  23,
92     253, 184, 171, 234, 181, 122,
93     114,  17,  23, 172,  69, 130,
94      17,  19,   1,   0,   0,   0,
95     212,   4,   0,   0,   6,   0,
96       0,   0,  56,   0,   0,   0,
97      68,   2,   0,   0, 120,   2,
98       0,   0, 172,   2,   0,   0,
99      64,   3,   0,   0,  56,   4,
100       0,   0,  82,  68,  69,  70,
101       4,   2,   0,   0,   1,   0,
102       0,   0, 104,   0,   0,   0,
103       1,   0,   0,   0,  60,   0,
104       0,   0,   0,   5,  83,  72,
105       0,   1,   0,   0, 210,   1,
106       0,   0,  82,  68,  49,  49,
107      60,   0,   0,   0,  24,   0,
108       0,   0,  32,   0,   0,   0,
109      40,   0,   0,   0,  36,   0,
110       0,   0,  12,   0,   0,   0,
111       0,   0,   0,   0,  92,   0,
112       0,   0,   0,   0,   0,   0,
113       0,   0,   0,   0,   0,   0,
114       0,   0,   0,   0,   0,   0,
115       0,   0,   0,   0,   1,   0,
116       0,   0,   0,   0,   0,   0,
117      99,  98,  95, 102, 114,  97,
118     109, 101,   0, 171, 171, 171,
119      92,   0,   0,   0,   5,   0,
120       0,   0, 128,   0,   0,   0,
121     144,   0,   0,   0,   0,   0,
122       0,   0,   0,   0,   0,   0,
123      72,   1,   0,   0,   0,   0,
124       0,   0,  64,   0,   0,   0,
125       0,   0,   0,   0,  88,   1,
126       0,   0,   0,   0,   0,   0,
127     255, 255, 255, 255,   0,   0,
128       0,   0, 255, 255, 255, 255,
129       0,   0,   0,   0, 124,   1,
130       0,   0,  64,   0,   0,   0,
131      64,   0,   0,   0,   0,   0,
132       0,   0,  88,   1,   0,   0,
133       0,   0,   0,   0, 255, 255,
134     255, 255,   0,   0,   0,   0,
135     255, 255, 255, 255,   0,   0,
136       0,   0, 134,   1,   0,   0,
137     128,   0,   0,   0,   4,   0,
138       0,   0,   0,   0,   0,   0,
139     152,   1,   0,   0,   0,   0,
140       0,   0, 255, 255, 255, 255,
141       0,   0,   0,   0, 255, 255,
142     255, 255,   0,   0,   0,   0,
143     188,   1,   0,   0, 132,   0,
144       0,   0,   4,   0,   0,   0,
145       0,   0,   0,   0, 152,   1,
146       0,   0,   0,   0,   0,   0,
147     255, 255, 255, 255,   0,   0,
148       0,   0, 255, 255, 255, 255,
149       0,   0,   0,   0, 198,   1,
150       0,   0, 136,   0,   0,   0,
151       4,   0,   0,   0,   2,   0,
152       0,   0, 152,   1,   0,   0,
153       0,   0,   0,   0, 255, 255,
154     255, 255,   0,   0,   0,   0,
155     255, 255, 255, 255,   0,   0,
156       0,   0, 109, 111, 100, 101,
157     108,   0, 102, 108, 111,  97,
158     116,  52, 120,  52,   0, 171,
159       3,   0,   3,   0,   4,   0,
160       4,   0,   0,   0,   0,   0,
161       0,   0,   0,   0,   0,   0,
162       0,   0,   0,   0,   0,   0,
163       0,   0,   0,   0,   0,   0,
164       0,   0,  78,   1,   0,   0,
165     118, 105, 101, 119,  95, 112,
166     114, 111, 106,   0, 100, 105,
167     115, 112,  95, 115,  99,  97,
168     108, 101,   0, 102, 108, 111,
169      97, 116,   0, 171,   0,   0,
170       3,   0,   1,   0,   1,   0,
171       0,   0,   0,   0,   0,   0,
172       0,   0,   0,   0,   0,   0,
173       0,   0,   0,   0,   0,   0,
174       0,   0,   0,   0,   0,   0,
175     145,   1,   0,   0, 100, 105,
176     115, 112,  95, 102, 114, 101,
177     113,   0, 116, 101, 115, 115,
178      95, 102,  97,  99, 116, 111,
179     114,   0,  77, 105,  99, 114,
180     111, 115, 111, 102, 116,  32,
181      40,  82,  41,  32,  72,  76,
182      83,  76,  32,  83, 104,  97,
183     100, 101, 114,  32,  67, 111,
184     109, 112, 105, 108, 101, 114,
185      32,  57,  46,  50,  57,  46,
186      57,  53,  50,  46,  51,  49,
187      49,  49,   0, 171,  73,  83,
188      71,  78,  44,   0,   0,   0,
189       1,   0,   0,   0,   8,   0,
190       0,   0,  32,   0,   0,   0,
191       0,   0,   0,   0,   0,   0,
192       0,   0,   3,   0,   0,   0,
193       0,   0,   0,   0,   7,   7,
194       0,   0,  80,  79,  83,  73,
195      84,  73,  79,  78,   0, 171,
196     171, 171,  79,  83,  71,  78,
197      44,   0,   0,   0,   1,   0,
198       0,   0,   8,   0,   0,   0,
199      32,   0,   0,   0,   0,   0,
200       0,   0,   0,   0,   0,   0,
201       3,   0,   0,   0,   0,   0,
202       0,   0,   7,   8,   0,   0,
203      80,  79,  83,  73,  84,  73,
204      79,  78,   0, 171, 171, 171,
205      80,  67,  83,  71, 140,   0,
206       0,   0,   4,   0,   0,   0,
207       8,   0,   0,   0, 104,   0,
208       0,   0,   0,   0,   0,   0,
209      13,   0,   0,   0,   3,   0,
210       0,   0,   0,   0,   0,   0,
211       1,  14,   0,   0, 104,   0,
212       0,   0,   1,   0,   0,   0,
213      13,   0,   0,   0,   3,   0,
214       0,   0,   1,   0,   0,   0,
215       1,  14,   0,   0, 104,   0,
216       0,   0,   2,   0,   0,   0,
217      13,   0,   0,   0,   3,   0,
218       0,   0,   2,   0,   0,   0,
219       1,  14,   0,   0, 118,   0,
220       0,   0,   0,   0,   0,   0,
221      14,   0,   0,   0,   3,   0,
222       0,   0,   3,   0,   0,   0,
223       1,  14,   0,   0,  83,  86,
224      95,  84, 101, 115, 115,  70,
225      97,  99, 116, 111, 114,   0,
226      83,  86,  95,  73, 110, 115,
227     105, 100, 101,  84, 101, 115,
228     115,  70,  97,  99, 116, 111,
229     114,   0, 171, 171,  83,  72,
230      69,  88, 240,   0,   0,   0,
231      80,   0,   3,   0,  60,   0,
232       0,   0, 113,   0,   0,   1,
233     147,  24,   0,   1, 148,  24,
234       0,   1, 149,  16,   0,   1,
235     150,  32,   0,   1, 151,  24,
236       0,   1, 106,   8,   0,   1,
237      89,   0,   0,   4,  70, 142,
238      32,   0,   0,   0,   0,   0,
239       9,   0,   0,   0, 115,   0,
240       0,   1, 153,   0,   0,   2,
241       3,   0,   0,   0,  95,   0,
242       0,   2,   0, 112,   1,   0,
243     103,   0,   0,   4,  18,  32,
244      16,   0,   0,   0,   0,   0,
245      17,   0,   0,   0, 103,   0,
246       0,   4,  18,  32,  16,   0,
247       1,   0,   0,   0,  18,   0,
248       0,   0, 103,   0,   0,   4,
249      18,  32,  16,   0,   2,   0,
250       0,   0,  19,   0,   0,   0,
251     104,   0,   0,   2,   1,   0,
252       0,   0,  91,   0,   0,   4,
253      18,  32,  16,   0,   0,   0,
254       0,   0,   3,   0,   0,   0,
255      54,   0,   0,   4,  18,   0,
256      16,   0,   0,   0,   0,   0,
257      10, 112,   1,   0,  54,   0,
258       0,   7,  18,  32, 144,   0,
259      10,   0,  16,   0,   0,   0,
260       0,   0,  42, 128,  32,   0,
261       0,   0,   0,   0,   8,   0,
262       0,   0,  62,   0,   0,   1,
263     115,   0,   0,   1, 103,   0,
264       0,   4,  18,  32,  16,   0,
265       3,   0,   0,   0,  20,   0,
266       0,   0,  54,   0,   0,   6,
267      18,  32,  16,   0,   3,   0,
268       0,   0,  42, 128,  32,   0,
269       0,   0,   0,   0,   8,   0,
270       0,   0,  62,   0,   0,   1,
271      83,  84,  65,  84, 148,   0,
272       0,   0,   5,   0,   0,   0,
273       1,   0,   0,   0,   0,   0,
274       0,   0,   4,   0,   0,   0,
275       0,   0,   0,   0,   0,   0,
276       0,   0,   0,   0,   0,   0,
277       0,   0,   0,   0,   0,   0,
278       0,   0,   0,   0,   0,   0,
279       0,   0,   0,   0,   0,   0,
280       0,   0,   0,   0,   0,   0,
281       0,   0,   0,   0,   0,   0,
282       0,   0,   0,   0,   0,   0,
283       0,   0,   0,   0,   0,   0,
284       0,   0,   0,   0,   0,   0,
285       0,   0,   0,   0,   0,   0,
286       0,   0,   0,   0,   0,   0,
287       0,   0,   0,   0,  10,   0,
288       0,   0,   0,   0,   0,   0,
289       0,   0,   0,   0,   0,   0,
290       0,   0,   0,   0,   0,   0,
291       0,   0,   0,   0,   0,   0,
292       0,   0,   3,   0,   0,   0,
293       3,   0,   0,   0,   4,   0,
294       0,   0,   2,   0,   0,   0,
295       0,   0,   0,   0,   0,   0,
296       0,   0,   0,   0,   0,   0
297 };
298