[GPU] Treat non-adaptive-tessellated patches as 1-control-point

This commit is contained in:
Triang3l
2022-07-24 17:38:26 +03:00
parent 3c12814276
commit 37579d3bf0
30 changed files with 4252 additions and 417 deletions

View File

@@ -46,12 +46,17 @@ XeHSConstantDataOutput XePatchConstant(
[domain("quad")]
[partitioning("fractional_even")]
[outputtopology("triangle_cw")]
[outputcontrolpoints(4)]
[outputcontrolpoints(1)]
[patchconstantfunc("XePatchConstant")]
XeHSControlPointOutput main(
InputPatch<XeHSControlPointInputAdaptive, 4> xe_input_patch) {
InputPatch<XeHSControlPointInputAdaptive, 4> xe_input_patch,
uint xe_primitive_id : SV_PrimitiveID) {
XeHSControlPointOutput output;
// Not used with control point indices.
output.index = 0.0f;
// Only the lower 24 bits of the vertex index are used (tested on an Adreno
// 200 phone). `((index & 0xFFFFFF) + offset) & 0xFFFFFF` is the same as
// `(index + offset) & 0xFFFFFF`.
output.index =
float(clamp((xe_primitive_id + xe_vertex_index_offset) & 0xFFFFFFu,
xe_vertex_index_min_max.x, xe_vertex_index_min_max.y));
return output;
}

View File

@@ -51,12 +51,17 @@ XeHSConstantDataOutput XePatchConstant(
[domain("tri")]
[partitioning("fractional_even")]
[outputtopology("triangle_cw")]
[outputcontrolpoints(3)]
[outputcontrolpoints(1)]
[patchconstantfunc("XePatchConstant")]
XeHSControlPointOutput main(
InputPatch<XeHSControlPointInputAdaptive, 3> xe_input_patch) {
InputPatch<XeHSControlPointInputAdaptive, 3> xe_input_patch,
uint xe_primitive_id : SV_PrimitiveID) {
XeHSControlPointOutput output;
// Not used with control point indices.
output.index = 0.0f;
// Only the lower 24 bits of the vertex index are used (tested on an Adreno
// 200 phone). `((index & 0xFFFFFF) + offset) & 0xFFFFFF` is the same as
// `(index + offset) & 0xFFFFFF`.
output.index =
float(clamp((xe_primitive_id + xe_vertex_index_offset) & 0xFFFFFFu,
xe_vertex_index_min_max.x, xe_vertex_index_min_max.y));
return output;
}

View File

@@ -3,6 +3,52 @@
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//
// Buffer Definitions:
//
// cbuffer xe_system_cbuffer
// {
//
// uint xe_flags; // Offset: 0 Size: 4 [unused]
// float2 xe_tessellation_factor_range;// Offset: 4 Size: 8 [unused]
// uint xe_line_loop_closing_index; // Offset: 12 Size: 4 [unused]
// uint xe_vertex_index_endian; // Offset: 16 Size: 4 [unused]
// uint xe_vertex_index_offset; // Offset: 20 Size: 4
// uint2 xe_vertex_index_min_max; // Offset: 24 Size: 8
// float4 xe_user_clip_planes[6]; // Offset: 32 Size: 96 [unused]
// float3 xe_ndc_scale; // Offset: 128 Size: 12 [unused]
// float xe_point_vertex_diameter_min;// Offset: 140 Size: 4 [unused]
// float3 xe_ndc_offset; // Offset: 144 Size: 12 [unused]
// float xe_point_vertex_diameter_max;// Offset: 156 Size: 4 [unused]
// float2 xe_point_constant_diameter; // Offset: 160 Size: 8 [unused]
// float2 xe_point_screen_diameter_to_ndc_radius;// Offset: 168 Size: 8 [unused]
// uint4 xe_texture_swizzled_signs[2];// Offset: 176 Size: 32 [unused]
// uint xe_textures_resolved; // Offset: 208 Size: 4 [unused]
// uint2 xe_sample_count_log2; // Offset: 212 Size: 8 [unused]
// float xe_alpha_test_reference; // Offset: 220 Size: 4 [unused]
// uint xe_alpha_to_mask; // Offset: 224 Size: 4 [unused]
// uint xe_edram_32bpp_tile_pitch_dwords_scaled;// Offset: 228 Size: 4 [unused]
// uint xe_edram_depth_base_dwords_scaled;// Offset: 232 Size: 4 [unused]
// float4 xe_color_exp_bias; // Offset: 240 Size: 16 [unused]
// float2 xe_edram_poly_offset_front; // Offset: 256 Size: 8 [unused]
// float2 xe_edram_poly_offset_back; // Offset: 264 Size: 8 [unused]
// uint4 xe_edram_stencil[2]; // Offset: 272 Size: 32 [unused]
// uint4 xe_edram_rt_base_dwords_scaled;// Offset: 304 Size: 16 [unused]
// uint4 xe_edram_rt_format_flags; // Offset: 320 Size: 16 [unused]
// float4 xe_edram_rt_clamp[4]; // Offset: 336 Size: 64 [unused]
// uint4 xe_edram_rt_keep_mask[2]; // Offset: 400 Size: 32 [unused]
// uint4 xe_edram_rt_blend_factors_ops;// Offset: 432 Size: 16 [unused]
// float4 xe_edram_blend_constant; // Offset: 448 Size: 16 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim ID HLSL Bind Count
// ------------------------------ ---------- ------- ----------- ------- -------------- ------
// xe_system_cbuffer cbuffer NA NA CB0 cb0 1
//
//
//
// Patch Constant signature:
//
@@ -31,7 +77,7 @@
//
// Tessellation Domain # of control points
// -------------------- --------------------
// Quadrilateral 4
// Quadrilateral 1
//
// Tessellation Output Primitive Partitioning Type
// ------------------------------ ------------------
@@ -40,14 +86,21 @@
hs_5_1
hs_decls
dcl_input_control_point_count 4
dcl_output_control_point_count 4
dcl_output_control_point_count 1
dcl_tessellator_domain domain_quad
dcl_tessellator_partitioning partitioning_fractional_even
dcl_tessellator_output_primitive output_triangle_cw
dcl_globalFlags refactoringAllowed
dcl_constantbuffer CB0[0:0][2], immediateIndexed, space=0
hs_control_point_phase
dcl_input vPrim
dcl_output o0.x
mov o0.x, l(0)
dcl_temps 1
iadd r0.x, vPrim, CB0[0][1].y
and r0.x, r0.x, l(0x00ffffff)
umax r0.x, r0.x, CB0[0][1].z
umin r0.x, r0.x, CB0[0][1].w
utof o0.x, r0.x
ret
hs_fork_phase
dcl_hs_fork_phase_instance_count 4
@@ -79,209 +132,656 @@ min r0.x, vicp[r0.y + 2][0].x, vicp[r0.x + 0][0].x
mov r0.y, vForkInstanceID.x
mov o[r0.y + 4].x, r0.x
ret
// Approximately 14 instruction slots used
// Approximately 18 instruction slots used
#endif
const BYTE adaptive_quad_hs[] =
{
68, 88, 66, 67, 91, 114,
196, 93, 35, 195, 210, 49,
154, 70, 168, 244, 8, 132,
25, 246, 1, 0, 0, 0,
176, 4, 0, 0, 6, 0,
68, 88, 66, 67, 239, 150,
141, 161, 148, 167, 208, 252,
147, 2, 216, 119, 8, 207,
171, 137, 1, 0, 0, 0,
40, 15, 0, 0, 6, 0,
0, 0, 56, 0, 0, 0,
164, 0, 0, 0, 220, 0,
0, 0, 16, 1, 0, 0,
212, 1, 0, 0, 20, 4,
108, 10, 0, 0, 164, 10,
0, 0, 216, 10, 0, 0,
156, 11, 0, 0, 140, 14,
0, 0, 82, 68, 69, 70,
100, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 60, 0,
44, 10, 0, 0, 1, 0,
0, 0, 120, 0, 0, 0,
1, 0, 0, 0, 60, 0,
0, 0, 1, 5, 83, 72,
0, 5, 0, 0, 60, 0,
0, 5, 0, 0, 2, 10,
0, 0, 19, 19, 68, 37,
60, 0, 0, 0, 24, 0,
0, 0, 40, 0, 0, 0,
40, 0, 0, 0, 36, 0,
0, 0, 12, 0, 0, 0,
0, 0, 0, 0, 77, 105,
0, 0, 0, 0, 100, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 120, 101, 95, 115,
121, 115, 116, 101, 109, 95,
99, 98, 117, 102, 102, 101,
114, 0, 171, 171, 100, 0,
0, 0, 30, 0, 0, 0,
144, 0, 0, 0, 208, 1,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 64, 5,
0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 80, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 116, 5, 0, 0,
4, 0, 0, 0, 8, 0,
0, 0, 0, 0, 0, 0,
152, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
188, 5, 0, 0, 12, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 80, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 215, 5,
0, 0, 16, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 80, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 238, 5, 0, 0,
20, 0, 0, 0, 4, 0,
0, 0, 2, 0, 0, 0,
80, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
5, 6, 0, 0, 24, 0,
0, 0, 8, 0, 0, 0,
2, 0, 0, 0, 36, 6,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 72, 6,
0, 0, 32, 0, 0, 0,
96, 0, 0, 0, 0, 0,
0, 0, 100, 6, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 136, 6, 0, 0,
128, 0, 0, 0, 12, 0,
0, 0, 0, 0, 0, 0,
156, 6, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
192, 6, 0, 0, 140, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 228, 6,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 8, 7,
0, 0, 144, 0, 0, 0,
12, 0, 0, 0, 0, 0,
0, 0, 156, 6, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 22, 7, 0, 0,
156, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
228, 6, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
51, 7, 0, 0, 160, 0,
0, 0, 8, 0, 0, 0,
0, 0, 0, 0, 152, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 78, 7,
0, 0, 168, 0, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 152, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 117, 7, 0, 0,
176, 0, 0, 0, 32, 0,
0, 0, 0, 0, 0, 0,
152, 7, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
188, 7, 0, 0, 208, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 80, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 209, 7,
0, 0, 212, 0, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 36, 6, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 230, 7, 0, 0,
220, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
228, 6, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
254, 7, 0, 0, 224, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 80, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 15, 8,
0, 0, 228, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 80, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 55, 8, 0, 0,
232, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
80, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
89, 8, 0, 0, 240, 0,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 108, 8,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 144, 8,
0, 0, 0, 1, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 152, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 171, 8, 0, 0,
8, 1, 0, 0, 8, 0,
0, 0, 0, 0, 0, 0,
152, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
197, 8, 0, 0, 16, 1,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 216, 8,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 252, 8,
0, 0, 48, 1, 0, 0,
16, 0, 0, 0, 0, 0,
0, 0, 28, 9, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 64, 9, 0, 0,
64, 1, 0, 0, 16, 0,
0, 0, 0, 0, 0, 0,
28, 9, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
89, 9, 0, 0, 80, 1,
0, 0, 64, 0, 0, 0,
0, 0, 0, 0, 108, 9,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 144, 9,
0, 0, 144, 1, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 168, 9, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 204, 9, 0, 0,
176, 1, 0, 0, 16, 0,
0, 0, 0, 0, 0, 0,
28, 9, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
234, 9, 0, 0, 192, 1,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 108, 8,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 120, 101,
95, 102, 108, 97, 103, 115,
0, 100, 119, 111, 114, 100,
0, 171, 0, 0, 19, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 73, 5,
0, 0, 120, 101, 95, 116,
101, 115, 115, 101, 108, 108,
97, 116, 105, 111, 110, 95,
102, 97, 99, 116, 111, 114,
95, 114, 97, 110, 103, 101,
0, 102, 108, 111, 97, 116,
50, 0, 1, 0, 3, 0,
1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 145, 5,
0, 0, 120, 101, 95, 108,
105, 110, 101, 95, 108, 111,
111, 112, 95, 99, 108, 111,
115, 105, 110, 103, 95, 105,
110, 100, 101, 120, 0, 120,
101, 95, 118, 101, 114, 116,
101, 120, 95, 105, 110, 100,
101, 120, 95, 101, 110, 100,
105, 97, 110, 0, 120, 101,
95, 118, 101, 114, 116, 101,
120, 95, 105, 110, 100, 101,
120, 95, 111, 102, 102, 115,
101, 116, 0, 120, 101, 95,
118, 101, 114, 116, 101, 120,
95, 105, 110, 100, 101, 120,
95, 109, 105, 110, 95, 109,
97, 120, 0, 117, 105, 110,
116, 50, 0, 171, 1, 0,
19, 0, 1, 0, 2, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
29, 6, 0, 0, 120, 101,
95, 117, 115, 101, 114, 95,
99, 108, 105, 112, 95, 112,
108, 97, 110, 101, 115, 0,
102, 108, 111, 97, 116, 52,
0, 171, 1, 0, 3, 0,
1, 0, 4, 0, 6, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 92, 6,
0, 0, 120, 101, 95, 110,
100, 99, 95, 115, 99, 97,
108, 101, 0, 102, 108, 111,
97, 116, 51, 0, 1, 0,
3, 0, 1, 0, 3, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
149, 6, 0, 0, 120, 101,
95, 112, 111, 105, 110, 116,
95, 118, 101, 114, 116, 101,
120, 95, 100, 105, 97, 109,
101, 116, 101, 114, 95, 109,
105, 110, 0, 102, 108, 111,
97, 116, 0, 171, 0, 0,
3, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
221, 6, 0, 0, 120, 101,
95, 110, 100, 99, 95, 111,
102, 102, 115, 101, 116, 0,
120, 101, 95, 112, 111, 105,
110, 116, 95, 118, 101, 114,
116, 101, 120, 95, 100, 105,
97, 109, 101, 116, 101, 114,
95, 109, 97, 120, 0, 120,
101, 95, 112, 111, 105, 110,
116, 95, 99, 111, 110, 115,
116, 97, 110, 116, 95, 100,
105, 97, 109, 101, 116, 101,
114, 0, 120, 101, 95, 112,
111, 105, 110, 116, 95, 115,
99, 114, 101, 101, 110, 95,
100, 105, 97, 109, 101, 116,
101, 114, 95, 116, 111, 95,
110, 100, 99, 95, 114, 97,
100, 105, 117, 115, 0, 120,
101, 95, 116, 101, 120, 116,
117, 114, 101, 95, 115, 119,
105, 122, 122, 108, 101, 100,
95, 115, 105, 103, 110, 115,
0, 117, 105, 110, 116, 52,
0, 171, 171, 171, 1, 0,
19, 0, 1, 0, 4, 0,
2, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
143, 7, 0, 0, 120, 101,
95, 116, 101, 120, 116, 117,
114, 101, 115, 95, 114, 101,
115, 111, 108, 118, 101, 100,
0, 120, 101, 95, 115, 97,
109, 112, 108, 101, 95, 99,
111, 117, 110, 116, 95, 108,
111, 103, 50, 0, 120, 101,
95, 97, 108, 112, 104, 97,
95, 116, 101, 115, 116, 95,
114, 101, 102, 101, 114, 101,
110, 99, 101, 0, 120, 101,
95, 97, 108, 112, 104, 97,
95, 116, 111, 95, 109, 97,
115, 107, 0, 120, 101, 95,
101, 100, 114, 97, 109, 95,
51, 50, 98, 112, 112, 95,
116, 105, 108, 101, 95, 112,
105, 116, 99, 104, 95, 100,
119, 111, 114, 100, 115, 95,
115, 99, 97, 108, 101, 100,
0, 120, 101, 95, 101, 100,
114, 97, 109, 95, 100, 101,
112, 116, 104, 95, 98, 97,
115, 101, 95, 100, 119, 111,
114, 100, 115, 95, 115, 99,
97, 108, 101, 100, 0, 120,
101, 95, 99, 111, 108, 111,
114, 95, 101, 120, 112, 95,
98, 105, 97, 115, 0, 171,
1, 0, 3, 0, 1, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 92, 6, 0, 0,
120, 101, 95, 101, 100, 114,
97, 109, 95, 112, 111, 108,
121, 95, 111, 102, 102, 115,
101, 116, 95, 102, 114, 111,
110, 116, 0, 120, 101, 95,
101, 100, 114, 97, 109, 95,
112, 111, 108, 121, 95, 111,
102, 102, 115, 101, 116, 95,
98, 97, 99, 107, 0, 120,
101, 95, 101, 100, 114, 97,
109, 95, 115, 116, 101, 110,
99, 105, 108, 0, 171, 171,
1, 0, 19, 0, 1, 0,
4, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 143, 7, 0, 0,
120, 101, 95, 101, 100, 114,
97, 109, 95, 114, 116, 95,
98, 97, 115, 101, 95, 100,
119, 111, 114, 100, 115, 95,
115, 99, 97, 108, 101, 100,
0, 171, 1, 0, 19, 0,
1, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 143, 7,
0, 0, 120, 101, 95, 101,
100, 114, 97, 109, 95, 114,
116, 95, 102, 111, 114, 109,
97, 116, 95, 102, 108, 97,
103, 115, 0, 120, 101, 95,
101, 100, 114, 97, 109, 95,
114, 116, 95, 99, 108, 97,
109, 112, 0, 171, 1, 0,
3, 0, 1, 0, 4, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
92, 6, 0, 0, 120, 101,
95, 101, 100, 114, 97, 109,
95, 114, 116, 95, 107, 101,
101, 112, 95, 109, 97, 115,
107, 0, 171, 171, 1, 0,
19, 0, 1, 0, 4, 0,
2, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
143, 7, 0, 0, 120, 101,
95, 101, 100, 114, 97, 109,
95, 114, 116, 95, 98, 108,
101, 110, 100, 95, 102, 97,
99, 116, 111, 114, 115, 95,
111, 112, 115, 0, 120, 101,
95, 101, 100, 114, 97, 109,
95, 98, 108, 101, 110, 100,
95, 99, 111, 110, 115, 116,
97, 110, 116, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 73, 83, 71, 78,
48, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 1, 1, 0, 0,
88, 69, 84, 69, 83, 83,
70, 65, 67, 84, 79, 82,
0, 171, 171, 171, 79, 83,
71, 78, 44, 0, 0, 0,
49, 0, 171, 171, 73, 83,
71, 78, 48, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 1, 14,
0, 0, 88, 69, 86, 69,
82, 84, 69, 88, 73, 68,
0, 171, 80, 67, 83, 71,
188, 0, 0, 0, 6, 0,
0, 0, 8, 0, 0, 0,
152, 0, 0, 0, 0, 0,
0, 0, 11, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 1, 14, 0, 0,
152, 0, 0, 0, 1, 0,
0, 0, 11, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 1, 14, 0, 0,
152, 0, 0, 0, 2, 0,
0, 0, 11, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 1, 14, 0, 0,
152, 0, 0, 0, 3, 0,
0, 0, 11, 0, 0, 0,
3, 0, 0, 0, 3, 0,
0, 0, 1, 14, 0, 0,
166, 0, 0, 0, 0, 0,
0, 0, 12, 0, 0, 0,
3, 0, 0, 0, 4, 0,
0, 0, 1, 14, 0, 0,
166, 0, 0, 0, 1, 0,
0, 0, 12, 0, 0, 0,
3, 0, 0, 0, 5, 0,
0, 0, 1, 14, 0, 0,
83, 86, 95, 84, 101, 115,
115, 70, 97, 99, 116, 111,
114, 0, 83, 86, 95, 73,
110, 115, 105, 100, 101, 84,
101, 115, 115, 70, 97, 99,
116, 111, 114, 0, 171, 171,
83, 72, 69, 88, 56, 2,
0, 0, 81, 0, 3, 0,
142, 0, 0, 0, 113, 0,
0, 1, 147, 32, 0, 1,
148, 32, 0, 1, 149, 24,
0, 1, 150, 32, 0, 1,
151, 24, 0, 1, 106, 8,
0, 1, 114, 0, 0, 1,
101, 0, 0, 3, 18, 32,
16, 0, 0, 0, 0, 0,
54, 0, 0, 5, 18, 32,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 0, 0,
0, 0, 62, 0, 0, 1,
115, 0, 0, 1, 153, 0,
0, 2, 4, 0, 0, 0,
95, 0, 0, 2, 0, 112,
1, 0, 95, 0, 0, 4,
18, 144, 33, 0, 4, 0,
0, 0, 0, 0, 1, 1,
0, 0, 88, 69, 84, 69,
83, 83, 70, 65, 67, 84,
79, 82, 0, 171, 171, 171,
79, 83, 71, 78, 44, 0,
0, 0, 1, 0, 0, 0,
8, 0, 0, 0, 32, 0,
0, 0, 0, 0, 0, 0,
103, 0, 0, 4, 18, 32,
16, 0, 0, 0, 0, 0,
11, 0, 0, 0, 103, 0,
0, 4, 18, 32, 16, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
1, 14, 0, 0, 88, 69,
86, 69, 82, 84, 69, 88,
73, 68, 0, 171, 80, 67,
83, 71, 188, 0, 0, 0,
6, 0, 0, 0, 8, 0,
0, 0, 152, 0, 0, 0,
0, 0, 0, 0, 11, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 1, 14,
0, 0, 152, 0, 0, 0,
1, 0, 0, 0, 11, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 1, 14,
0, 0, 152, 0, 0, 0,
2, 0, 0, 0, 11, 0,
0, 0, 3, 0, 0, 0,
2, 0, 0, 0, 1, 14,
0, 0, 152, 0, 0, 0,
3, 0, 0, 0, 11, 0,
0, 0, 3, 0, 0, 0,
3, 0, 0, 0, 1, 14,
0, 0, 166, 0, 0, 0,
0, 0, 0, 0, 12, 0,
0, 0, 3, 0, 0, 0,
4, 0, 0, 0, 1, 14,
0, 0, 166, 0, 0, 0,
1, 0, 0, 0, 12, 0,
0, 0, 103, 0, 0, 4,
18, 32, 16, 0, 2, 0,
0, 0, 13, 0, 0, 0,
103, 0, 0, 4, 18, 32,
16, 0, 3, 0, 0, 0,
14, 0, 0, 0, 104, 0,
0, 2, 1, 0, 0, 0,
91, 0, 0, 4, 18, 32,
0, 0, 3, 0, 0, 0,
5, 0, 0, 0, 1, 14,
0, 0, 83, 86, 95, 84,
101, 115, 115, 70, 97, 99,
116, 111, 114, 0, 83, 86,
95, 73, 110, 115, 105, 100,
101, 84, 101, 115, 115, 70,
97, 99, 116, 111, 114, 0,
171, 171, 83, 72, 69, 88,
232, 2, 0, 0, 81, 0,
3, 0, 186, 0, 0, 0,
113, 0, 0, 1, 147, 32,
0, 1, 148, 8, 0, 1,
149, 24, 0, 1, 150, 32,
0, 1, 151, 24, 0, 1,
106, 8, 0, 1, 89, 0,
0, 7, 70, 142, 48, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 0, 0,
0, 0, 114, 0, 0, 1,
95, 0, 0, 2, 0, 176,
0, 0, 101, 0, 0, 3,
18, 32, 16, 0, 0, 0,
0, 0, 104, 0, 0, 2,
1, 0, 0, 0, 30, 0,
0, 8, 18, 0, 16, 0,
0, 0, 0, 0, 1, 176,
0, 0, 26, 128, 48, 0,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
1, 0, 0, 7, 18, 0,
16, 0, 0, 0, 0, 0,
4, 0, 0, 0, 30, 0,
0, 6, 18, 0, 16, 0,
0, 0, 0, 0, 10, 112,
1, 0, 1, 64, 0, 0,
3, 0, 0, 0, 1, 0,
0, 7, 18, 0, 16, 0,
10, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
255, 255, 255, 0, 83, 0,
0, 9, 18, 0, 16, 0,
0, 0, 0, 0, 10, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 3, 0,
0, 0, 54, 0, 0, 4,
34, 0, 16, 0, 0, 0,
0, 0, 10, 112, 1, 0,
54, 0, 0, 8, 18, 32,
144, 0, 26, 0, 16, 0,
0, 0, 0, 0, 10, 144,
161, 0, 10, 0, 16, 0,
42, 128, 48, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 62, 0, 0, 1,
115, 0, 0, 1, 153, 0,
0, 2, 2, 0, 0, 0,
95, 0, 0, 2, 0, 112,
1, 0, 95, 0, 0, 4,
18, 144, 33, 0, 4, 0,
1, 0, 0, 0, 84, 0,
0, 9, 18, 0, 16, 0,
0, 0, 0, 0, 10, 0,
16, 0, 0, 0, 0, 0,
58, 128, 48, 0, 0, 0,
0, 0, 0, 0, 0, 0,
103, 0, 0, 4, 18, 32,
16, 0, 4, 0, 0, 0,
15, 0, 0, 0, 103, 0,
1, 0, 0, 0, 86, 0,
0, 5, 18, 32, 16, 0,
0, 0, 0, 0, 10, 0,
16, 0, 0, 0, 0, 0,
62, 0, 0, 1, 115, 0,
0, 1, 153, 0, 0, 2,
4, 0, 0, 0, 95, 0,
0, 2, 0, 112, 1, 0,
95, 0, 0, 4, 18, 144,
33, 0, 4, 0, 0, 0,
0, 0, 0, 0, 103, 0,
0, 4, 18, 32, 16, 0,
5, 0, 0, 0, 16, 0,
0, 0, 0, 0, 11, 0,
0, 0, 103, 0, 0, 4,
18, 32, 16, 0, 1, 0,
0, 0, 12, 0, 0, 0,
103, 0, 0, 4, 18, 32,
16, 0, 2, 0, 0, 0,
13, 0, 0, 0, 103, 0,
0, 4, 18, 32, 16, 0,
3, 0, 0, 0, 14, 0,
0, 0, 104, 0, 0, 2,
1, 0, 0, 0, 91, 0,
0, 4, 18, 32, 16, 0,
4, 0, 0, 0, 2, 0,
0, 0, 79, 0, 0, 6,
0, 0, 0, 0, 4, 0,
0, 0, 30, 0, 0, 6,
18, 0, 16, 0, 0, 0,
0, 0, 10, 112, 1, 0,
1, 64, 0, 0, 1, 0,
0, 0, 55, 0, 0, 9,
1, 64, 0, 0, 3, 0,
0, 0, 1, 0, 0, 7,
18, 0, 16, 0, 0, 0,
0, 0, 10, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 0, 0, 0, 0,
1, 64, 0, 0, 3, 0,
0, 0, 40, 0, 0, 4,
34, 0, 16, 0, 0, 0,
0, 0, 10, 112, 1, 0,
51, 0, 0, 12, 18, 0,
16, 0, 0, 0, 0, 0,
10, 144, 225, 0, 2, 0,
0, 0, 26, 0, 16, 0,
0, 0, 0, 0, 0, 0,
0, 0, 10, 144, 161, 0,
10, 0, 16, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
54, 0, 0, 4, 34, 0,
16, 0, 0, 0, 0, 0,
10, 112, 1, 0, 54, 0,
0, 7, 18, 32, 208, 0,
4, 0, 0, 0, 26, 0,
0, 8, 18, 32, 144, 0,
26, 0, 16, 0, 0, 0,
0, 0, 10, 144, 161, 0,
10, 0, 16, 0, 0, 0,
0, 0, 0, 0, 0, 0,
62, 0, 0, 1, 115, 0,
0, 1, 153, 0, 0, 2,
2, 0, 0, 0, 95, 0,
0, 2, 0, 112, 1, 0,
95, 0, 0, 4, 18, 144,
33, 0, 4, 0, 0, 0,
0, 0, 0, 0, 103, 0,
0, 4, 18, 32, 16, 0,
4, 0, 0, 0, 15, 0,
0, 0, 103, 0, 0, 4,
18, 32, 16, 0, 5, 0,
0, 0, 16, 0, 0, 0,
104, 0, 0, 2, 1, 0,
0, 0, 91, 0, 0, 4,
18, 32, 16, 0, 4, 0,
0, 0, 2, 0, 0, 0,
79, 0, 0, 6, 18, 0,
16, 0, 0, 0, 0, 0,
10, 112, 1, 0, 1, 64,
0, 0, 1, 0, 0, 0,
55, 0, 0, 9, 18, 0,
16, 0, 0, 0, 0, 0,
10, 0, 16, 0, 0, 0,
0, 0, 62, 0, 0, 1,
83, 84, 65, 84, 148, 0,
0, 0, 14, 0, 0, 0,
0, 0, 1, 64, 0, 0,
0, 0, 0, 0, 1, 64,
0, 0, 3, 0, 0, 0,
40, 0, 0, 4, 34, 0,
16, 0, 0, 0, 0, 0,
10, 112, 1, 0, 51, 0,
0, 12, 18, 0, 16, 0,
0, 0, 0, 0, 10, 144,
225, 0, 2, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 0, 0, 0, 0,
10, 144, 161, 0, 10, 0,
16, 0, 0, 0, 0, 0,
0, 0, 0, 0, 54, 0,
0, 4, 34, 0, 16, 0,
0, 0, 0, 0, 10, 112,
1, 0, 54, 0, 0, 7,
18, 32, 208, 0, 4, 0,
0, 0, 26, 0, 16, 0,
0, 0, 0, 0, 10, 0,
16, 0, 0, 0, 0, 0,
62, 0, 0, 1, 83, 84,
65, 84, 148, 0, 0, 0,
18, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
6, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
5, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 4, 0,
0, 0, 1, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 6, 0, 0, 0,
1, 0, 0, 0, 2, 0,
0, 0, 2, 0, 0, 0,
0, 0, 11, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 3, 0,
0, 0, 4, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
5, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 11, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 4, 0, 0, 0,
3, 0, 0, 0, 4, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0
0, 0, 0, 0
};

View File

@@ -3,6 +3,52 @@
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//
// Buffer Definitions:
//
// cbuffer xe_system_cbuffer
// {
//
// uint xe_flags; // Offset: 0 Size: 4 [unused]
// float2 xe_tessellation_factor_range;// Offset: 4 Size: 8 [unused]
// uint xe_line_loop_closing_index; // Offset: 12 Size: 4 [unused]
// uint xe_vertex_index_endian; // Offset: 16 Size: 4 [unused]
// uint xe_vertex_index_offset; // Offset: 20 Size: 4
// uint2 xe_vertex_index_min_max; // Offset: 24 Size: 8
// float4 xe_user_clip_planes[6]; // Offset: 32 Size: 96 [unused]
// float3 xe_ndc_scale; // Offset: 128 Size: 12 [unused]
// float xe_point_vertex_diameter_min;// Offset: 140 Size: 4 [unused]
// float3 xe_ndc_offset; // Offset: 144 Size: 12 [unused]
// float xe_point_vertex_diameter_max;// Offset: 156 Size: 4 [unused]
// float2 xe_point_constant_diameter; // Offset: 160 Size: 8 [unused]
// float2 xe_point_screen_diameter_to_ndc_radius;// Offset: 168 Size: 8 [unused]
// uint4 xe_texture_swizzled_signs[2];// Offset: 176 Size: 32 [unused]
// uint xe_textures_resolved; // Offset: 208 Size: 4 [unused]
// uint2 xe_sample_count_log2; // Offset: 212 Size: 8 [unused]
// float xe_alpha_test_reference; // Offset: 220 Size: 4 [unused]
// uint xe_alpha_to_mask; // Offset: 224 Size: 4 [unused]
// uint xe_edram_32bpp_tile_pitch_dwords_scaled;// Offset: 228 Size: 4 [unused]
// uint xe_edram_depth_base_dwords_scaled;// Offset: 232 Size: 4 [unused]
// float4 xe_color_exp_bias; // Offset: 240 Size: 16 [unused]
// float2 xe_edram_poly_offset_front; // Offset: 256 Size: 8 [unused]
// float2 xe_edram_poly_offset_back; // Offset: 264 Size: 8 [unused]
// uint4 xe_edram_stencil[2]; // Offset: 272 Size: 32 [unused]
// uint4 xe_edram_rt_base_dwords_scaled;// Offset: 304 Size: 16 [unused]
// uint4 xe_edram_rt_format_flags; // Offset: 320 Size: 16 [unused]
// float4 xe_edram_rt_clamp[4]; // Offset: 336 Size: 64 [unused]
// uint4 xe_edram_rt_keep_mask[2]; // Offset: 400 Size: 32 [unused]
// uint4 xe_edram_rt_blend_factors_ops;// Offset: 432 Size: 16 [unused]
// float4 xe_edram_blend_constant; // Offset: 448 Size: 16 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim ID HLSL Bind Count
// ------------------------------ ---------- ------- ----------- ------- -------------- ------
// xe_system_cbuffer cbuffer NA NA CB0 cb0 1
//
//
//
// Patch Constant signature:
//
@@ -29,7 +75,7 @@
//
// Tessellation Domain # of control points
// -------------------- --------------------
// Triangle 3
// Triangle 1
//
// Tessellation Output Primitive Partitioning Type
// ------------------------------ ------------------
@@ -38,14 +84,21 @@
hs_5_1
hs_decls
dcl_input_control_point_count 3
dcl_output_control_point_count 3
dcl_output_control_point_count 1
dcl_tessellator_domain domain_tri
dcl_tessellator_partitioning partitioning_fractional_even
dcl_tessellator_output_primitive output_triangle_cw
dcl_globalFlags refactoringAllowed
dcl_constantbuffer CB0[0:0][2], immediateIndexed, space=0
hs_control_point_phase
dcl_input vPrim
dcl_output o0.x
mov o0.x, l(0)
dcl_temps 1
iadd r0.x, vPrim, CB0[0][1].y
and r0.x, r0.x, l(0x00ffffff)
umax r0.x, r0.x, CB0[0][1].z
umin r0.x, r0.x, CB0[0][1].w
utof o0.x, r0.x
ret
hs_fork_phase
dcl_hs_fork_phase_instance_count 3
@@ -68,175 +121,621 @@ dcl_temps 1
min r0.x, vicp[2][0].x, vicp[1][0].x
min o3.x, r0.x, vicp[0][0].x
ret
// Approximately 10 instruction slots used
// Approximately 14 instruction slots used
#endif
const BYTE adaptive_triangle_hs[] =
{
68, 88, 66, 67, 10, 165,
117, 176, 19, 12, 130, 108,
171, 104, 195, 161, 52, 251,
99, 193, 1, 0, 0, 0,
224, 3, 0, 0, 6, 0,
68, 88, 66, 67, 213, 151,
26, 214, 48, 115, 215, 10,
67, 36, 129, 21, 5, 111,
231, 249, 1, 0, 0, 0,
88, 14, 0, 0, 6, 0,
0, 0, 56, 0, 0, 0,
164, 0, 0, 0, 220, 0,
0, 0, 16, 1, 0, 0,
164, 1, 0, 0, 68, 3,
108, 10, 0, 0, 164, 10,
0, 0, 216, 10, 0, 0,
108, 11, 0, 0, 188, 13,
0, 0, 82, 68, 69, 70,
100, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 60, 0,
44, 10, 0, 0, 1, 0,
0, 0, 120, 0, 0, 0,
1, 0, 0, 0, 60, 0,
0, 0, 1, 5, 83, 72,
0, 5, 0, 0, 60, 0,
0, 5, 0, 0, 2, 10,
0, 0, 19, 19, 68, 37,
60, 0, 0, 0, 24, 0,
0, 0, 40, 0, 0, 0,
40, 0, 0, 0, 36, 0,
0, 0, 12, 0, 0, 0,
0, 0, 0, 0, 77, 105,
0, 0, 0, 0, 100, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 120, 101, 95, 115,
121, 115, 116, 101, 109, 95,
99, 98, 117, 102, 102, 101,
114, 0, 171, 171, 100, 0,
0, 0, 30, 0, 0, 0,
144, 0, 0, 0, 208, 1,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 64, 5,
0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 80, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 116, 5, 0, 0,
4, 0, 0, 0, 8, 0,
0, 0, 0, 0, 0, 0,
152, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
188, 5, 0, 0, 12, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 80, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 215, 5,
0, 0, 16, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 80, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 238, 5, 0, 0,
20, 0, 0, 0, 4, 0,
0, 0, 2, 0, 0, 0,
80, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
5, 6, 0, 0, 24, 0,
0, 0, 8, 0, 0, 0,
2, 0, 0, 0, 36, 6,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 72, 6,
0, 0, 32, 0, 0, 0,
96, 0, 0, 0, 0, 0,
0, 0, 100, 6, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 136, 6, 0, 0,
128, 0, 0, 0, 12, 0,
0, 0, 0, 0, 0, 0,
156, 6, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
192, 6, 0, 0, 140, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 228, 6,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 8, 7,
0, 0, 144, 0, 0, 0,
12, 0, 0, 0, 0, 0,
0, 0, 156, 6, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 22, 7, 0, 0,
156, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
228, 6, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
51, 7, 0, 0, 160, 0,
0, 0, 8, 0, 0, 0,
0, 0, 0, 0, 152, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 78, 7,
0, 0, 168, 0, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 152, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 117, 7, 0, 0,
176, 0, 0, 0, 32, 0,
0, 0, 0, 0, 0, 0,
152, 7, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
188, 7, 0, 0, 208, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 80, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 209, 7,
0, 0, 212, 0, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 36, 6, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 230, 7, 0, 0,
220, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
228, 6, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
254, 7, 0, 0, 224, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 80, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 15, 8,
0, 0, 228, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 80, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 55, 8, 0, 0,
232, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
80, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
89, 8, 0, 0, 240, 0,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 108, 8,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 144, 8,
0, 0, 0, 1, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 152, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 171, 8, 0, 0,
8, 1, 0, 0, 8, 0,
0, 0, 0, 0, 0, 0,
152, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
197, 8, 0, 0, 16, 1,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 216, 8,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 252, 8,
0, 0, 48, 1, 0, 0,
16, 0, 0, 0, 0, 0,
0, 0, 28, 9, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 64, 9, 0, 0,
64, 1, 0, 0, 16, 0,
0, 0, 0, 0, 0, 0,
28, 9, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
89, 9, 0, 0, 80, 1,
0, 0, 64, 0, 0, 0,
0, 0, 0, 0, 108, 9,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 144, 9,
0, 0, 144, 1, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 168, 9, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 204, 9, 0, 0,
176, 1, 0, 0, 16, 0,
0, 0, 0, 0, 0, 0,
28, 9, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
234, 9, 0, 0, 192, 1,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 108, 8,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 120, 101,
95, 102, 108, 97, 103, 115,
0, 100, 119, 111, 114, 100,
0, 171, 0, 0, 19, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 73, 5,
0, 0, 120, 101, 95, 116,
101, 115, 115, 101, 108, 108,
97, 116, 105, 111, 110, 95,
102, 97, 99, 116, 111, 114,
95, 114, 97, 110, 103, 101,
0, 102, 108, 111, 97, 116,
50, 0, 1, 0, 3, 0,
1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 145, 5,
0, 0, 120, 101, 95, 108,
105, 110, 101, 95, 108, 111,
111, 112, 95, 99, 108, 111,
115, 105, 110, 103, 95, 105,
110, 100, 101, 120, 0, 120,
101, 95, 118, 101, 114, 116,
101, 120, 95, 105, 110, 100,
101, 120, 95, 101, 110, 100,
105, 97, 110, 0, 120, 101,
95, 118, 101, 114, 116, 101,
120, 95, 105, 110, 100, 101,
120, 95, 111, 102, 102, 115,
101, 116, 0, 120, 101, 95,
118, 101, 114, 116, 101, 120,
95, 105, 110, 100, 101, 120,
95, 109, 105, 110, 95, 109,
97, 120, 0, 117, 105, 110,
116, 50, 0, 171, 1, 0,
19, 0, 1, 0, 2, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
29, 6, 0, 0, 120, 101,
95, 117, 115, 101, 114, 95,
99, 108, 105, 112, 95, 112,
108, 97, 110, 101, 115, 0,
102, 108, 111, 97, 116, 52,
0, 171, 1, 0, 3, 0,
1, 0, 4, 0, 6, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 92, 6,
0, 0, 120, 101, 95, 110,
100, 99, 95, 115, 99, 97,
108, 101, 0, 102, 108, 111,
97, 116, 51, 0, 1, 0,
3, 0, 1, 0, 3, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
149, 6, 0, 0, 120, 101,
95, 112, 111, 105, 110, 116,
95, 118, 101, 114, 116, 101,
120, 95, 100, 105, 97, 109,
101, 116, 101, 114, 95, 109,
105, 110, 0, 102, 108, 111,
97, 116, 0, 171, 0, 0,
3, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
221, 6, 0, 0, 120, 101,
95, 110, 100, 99, 95, 111,
102, 102, 115, 101, 116, 0,
120, 101, 95, 112, 111, 105,
110, 116, 95, 118, 101, 114,
116, 101, 120, 95, 100, 105,
97, 109, 101, 116, 101, 114,
95, 109, 97, 120, 0, 120,
101, 95, 112, 111, 105, 110,
116, 95, 99, 111, 110, 115,
116, 97, 110, 116, 95, 100,
105, 97, 109, 101, 116, 101,
114, 0, 120, 101, 95, 112,
111, 105, 110, 116, 95, 115,
99, 114, 101, 101, 110, 95,
100, 105, 97, 109, 101, 116,
101, 114, 95, 116, 111, 95,
110, 100, 99, 95, 114, 97,
100, 105, 117, 115, 0, 120,
101, 95, 116, 101, 120, 116,
117, 114, 101, 95, 115, 119,
105, 122, 122, 108, 101, 100,
95, 115, 105, 103, 110, 115,
0, 117, 105, 110, 116, 52,
0, 171, 171, 171, 1, 0,
19, 0, 1, 0, 4, 0,
2, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
143, 7, 0, 0, 120, 101,
95, 116, 101, 120, 116, 117,
114, 101, 115, 95, 114, 101,
115, 111, 108, 118, 101, 100,
0, 120, 101, 95, 115, 97,
109, 112, 108, 101, 95, 99,
111, 117, 110, 116, 95, 108,
111, 103, 50, 0, 120, 101,
95, 97, 108, 112, 104, 97,
95, 116, 101, 115, 116, 95,
114, 101, 102, 101, 114, 101,
110, 99, 101, 0, 120, 101,
95, 97, 108, 112, 104, 97,
95, 116, 111, 95, 109, 97,
115, 107, 0, 120, 101, 95,
101, 100, 114, 97, 109, 95,
51, 50, 98, 112, 112, 95,
116, 105, 108, 101, 95, 112,
105, 116, 99, 104, 95, 100,
119, 111, 114, 100, 115, 95,
115, 99, 97, 108, 101, 100,
0, 120, 101, 95, 101, 100,
114, 97, 109, 95, 100, 101,
112, 116, 104, 95, 98, 97,
115, 101, 95, 100, 119, 111,
114, 100, 115, 95, 115, 99,
97, 108, 101, 100, 0, 120,
101, 95, 99, 111, 108, 111,
114, 95, 101, 120, 112, 95,
98, 105, 97, 115, 0, 171,
1, 0, 3, 0, 1, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 92, 6, 0, 0,
120, 101, 95, 101, 100, 114,
97, 109, 95, 112, 111, 108,
121, 95, 111, 102, 102, 115,
101, 116, 95, 102, 114, 111,
110, 116, 0, 120, 101, 95,
101, 100, 114, 97, 109, 95,
112, 111, 108, 121, 95, 111,
102, 102, 115, 101, 116, 95,
98, 97, 99, 107, 0, 120,
101, 95, 101, 100, 114, 97,
109, 95, 115, 116, 101, 110,
99, 105, 108, 0, 171, 171,
1, 0, 19, 0, 1, 0,
4, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 143, 7, 0, 0,
120, 101, 95, 101, 100, 114,
97, 109, 95, 114, 116, 95,
98, 97, 115, 101, 95, 100,
119, 111, 114, 100, 115, 95,
115, 99, 97, 108, 101, 100,
0, 171, 1, 0, 19, 0,
1, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 143, 7,
0, 0, 120, 101, 95, 101,
100, 114, 97, 109, 95, 114,
116, 95, 102, 111, 114, 109,
97, 116, 95, 102, 108, 97,
103, 115, 0, 120, 101, 95,
101, 100, 114, 97, 109, 95,
114, 116, 95, 99, 108, 97,
109, 112, 0, 171, 1, 0,
3, 0, 1, 0, 4, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
92, 6, 0, 0, 120, 101,
95, 101, 100, 114, 97, 109,
95, 114, 116, 95, 107, 101,
101, 112, 95, 109, 97, 115,
107, 0, 171, 171, 1, 0,
19, 0, 1, 0, 4, 0,
2, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
143, 7, 0, 0, 120, 101,
95, 101, 100, 114, 97, 109,
95, 114, 116, 95, 98, 108,
101, 110, 100, 95, 102, 97,
99, 116, 111, 114, 115, 95,
111, 112, 115, 0, 120, 101,
95, 101, 100, 114, 97, 109,
95, 98, 108, 101, 110, 100,
95, 99, 111, 110, 115, 116,
97, 110, 116, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 73, 83, 71, 78,
48, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 1, 1, 0, 0,
88, 69, 84, 69, 83, 83,
70, 65, 67, 84, 79, 82,
0, 171, 171, 171, 79, 83,
71, 78, 44, 0, 0, 0,
49, 0, 171, 171, 73, 83,
71, 78, 48, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 1, 1,
0, 0, 88, 69, 84, 69,
83, 83, 70, 65, 67, 84,
79, 82, 0, 171, 171, 171,
79, 83, 71, 78, 44, 0,
0, 0, 1, 0, 0, 0,
8, 0, 0, 0, 32, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
1, 14, 0, 0, 88, 69,
86, 69, 82, 84, 69, 88,
73, 68, 0, 171, 80, 67,
83, 71, 140, 0, 0, 0,
4, 0, 0, 0, 8, 0,
0, 0, 104, 0, 0, 0,
0, 0, 0, 0, 13, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 1, 14,
0, 0, 88, 69, 86, 69,
82, 84, 69, 88, 73, 68,
0, 171, 80, 67, 83, 71,
140, 0, 0, 0, 4, 0,
0, 0, 8, 0, 0, 0,
104, 0, 0, 0, 0, 0,
0, 0, 13, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 1, 14, 0, 0,
104, 0, 0, 0, 1, 0,
0, 0, 13, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 1, 14, 0, 0,
104, 0, 0, 0, 2, 0,
0, 0, 13, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 1, 14, 0, 0,
118, 0, 0, 0, 0, 0,
0, 0, 14, 0, 0, 0,
3, 0, 0, 0, 3, 0,
0, 0, 1, 14, 0, 0,
83, 86, 95, 84, 101, 115,
115, 70, 97, 99, 116, 111,
114, 0, 83, 86, 95, 73,
110, 115, 105, 100, 101, 84,
0, 0, 104, 0, 0, 0,
1, 0, 0, 0, 13, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 1, 14,
0, 0, 104, 0, 0, 0,
2, 0, 0, 0, 13, 0,
0, 0, 3, 0, 0, 0,
2, 0, 0, 0, 1, 14,
0, 0, 118, 0, 0, 0,
0, 0, 0, 0, 14, 0,
0, 0, 3, 0, 0, 0,
3, 0, 0, 0, 1, 14,
0, 0, 83, 86, 95, 84,
101, 115, 115, 70, 97, 99,
116, 111, 114, 0, 171, 171,
83, 72, 69, 88, 152, 1,
0, 0, 81, 0, 3, 0,
102, 0, 0, 0, 113, 0,
0, 1, 147, 24, 0, 1,
148, 24, 0, 1, 149, 16,
0, 1, 150, 32, 0, 1,
151, 24, 0, 1, 106, 8,
0, 1, 114, 0, 0, 1,
101, 0, 0, 3, 18, 32,
116, 111, 114, 0, 83, 86,
95, 73, 110, 115, 105, 100,
101, 84, 101, 115, 115, 70,
97, 99, 116, 111, 114, 0,
171, 171, 83, 72, 69, 88,
72, 2, 0, 0, 81, 0,
3, 0, 146, 0, 0, 0,
113, 0, 0, 1, 147, 24,
0, 1, 148, 8, 0, 1,
149, 16, 0, 1, 150, 32,
0, 1, 151, 24, 0, 1,
106, 8, 0, 1, 89, 0,
0, 7, 70, 142, 48, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 0, 0,
0, 0, 114, 0, 0, 1,
95, 0, 0, 2, 0, 176,
0, 0, 101, 0, 0, 3,
18, 32, 16, 0, 0, 0,
0, 0, 104, 0, 0, 2,
1, 0, 0, 0, 30, 0,
0, 8, 18, 0, 16, 0,
0, 0, 0, 0, 1, 176,
0, 0, 26, 128, 48, 0,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
1, 0, 0, 7, 18, 0,
16, 0, 0, 0, 0, 0,
54, 0, 0, 5, 18, 32,
10, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
255, 255, 255, 0, 83, 0,
0, 9, 18, 0, 16, 0,
0, 0, 0, 0, 10, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 0, 0,
0, 0, 62, 0, 0, 1,
115, 0, 0, 1, 153, 0,
0, 2, 3, 0, 0, 0,
95, 0, 0, 2, 0, 112,
1, 0, 95, 0, 0, 4,
42, 128, 48, 0, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 84, 0,
0, 9, 18, 0, 16, 0,
0, 0, 0, 0, 10, 0,
16, 0, 0, 0, 0, 0,
58, 128, 48, 0, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 86, 0,
0, 5, 18, 32, 16, 0,
0, 0, 0, 0, 10, 0,
16, 0, 0, 0, 0, 0,
62, 0, 0, 1, 115, 0,
0, 1, 153, 0, 0, 2,
3, 0, 0, 0, 95, 0,
0, 2, 0, 112, 1, 0,
95, 0, 0, 4, 18, 144,
33, 0, 3, 0, 0, 0,
0, 0, 0, 0, 103, 0,
0, 4, 18, 32, 16, 0,
0, 0, 0, 0, 17, 0,
0, 0, 103, 0, 0, 4,
18, 32, 16, 0, 1, 0,
0, 0, 18, 0, 0, 0,
103, 0, 0, 4, 18, 32,
16, 0, 2, 0, 0, 0,
19, 0, 0, 0, 104, 0,
0, 2, 1, 0, 0, 0,
91, 0, 0, 4, 18, 32,
16, 0, 0, 0, 0, 0,
3, 0, 0, 0, 30, 0,
0, 6, 18, 0, 16, 0,
0, 0, 0, 0, 10, 112,
1, 0, 1, 64, 0, 0,
1, 0, 0, 0, 78, 0,
0, 8, 0, 208, 0, 0,
18, 0, 16, 0, 0, 0,
0, 0, 10, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 3, 0, 0, 0,
54, 0, 0, 4, 34, 0,
16, 0, 0, 0, 0, 0,
10, 112, 1, 0, 54, 0,
0, 8, 18, 32, 144, 0,
26, 0, 16, 0, 0, 0,
0, 0, 10, 144, 161, 0,
10, 0, 16, 0, 0, 0,
0, 0, 0, 0, 0, 0,
62, 0, 0, 1, 115, 0,
0, 1, 95, 0, 0, 4,
18, 144, 33, 0, 3, 0,
0, 0, 0, 0, 0, 0,
103, 0, 0, 4, 18, 32,
16, 0, 3, 0, 0, 0,
20, 0, 0, 0, 104, 0,
0, 2, 1, 0, 0, 0,
51, 0, 0, 9, 18, 0,
16, 0, 0, 0, 0, 0,
17, 0, 0, 0, 103, 0,
0, 4, 18, 32, 16, 0,
1, 0, 0, 0, 18, 0,
0, 0, 103, 0, 0, 4,
18, 32, 16, 0, 2, 0,
0, 0, 19, 0, 0, 0,
104, 0, 0, 2, 1, 0,
0, 0, 91, 0, 0, 4,
18, 32, 16, 0, 0, 0,
0, 0, 3, 0, 0, 0,
30, 0, 0, 6, 18, 0,
16, 0, 0, 0, 0, 0,
10, 112, 1, 0, 1, 64,
0, 0, 1, 0, 0, 0,
78, 0, 0, 8, 0, 208,
0, 0, 18, 0, 16, 0,
0, 0, 0, 0, 10, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 3, 0,
0, 0, 54, 0, 0, 4,
34, 0, 16, 0, 0, 0,
0, 0, 10, 112, 1, 0,
54, 0, 0, 8, 18, 32,
144, 0, 26, 0, 16, 0,
0, 0, 0, 0, 10, 144,
161, 0, 10, 0, 16, 0,
10, 144, 33, 0, 2, 0,
0, 0, 0, 0, 0, 0,
10, 144, 33, 0, 1, 0,
0, 0, 0, 0, 0, 0,
51, 0, 0, 8, 18, 32,
16, 0, 3, 0, 0, 0,
10, 0, 16, 0, 0, 0,
0, 0, 10, 144, 33, 0,
0, 0, 0, 0, 0, 0,
0, 0, 62, 0, 0, 1,
115, 0, 0, 1, 95, 0,
0, 4, 18, 144, 33, 0,
3, 0, 0, 0, 0, 0,
0, 0, 103, 0, 0, 4,
18, 32, 16, 0, 3, 0,
0, 0, 20, 0, 0, 0,
104, 0, 0, 2, 1, 0,
0, 0, 51, 0, 0, 9,
18, 0, 16, 0, 0, 0,
0, 0, 10, 144, 33, 0,
2, 0, 0, 0, 0, 0,
0, 0, 10, 144, 33, 0,
83, 84, 65, 84, 148, 0,
0, 0, 14, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 51, 0, 0, 8,
18, 32, 16, 0, 3, 0,
0, 0, 10, 0, 16, 0,
0, 0, 0, 0, 10, 144,
33, 0, 0, 0, 0, 0,
0, 0, 0, 0, 62, 0,
0, 1, 83, 84, 65, 84,
148, 0, 0, 0, 10, 0,
0, 0, 5, 0, 0, 0,
2, 0, 0, 0, 2, 0,
0, 0, 4, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 5, 0,
0, 0, 0, 0, 10, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
3, 0, 0, 0, 4, 0,
0, 0, 2, 0, 0, 0,
1, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
10, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 3, 0, 0, 0,
4, 0, 0, 0, 2, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0
0, 0, 0, 0, 0, 0
};

View File

@@ -0,0 +1,719 @@
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//
// Buffer Definitions:
//
// cbuffer xe_system_cbuffer
// {
//
// uint xe_flags; // Offset: 0 Size: 4 [unused]
// float2 xe_tessellation_factor_range;// Offset: 4 Size: 8
// uint xe_line_loop_closing_index; // Offset: 12 Size: 4 [unused]
// uint xe_vertex_index_endian; // Offset: 16 Size: 4 [unused]
// uint xe_vertex_index_offset; // Offset: 20 Size: 4 [unused]
// uint2 xe_vertex_index_min_max; // Offset: 24 Size: 8 [unused]
// float4 xe_user_clip_planes[6]; // Offset: 32 Size: 96 [unused]
// float3 xe_ndc_scale; // Offset: 128 Size: 12 [unused]
// float xe_point_vertex_diameter_min;// Offset: 140 Size: 4 [unused]
// float3 xe_ndc_offset; // Offset: 144 Size: 12 [unused]
// float xe_point_vertex_diameter_max;// Offset: 156 Size: 4 [unused]
// float2 xe_point_constant_diameter; // Offset: 160 Size: 8 [unused]
// float2 xe_point_screen_diameter_to_ndc_radius;// Offset: 168 Size: 8 [unused]
// uint4 xe_texture_swizzled_signs[2];// Offset: 176 Size: 32 [unused]
// uint xe_textures_resolved; // Offset: 208 Size: 4 [unused]
// uint2 xe_sample_count_log2; // Offset: 212 Size: 8 [unused]
// float xe_alpha_test_reference; // Offset: 220 Size: 4 [unused]
// uint xe_alpha_to_mask; // Offset: 224 Size: 4 [unused]
// uint xe_edram_32bpp_tile_pitch_dwords_scaled;// Offset: 228 Size: 4 [unused]
// uint xe_edram_depth_base_dwords_scaled;// Offset: 232 Size: 4 [unused]
// float4 xe_color_exp_bias; // Offset: 240 Size: 16 [unused]
// float2 xe_edram_poly_offset_front; // Offset: 256 Size: 8 [unused]
// float2 xe_edram_poly_offset_back; // Offset: 264 Size: 8 [unused]
// uint4 xe_edram_stencil[2]; // Offset: 272 Size: 32 [unused]
// uint4 xe_edram_rt_base_dwords_scaled;// Offset: 304 Size: 16 [unused]
// uint4 xe_edram_rt_format_flags; // Offset: 320 Size: 16 [unused]
// float4 xe_edram_rt_clamp[4]; // Offset: 336 Size: 64 [unused]
// uint4 xe_edram_rt_keep_mask[2]; // Offset: 400 Size: 32 [unused]
// uint4 xe_edram_rt_blend_factors_ops;// Offset: 432 Size: 16 [unused]
// float4 xe_edram_blend_constant; // Offset: 448 Size: 16 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim ID HLSL Bind Count
// ------------------------------ ---------- ------- ----------- ------- -------------- ------
// xe_system_cbuffer cbuffer NA NA CB0 cb0 1
//
//
//
// Patch Constant signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_TessFactor 0 x 0 QUADEDGE float x
// SV_TessFactor 1 x 1 QUADEDGE float x
// SV_TessFactor 2 x 2 QUADEDGE float x
// SV_TessFactor 3 x 3 QUADEDGE float x
// SV_InsideTessFactor 0 x 4 QUADINT float x
// SV_InsideTessFactor 1 x 5 QUADINT float x
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// XEVERTEXID 0 x 0 NONE float x
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// XEVERTEXID 0 x 0 NONE float x
//
// Tessellation Domain # of control points
// -------------------- --------------------
// Quadrilateral 1
//
// Tessellation Output Primitive Partitioning Type
// ------------------------------ ------------------
// Clockwise Triangles Even Fractional
//
hs_5_1
hs_decls
dcl_input_control_point_count 1
dcl_output_control_point_count 1
dcl_tessellator_domain domain_quad
dcl_tessellator_partitioning partitioning_fractional_even
dcl_tessellator_output_primitive output_triangle_cw
dcl_globalFlags refactoringAllowed
dcl_constantbuffer CB0[0:0][1], immediateIndexed, space=0
hs_control_point_phase
dcl_input v[1][0].x
dcl_output o0.x
mov o0.x, v[0][0].x
ret
hs_fork_phase
dcl_hs_fork_phase_instance_count 4
dcl_input vForkInstanceID
dcl_output_siv o0.x, finalQuadUeq0EdgeTessFactor
dcl_output_siv o1.x, finalQuadVeq0EdgeTessFactor
dcl_output_siv o2.x, finalQuadUeq1EdgeTessFactor
dcl_output_siv o3.x, finalQuadVeq1EdgeTessFactor
dcl_temps 1
dcl_indexrange o0.x 4
mov r0.x, vForkInstanceID.x
mov o[r0.x + 0].x, CB0[0][0].z
ret
hs_fork_phase
dcl_hs_fork_phase_instance_count 2
dcl_input vForkInstanceID
dcl_output_siv o4.x, finalQuadUInsideTessFactor
dcl_output_siv o5.x, finalQuadVInsideTessFactor
dcl_temps 1
dcl_indexrange o4.x 2
mov r0.x, vForkInstanceID.x
mov o[r0.x + 4].x, CB0[0][0].z
ret
// Approximately 8 instruction slots used
#endif
const BYTE continuous_quad_1cp_hs[] =
{
68, 88, 66, 67, 255, 166,
36, 40, 167, 89, 99, 45,
74, 91, 165, 30, 112, 56,
14, 246, 1, 0, 0, 0,
220, 13, 0, 0, 6, 0,
0, 0, 56, 0, 0, 0,
108, 10, 0, 0, 160, 10,
0, 0, 212, 10, 0, 0,
152, 11, 0, 0, 64, 13,
0, 0, 82, 68, 69, 70,
44, 10, 0, 0, 1, 0,
0, 0, 120, 0, 0, 0,
1, 0, 0, 0, 60, 0,
0, 0, 1, 5, 83, 72,
0, 5, 0, 0, 2, 10,
0, 0, 19, 19, 68, 37,
60, 0, 0, 0, 24, 0,
0, 0, 40, 0, 0, 0,
40, 0, 0, 0, 36, 0,
0, 0, 12, 0, 0, 0,
0, 0, 0, 0, 100, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 120, 101, 95, 115,
121, 115, 116, 101, 109, 95,
99, 98, 117, 102, 102, 101,
114, 0, 171, 171, 100, 0,
0, 0, 30, 0, 0, 0,
144, 0, 0, 0, 208, 1,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 64, 5,
0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 80, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 116, 5, 0, 0,
4, 0, 0, 0, 8, 0,
0, 0, 2, 0, 0, 0,
152, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
188, 5, 0, 0, 12, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 80, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 215, 5,
0, 0, 16, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 80, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 238, 5, 0, 0,
20, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
80, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
5, 6, 0, 0, 24, 0,
0, 0, 8, 0, 0, 0,
0, 0, 0, 0, 36, 6,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 72, 6,
0, 0, 32, 0, 0, 0,
96, 0, 0, 0, 0, 0,
0, 0, 100, 6, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 136, 6, 0, 0,
128, 0, 0, 0, 12, 0,
0, 0, 0, 0, 0, 0,
156, 6, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
192, 6, 0, 0, 140, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 228, 6,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 8, 7,
0, 0, 144, 0, 0, 0,
12, 0, 0, 0, 0, 0,
0, 0, 156, 6, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 22, 7, 0, 0,
156, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
228, 6, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
51, 7, 0, 0, 160, 0,
0, 0, 8, 0, 0, 0,
0, 0, 0, 0, 152, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 78, 7,
0, 0, 168, 0, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 152, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 117, 7, 0, 0,
176, 0, 0, 0, 32, 0,
0, 0, 0, 0, 0, 0,
152, 7, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
188, 7, 0, 0, 208, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 80, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 209, 7,
0, 0, 212, 0, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 36, 6, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 230, 7, 0, 0,
220, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
228, 6, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
254, 7, 0, 0, 224, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 80, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 15, 8,
0, 0, 228, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 80, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 55, 8, 0, 0,
232, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
80, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
89, 8, 0, 0, 240, 0,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 108, 8,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 144, 8,
0, 0, 0, 1, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 152, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 171, 8, 0, 0,
8, 1, 0, 0, 8, 0,
0, 0, 0, 0, 0, 0,
152, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
197, 8, 0, 0, 16, 1,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 216, 8,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 252, 8,
0, 0, 48, 1, 0, 0,
16, 0, 0, 0, 0, 0,
0, 0, 28, 9, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 64, 9, 0, 0,
64, 1, 0, 0, 16, 0,
0, 0, 0, 0, 0, 0,
28, 9, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
89, 9, 0, 0, 80, 1,
0, 0, 64, 0, 0, 0,
0, 0, 0, 0, 108, 9,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 144, 9,
0, 0, 144, 1, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 168, 9, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 204, 9, 0, 0,
176, 1, 0, 0, 16, 0,
0, 0, 0, 0, 0, 0,
28, 9, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
234, 9, 0, 0, 192, 1,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 108, 8,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 120, 101,
95, 102, 108, 97, 103, 115,
0, 100, 119, 111, 114, 100,
0, 171, 0, 0, 19, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 73, 5,
0, 0, 120, 101, 95, 116,
101, 115, 115, 101, 108, 108,
97, 116, 105, 111, 110, 95,
102, 97, 99, 116, 111, 114,
95, 114, 97, 110, 103, 101,
0, 102, 108, 111, 97, 116,
50, 0, 1, 0, 3, 0,
1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 145, 5,
0, 0, 120, 101, 95, 108,
105, 110, 101, 95, 108, 111,
111, 112, 95, 99, 108, 111,
115, 105, 110, 103, 95, 105,
110, 100, 101, 120, 0, 120,
101, 95, 118, 101, 114, 116,
101, 120, 95, 105, 110, 100,
101, 120, 95, 101, 110, 100,
105, 97, 110, 0, 120, 101,
95, 118, 101, 114, 116, 101,
120, 95, 105, 110, 100, 101,
120, 95, 111, 102, 102, 115,
101, 116, 0, 120, 101, 95,
118, 101, 114, 116, 101, 120,
95, 105, 110, 100, 101, 120,
95, 109, 105, 110, 95, 109,
97, 120, 0, 117, 105, 110,
116, 50, 0, 171, 1, 0,
19, 0, 1, 0, 2, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
29, 6, 0, 0, 120, 101,
95, 117, 115, 101, 114, 95,
99, 108, 105, 112, 95, 112,
108, 97, 110, 101, 115, 0,
102, 108, 111, 97, 116, 52,
0, 171, 1, 0, 3, 0,
1, 0, 4, 0, 6, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 92, 6,
0, 0, 120, 101, 95, 110,
100, 99, 95, 115, 99, 97,
108, 101, 0, 102, 108, 111,
97, 116, 51, 0, 1, 0,
3, 0, 1, 0, 3, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
149, 6, 0, 0, 120, 101,
95, 112, 111, 105, 110, 116,
95, 118, 101, 114, 116, 101,
120, 95, 100, 105, 97, 109,
101, 116, 101, 114, 95, 109,
105, 110, 0, 102, 108, 111,
97, 116, 0, 171, 0, 0,
3, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
221, 6, 0, 0, 120, 101,
95, 110, 100, 99, 95, 111,
102, 102, 115, 101, 116, 0,
120, 101, 95, 112, 111, 105,
110, 116, 95, 118, 101, 114,
116, 101, 120, 95, 100, 105,
97, 109, 101, 116, 101, 114,
95, 109, 97, 120, 0, 120,
101, 95, 112, 111, 105, 110,
116, 95, 99, 111, 110, 115,
116, 97, 110, 116, 95, 100,
105, 97, 109, 101, 116, 101,
114, 0, 120, 101, 95, 112,
111, 105, 110, 116, 95, 115,
99, 114, 101, 101, 110, 95,
100, 105, 97, 109, 101, 116,
101, 114, 95, 116, 111, 95,
110, 100, 99, 95, 114, 97,
100, 105, 117, 115, 0, 120,
101, 95, 116, 101, 120, 116,
117, 114, 101, 95, 115, 119,
105, 122, 122, 108, 101, 100,
95, 115, 105, 103, 110, 115,
0, 117, 105, 110, 116, 52,
0, 171, 171, 171, 1, 0,
19, 0, 1, 0, 4, 0,
2, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
143, 7, 0, 0, 120, 101,
95, 116, 101, 120, 116, 117,
114, 101, 115, 95, 114, 101,
115, 111, 108, 118, 101, 100,
0, 120, 101, 95, 115, 97,
109, 112, 108, 101, 95, 99,
111, 117, 110, 116, 95, 108,
111, 103, 50, 0, 120, 101,
95, 97, 108, 112, 104, 97,
95, 116, 101, 115, 116, 95,
114, 101, 102, 101, 114, 101,
110, 99, 101, 0, 120, 101,
95, 97, 108, 112, 104, 97,
95, 116, 111, 95, 109, 97,
115, 107, 0, 120, 101, 95,
101, 100, 114, 97, 109, 95,
51, 50, 98, 112, 112, 95,
116, 105, 108, 101, 95, 112,
105, 116, 99, 104, 95, 100,
119, 111, 114, 100, 115, 95,
115, 99, 97, 108, 101, 100,
0, 120, 101, 95, 101, 100,
114, 97, 109, 95, 100, 101,
112, 116, 104, 95, 98, 97,
115, 101, 95, 100, 119, 111,
114, 100, 115, 95, 115, 99,
97, 108, 101, 100, 0, 120,
101, 95, 99, 111, 108, 111,
114, 95, 101, 120, 112, 95,
98, 105, 97, 115, 0, 171,
1, 0, 3, 0, 1, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 92, 6, 0, 0,
120, 101, 95, 101, 100, 114,
97, 109, 95, 112, 111, 108,
121, 95, 111, 102, 102, 115,
101, 116, 95, 102, 114, 111,
110, 116, 0, 120, 101, 95,
101, 100, 114, 97, 109, 95,
112, 111, 108, 121, 95, 111,
102, 102, 115, 101, 116, 95,
98, 97, 99, 107, 0, 120,
101, 95, 101, 100, 114, 97,
109, 95, 115, 116, 101, 110,
99, 105, 108, 0, 171, 171,
1, 0, 19, 0, 1, 0,
4, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 143, 7, 0, 0,
120, 101, 95, 101, 100, 114,
97, 109, 95, 114, 116, 95,
98, 97, 115, 101, 95, 100,
119, 111, 114, 100, 115, 95,
115, 99, 97, 108, 101, 100,
0, 171, 1, 0, 19, 0,
1, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 143, 7,
0, 0, 120, 101, 95, 101,
100, 114, 97, 109, 95, 114,
116, 95, 102, 111, 114, 109,
97, 116, 95, 102, 108, 97,
103, 115, 0, 120, 101, 95,
101, 100, 114, 97, 109, 95,
114, 116, 95, 99, 108, 97,
109, 112, 0, 171, 1, 0,
3, 0, 1, 0, 4, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
92, 6, 0, 0, 120, 101,
95, 101, 100, 114, 97, 109,
95, 114, 116, 95, 107, 101,
101, 112, 95, 109, 97, 115,
107, 0, 171, 171, 1, 0,
19, 0, 1, 0, 4, 0,
2, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
143, 7, 0, 0, 120, 101,
95, 101, 100, 114, 97, 109,
95, 114, 116, 95, 98, 108,
101, 110, 100, 95, 102, 97,
99, 116, 111, 114, 115, 95,
111, 112, 115, 0, 120, 101,
95, 101, 100, 114, 97, 109,
95, 98, 108, 101, 110, 100,
95, 99, 111, 110, 115, 116,
97, 110, 116, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 171, 171, 73, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 1, 1,
0, 0, 88, 69, 86, 69,
82, 84, 69, 88, 73, 68,
0, 171, 79, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 1, 14, 0, 0,
88, 69, 86, 69, 82, 84,
69, 88, 73, 68, 0, 171,
80, 67, 83, 71, 188, 0,
0, 0, 6, 0, 0, 0,
8, 0, 0, 0, 152, 0,
0, 0, 0, 0, 0, 0,
11, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
1, 14, 0, 0, 152, 0,
0, 0, 1, 0, 0, 0,
11, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
1, 14, 0, 0, 152, 0,
0, 0, 2, 0, 0, 0,
11, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
1, 14, 0, 0, 152, 0,
0, 0, 3, 0, 0, 0,
11, 0, 0, 0, 3, 0,
0, 0, 3, 0, 0, 0,
1, 14, 0, 0, 166, 0,
0, 0, 0, 0, 0, 0,
12, 0, 0, 0, 3, 0,
0, 0, 4, 0, 0, 0,
1, 14, 0, 0, 166, 0,
0, 0, 1, 0, 0, 0,
12, 0, 0, 0, 3, 0,
0, 0, 5, 0, 0, 0,
1, 14, 0, 0, 83, 86,
95, 84, 101, 115, 115, 70,
97, 99, 116, 111, 114, 0,
83, 86, 95, 73, 110, 115,
105, 100, 101, 84, 101, 115,
115, 70, 97, 99, 116, 111,
114, 0, 171, 171, 83, 72,
69, 88, 160, 1, 0, 0,
81, 0, 3, 0, 104, 0,
0, 0, 113, 0, 0, 1,
147, 8, 0, 1, 148, 8,
0, 1, 149, 24, 0, 1,
150, 32, 0, 1, 151, 24,
0, 1, 106, 8, 0, 1,
89, 0, 0, 7, 70, 142,
48, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 114, 0,
0, 1, 95, 0, 0, 4,
18, 16, 32, 0, 1, 0,
0, 0, 0, 0, 0, 0,
101, 0, 0, 3, 18, 32,
16, 0, 0, 0, 0, 0,
54, 0, 0, 6, 18, 32,
16, 0, 0, 0, 0, 0,
10, 16, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
62, 0, 0, 1, 115, 0,
0, 1, 153, 0, 0, 2,
4, 0, 0, 0, 95, 0,
0, 2, 0, 112, 1, 0,
103, 0, 0, 4, 18, 32,
16, 0, 0, 0, 0, 0,
11, 0, 0, 0, 103, 0,
0, 4, 18, 32, 16, 0,
1, 0, 0, 0, 12, 0,
0, 0, 103, 0, 0, 4,
18, 32, 16, 0, 2, 0,
0, 0, 13, 0, 0, 0,
103, 0, 0, 4, 18, 32,
16, 0, 3, 0, 0, 0,
14, 0, 0, 0, 104, 0,
0, 2, 1, 0, 0, 0,
91, 0, 0, 4, 18, 32,
16, 0, 0, 0, 0, 0,
4, 0, 0, 0, 54, 0,
0, 4, 18, 0, 16, 0,
0, 0, 0, 0, 10, 112,
1, 0, 54, 0, 0, 8,
18, 32, 144, 0, 10, 0,
16, 0, 0, 0, 0, 0,
42, 128, 48, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 62, 0,
0, 1, 115, 0, 0, 1,
153, 0, 0, 2, 2, 0,
0, 0, 95, 0, 0, 2,
0, 112, 1, 0, 103, 0,
0, 4, 18, 32, 16, 0,
4, 0, 0, 0, 15, 0,
0, 0, 103, 0, 0, 4,
18, 32, 16, 0, 5, 0,
0, 0, 16, 0, 0, 0,
104, 0, 0, 2, 1, 0,
0, 0, 91, 0, 0, 4,
18, 32, 16, 0, 4, 0,
0, 0, 2, 0, 0, 0,
54, 0, 0, 4, 18, 0,
16, 0, 0, 0, 0, 0,
10, 112, 1, 0, 54, 0,
0, 9, 18, 32, 208, 0,
4, 0, 0, 0, 10, 0,
16, 0, 0, 0, 0, 0,
42, 128, 48, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 62, 0,
0, 1, 83, 84, 65, 84,
148, 0, 0, 0, 8, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 5, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 5, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
4, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0
};

View File

@@ -117,7 +117,7 @@ ret
// Approximately 6 instruction slots used
#endif
const BYTE continuous_quad_hs[] =
const BYTE continuous_quad_4cp_hs[] =
{
68, 88, 66, 67, 196, 234,
51, 156, 242, 124, 98, 132,

View File

@@ -0,0 +1,686 @@
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//
// Buffer Definitions:
//
// cbuffer xe_system_cbuffer
// {
//
// uint xe_flags; // Offset: 0 Size: 4 [unused]
// float2 xe_tessellation_factor_range;// Offset: 4 Size: 8
// uint xe_line_loop_closing_index; // Offset: 12 Size: 4 [unused]
// uint xe_vertex_index_endian; // Offset: 16 Size: 4 [unused]
// uint xe_vertex_index_offset; // Offset: 20 Size: 4 [unused]
// uint2 xe_vertex_index_min_max; // Offset: 24 Size: 8 [unused]
// float4 xe_user_clip_planes[6]; // Offset: 32 Size: 96 [unused]
// float3 xe_ndc_scale; // Offset: 128 Size: 12 [unused]
// float xe_point_vertex_diameter_min;// Offset: 140 Size: 4 [unused]
// float3 xe_ndc_offset; // Offset: 144 Size: 12 [unused]
// float xe_point_vertex_diameter_max;// Offset: 156 Size: 4 [unused]
// float2 xe_point_constant_diameter; // Offset: 160 Size: 8 [unused]
// float2 xe_point_screen_diameter_to_ndc_radius;// Offset: 168 Size: 8 [unused]
// uint4 xe_texture_swizzled_signs[2];// Offset: 176 Size: 32 [unused]
// uint xe_textures_resolved; // Offset: 208 Size: 4 [unused]
// uint2 xe_sample_count_log2; // Offset: 212 Size: 8 [unused]
// float xe_alpha_test_reference; // Offset: 220 Size: 4 [unused]
// uint xe_alpha_to_mask; // Offset: 224 Size: 4 [unused]
// uint xe_edram_32bpp_tile_pitch_dwords_scaled;// Offset: 228 Size: 4 [unused]
// uint xe_edram_depth_base_dwords_scaled;// Offset: 232 Size: 4 [unused]
// float4 xe_color_exp_bias; // Offset: 240 Size: 16 [unused]
// float2 xe_edram_poly_offset_front; // Offset: 256 Size: 8 [unused]
// float2 xe_edram_poly_offset_back; // Offset: 264 Size: 8 [unused]
// uint4 xe_edram_stencil[2]; // Offset: 272 Size: 32 [unused]
// uint4 xe_edram_rt_base_dwords_scaled;// Offset: 304 Size: 16 [unused]
// uint4 xe_edram_rt_format_flags; // Offset: 320 Size: 16 [unused]
// float4 xe_edram_rt_clamp[4]; // Offset: 336 Size: 64 [unused]
// uint4 xe_edram_rt_keep_mask[2]; // Offset: 400 Size: 32 [unused]
// uint4 xe_edram_rt_blend_factors_ops;// Offset: 432 Size: 16 [unused]
// float4 xe_edram_blend_constant; // Offset: 448 Size: 16 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim ID HLSL Bind Count
// ------------------------------ ---------- ------- ----------- ------- -------------- ------
// xe_system_cbuffer cbuffer NA NA CB0 cb0 1
//
//
//
// Patch Constant signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_TessFactor 0 x 0 TRIEDGE float x
// SV_TessFactor 1 x 1 TRIEDGE float x
// SV_TessFactor 2 x 2 TRIEDGE float x
// SV_InsideTessFactor 0 x 3 TRIINT float x
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// XEVERTEXID 0 x 0 NONE float x
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// XEVERTEXID 0 x 0 NONE float x
//
// Tessellation Domain # of control points
// -------------------- --------------------
// Triangle 1
//
// Tessellation Output Primitive Partitioning Type
// ------------------------------ ------------------
// Clockwise Triangles Even Fractional
//
hs_5_1
hs_decls
dcl_input_control_point_count 1
dcl_output_control_point_count 1
dcl_tessellator_domain domain_tri
dcl_tessellator_partitioning partitioning_fractional_even
dcl_tessellator_output_primitive output_triangle_cw
dcl_globalFlags refactoringAllowed
dcl_constantbuffer CB0[0:0][1], immediateIndexed, space=0
hs_control_point_phase
dcl_input v[1][0].x
dcl_output o0.x
mov o0.x, v[0][0].x
ret
hs_fork_phase
dcl_hs_fork_phase_instance_count 3
dcl_input vForkInstanceID
dcl_output_siv o0.x, finalTriUeq0EdgeTessFactor
dcl_output_siv o1.x, finalTriVeq0EdgeTessFactor
dcl_output_siv o2.x, finalTriWeq0EdgeTessFactor
dcl_temps 1
dcl_indexrange o0.x 3
mov r0.x, vForkInstanceID.x
mov o[r0.x + 0].x, CB0[0][0].z
ret
hs_fork_phase
dcl_output_siv o3.x, finalTriInsideTessFactor
mov o3.x, CB0[0][0].z
ret
// Approximately 7 instruction slots used
#endif
const BYTE continuous_triangle_1cp_hs[] =
{
68, 88, 66, 67, 90, 24,
246, 119, 168, 170, 239, 21,
106, 76, 181, 188, 133, 81,
250, 172, 1, 0, 0, 0,
76, 13, 0, 0, 6, 0,
0, 0, 56, 0, 0, 0,
108, 10, 0, 0, 160, 10,
0, 0, 212, 10, 0, 0,
104, 11, 0, 0, 176, 12,
0, 0, 82, 68, 69, 70,
44, 10, 0, 0, 1, 0,
0, 0, 120, 0, 0, 0,
1, 0, 0, 0, 60, 0,
0, 0, 1, 5, 83, 72,
0, 5, 0, 0, 2, 10,
0, 0, 19, 19, 68, 37,
60, 0, 0, 0, 24, 0,
0, 0, 40, 0, 0, 0,
40, 0, 0, 0, 36, 0,
0, 0, 12, 0, 0, 0,
0, 0, 0, 0, 100, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 120, 101, 95, 115,
121, 115, 116, 101, 109, 95,
99, 98, 117, 102, 102, 101,
114, 0, 171, 171, 100, 0,
0, 0, 30, 0, 0, 0,
144, 0, 0, 0, 208, 1,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 64, 5,
0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 80, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 116, 5, 0, 0,
4, 0, 0, 0, 8, 0,
0, 0, 2, 0, 0, 0,
152, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
188, 5, 0, 0, 12, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 80, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 215, 5,
0, 0, 16, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 80, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 238, 5, 0, 0,
20, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
80, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
5, 6, 0, 0, 24, 0,
0, 0, 8, 0, 0, 0,
0, 0, 0, 0, 36, 6,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 72, 6,
0, 0, 32, 0, 0, 0,
96, 0, 0, 0, 0, 0,
0, 0, 100, 6, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 136, 6, 0, 0,
128, 0, 0, 0, 12, 0,
0, 0, 0, 0, 0, 0,
156, 6, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
192, 6, 0, 0, 140, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 228, 6,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 8, 7,
0, 0, 144, 0, 0, 0,
12, 0, 0, 0, 0, 0,
0, 0, 156, 6, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 22, 7, 0, 0,
156, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
228, 6, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
51, 7, 0, 0, 160, 0,
0, 0, 8, 0, 0, 0,
0, 0, 0, 0, 152, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 78, 7,
0, 0, 168, 0, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 152, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 117, 7, 0, 0,
176, 0, 0, 0, 32, 0,
0, 0, 0, 0, 0, 0,
152, 7, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
188, 7, 0, 0, 208, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 80, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 209, 7,
0, 0, 212, 0, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 36, 6, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 230, 7, 0, 0,
220, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
228, 6, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
254, 7, 0, 0, 224, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 80, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 15, 8,
0, 0, 228, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 80, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 55, 8, 0, 0,
232, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
80, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
89, 8, 0, 0, 240, 0,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 108, 8,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 144, 8,
0, 0, 0, 1, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 152, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 171, 8, 0, 0,
8, 1, 0, 0, 8, 0,
0, 0, 0, 0, 0, 0,
152, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
197, 8, 0, 0, 16, 1,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 216, 8,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 252, 8,
0, 0, 48, 1, 0, 0,
16, 0, 0, 0, 0, 0,
0, 0, 28, 9, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 64, 9, 0, 0,
64, 1, 0, 0, 16, 0,
0, 0, 0, 0, 0, 0,
28, 9, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
89, 9, 0, 0, 80, 1,
0, 0, 64, 0, 0, 0,
0, 0, 0, 0, 108, 9,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 144, 9,
0, 0, 144, 1, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 168, 9, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 204, 9, 0, 0,
176, 1, 0, 0, 16, 0,
0, 0, 0, 0, 0, 0,
28, 9, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
234, 9, 0, 0, 192, 1,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 108, 8,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 120, 101,
95, 102, 108, 97, 103, 115,
0, 100, 119, 111, 114, 100,
0, 171, 0, 0, 19, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 73, 5,
0, 0, 120, 101, 95, 116,
101, 115, 115, 101, 108, 108,
97, 116, 105, 111, 110, 95,
102, 97, 99, 116, 111, 114,
95, 114, 97, 110, 103, 101,
0, 102, 108, 111, 97, 116,
50, 0, 1, 0, 3, 0,
1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 145, 5,
0, 0, 120, 101, 95, 108,
105, 110, 101, 95, 108, 111,
111, 112, 95, 99, 108, 111,
115, 105, 110, 103, 95, 105,
110, 100, 101, 120, 0, 120,
101, 95, 118, 101, 114, 116,
101, 120, 95, 105, 110, 100,
101, 120, 95, 101, 110, 100,
105, 97, 110, 0, 120, 101,
95, 118, 101, 114, 116, 101,
120, 95, 105, 110, 100, 101,
120, 95, 111, 102, 102, 115,
101, 116, 0, 120, 101, 95,
118, 101, 114, 116, 101, 120,
95, 105, 110, 100, 101, 120,
95, 109, 105, 110, 95, 109,
97, 120, 0, 117, 105, 110,
116, 50, 0, 171, 1, 0,
19, 0, 1, 0, 2, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
29, 6, 0, 0, 120, 101,
95, 117, 115, 101, 114, 95,
99, 108, 105, 112, 95, 112,
108, 97, 110, 101, 115, 0,
102, 108, 111, 97, 116, 52,
0, 171, 1, 0, 3, 0,
1, 0, 4, 0, 6, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 92, 6,
0, 0, 120, 101, 95, 110,
100, 99, 95, 115, 99, 97,
108, 101, 0, 102, 108, 111,
97, 116, 51, 0, 1, 0,
3, 0, 1, 0, 3, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
149, 6, 0, 0, 120, 101,
95, 112, 111, 105, 110, 116,
95, 118, 101, 114, 116, 101,
120, 95, 100, 105, 97, 109,
101, 116, 101, 114, 95, 109,
105, 110, 0, 102, 108, 111,
97, 116, 0, 171, 0, 0,
3, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
221, 6, 0, 0, 120, 101,
95, 110, 100, 99, 95, 111,
102, 102, 115, 101, 116, 0,
120, 101, 95, 112, 111, 105,
110, 116, 95, 118, 101, 114,
116, 101, 120, 95, 100, 105,
97, 109, 101, 116, 101, 114,
95, 109, 97, 120, 0, 120,
101, 95, 112, 111, 105, 110,
116, 95, 99, 111, 110, 115,
116, 97, 110, 116, 95, 100,
105, 97, 109, 101, 116, 101,
114, 0, 120, 101, 95, 112,
111, 105, 110, 116, 95, 115,
99, 114, 101, 101, 110, 95,
100, 105, 97, 109, 101, 116,
101, 114, 95, 116, 111, 95,
110, 100, 99, 95, 114, 97,
100, 105, 117, 115, 0, 120,
101, 95, 116, 101, 120, 116,
117, 114, 101, 95, 115, 119,
105, 122, 122, 108, 101, 100,
95, 115, 105, 103, 110, 115,
0, 117, 105, 110, 116, 52,
0, 171, 171, 171, 1, 0,
19, 0, 1, 0, 4, 0,
2, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
143, 7, 0, 0, 120, 101,
95, 116, 101, 120, 116, 117,
114, 101, 115, 95, 114, 101,
115, 111, 108, 118, 101, 100,
0, 120, 101, 95, 115, 97,
109, 112, 108, 101, 95, 99,
111, 117, 110, 116, 95, 108,
111, 103, 50, 0, 120, 101,
95, 97, 108, 112, 104, 97,
95, 116, 101, 115, 116, 95,
114, 101, 102, 101, 114, 101,
110, 99, 101, 0, 120, 101,
95, 97, 108, 112, 104, 97,
95, 116, 111, 95, 109, 97,
115, 107, 0, 120, 101, 95,
101, 100, 114, 97, 109, 95,
51, 50, 98, 112, 112, 95,
116, 105, 108, 101, 95, 112,
105, 116, 99, 104, 95, 100,
119, 111, 114, 100, 115, 95,
115, 99, 97, 108, 101, 100,
0, 120, 101, 95, 101, 100,
114, 97, 109, 95, 100, 101,
112, 116, 104, 95, 98, 97,
115, 101, 95, 100, 119, 111,
114, 100, 115, 95, 115, 99,
97, 108, 101, 100, 0, 120,
101, 95, 99, 111, 108, 111,
114, 95, 101, 120, 112, 95,
98, 105, 97, 115, 0, 171,
1, 0, 3, 0, 1, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 92, 6, 0, 0,
120, 101, 95, 101, 100, 114,
97, 109, 95, 112, 111, 108,
121, 95, 111, 102, 102, 115,
101, 116, 95, 102, 114, 111,
110, 116, 0, 120, 101, 95,
101, 100, 114, 97, 109, 95,
112, 111, 108, 121, 95, 111,
102, 102, 115, 101, 116, 95,
98, 97, 99, 107, 0, 120,
101, 95, 101, 100, 114, 97,
109, 95, 115, 116, 101, 110,
99, 105, 108, 0, 171, 171,
1, 0, 19, 0, 1, 0,
4, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 143, 7, 0, 0,
120, 101, 95, 101, 100, 114,
97, 109, 95, 114, 116, 95,
98, 97, 115, 101, 95, 100,
119, 111, 114, 100, 115, 95,
115, 99, 97, 108, 101, 100,
0, 171, 1, 0, 19, 0,
1, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 143, 7,
0, 0, 120, 101, 95, 101,
100, 114, 97, 109, 95, 114,
116, 95, 102, 111, 114, 109,
97, 116, 95, 102, 108, 97,
103, 115, 0, 120, 101, 95,
101, 100, 114, 97, 109, 95,
114, 116, 95, 99, 108, 97,
109, 112, 0, 171, 1, 0,
3, 0, 1, 0, 4, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
92, 6, 0, 0, 120, 101,
95, 101, 100, 114, 97, 109,
95, 114, 116, 95, 107, 101,
101, 112, 95, 109, 97, 115,
107, 0, 171, 171, 1, 0,
19, 0, 1, 0, 4, 0,
2, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
143, 7, 0, 0, 120, 101,
95, 101, 100, 114, 97, 109,
95, 114, 116, 95, 98, 108,
101, 110, 100, 95, 102, 97,
99, 116, 111, 114, 115, 95,
111, 112, 115, 0, 120, 101,
95, 101, 100, 114, 97, 109,
95, 98, 108, 101, 110, 100,
95, 99, 111, 110, 115, 116,
97, 110, 116, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 171, 171, 73, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 1, 1,
0, 0, 88, 69, 86, 69,
82, 84, 69, 88, 73, 68,
0, 171, 79, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 1, 14, 0, 0,
88, 69, 86, 69, 82, 84,
69, 88, 73, 68, 0, 171,
80, 67, 83, 71, 140, 0,
0, 0, 4, 0, 0, 0,
8, 0, 0, 0, 104, 0,
0, 0, 0, 0, 0, 0,
13, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
1, 14, 0, 0, 104, 0,
0, 0, 1, 0, 0, 0,
13, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
1, 14, 0, 0, 104, 0,
0, 0, 2, 0, 0, 0,
13, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
1, 14, 0, 0, 118, 0,
0, 0, 0, 0, 0, 0,
14, 0, 0, 0, 3, 0,
0, 0, 3, 0, 0, 0,
1, 14, 0, 0, 83, 86,
95, 84, 101, 115, 115, 70,
97, 99, 116, 111, 114, 0,
83, 86, 95, 73, 110, 115,
105, 100, 101, 84, 101, 115,
115, 70, 97, 99, 116, 111,
114, 0, 171, 171, 83, 72,
69, 88, 64, 1, 0, 0,
81, 0, 3, 0, 80, 0,
0, 0, 113, 0, 0, 1,
147, 8, 0, 1, 148, 8,
0, 1, 149, 16, 0, 1,
150, 32, 0, 1, 151, 24,
0, 1, 106, 8, 0, 1,
89, 0, 0, 7, 70, 142,
48, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 114, 0,
0, 1, 95, 0, 0, 4,
18, 16, 32, 0, 1, 0,
0, 0, 0, 0, 0, 0,
101, 0, 0, 3, 18, 32,
16, 0, 0, 0, 0, 0,
54, 0, 0, 6, 18, 32,
16, 0, 0, 0, 0, 0,
10, 16, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
62, 0, 0, 1, 115, 0,
0, 1, 153, 0, 0, 2,
3, 0, 0, 0, 95, 0,
0, 2, 0, 112, 1, 0,
103, 0, 0, 4, 18, 32,
16, 0, 0, 0, 0, 0,
17, 0, 0, 0, 103, 0,
0, 4, 18, 32, 16, 0,
1, 0, 0, 0, 18, 0,
0, 0, 103, 0, 0, 4,
18, 32, 16, 0, 2, 0,
0, 0, 19, 0, 0, 0,
104, 0, 0, 2, 1, 0,
0, 0, 91, 0, 0, 4,
18, 32, 16, 0, 0, 0,
0, 0, 3, 0, 0, 0,
54, 0, 0, 4, 18, 0,
16, 0, 0, 0, 0, 0,
10, 112, 1, 0, 54, 0,
0, 8, 18, 32, 144, 0,
10, 0, 16, 0, 0, 0,
0, 0, 42, 128, 48, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
62, 0, 0, 1, 115, 0,
0, 1, 103, 0, 0, 4,
18, 32, 16, 0, 3, 0,
0, 0, 20, 0, 0, 0,
54, 0, 0, 7, 18, 32,
16, 0, 3, 0, 0, 0,
42, 128, 48, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 62, 0,
0, 1, 83, 84, 65, 84,
148, 0, 0, 0, 7, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
4, 0, 0, 0, 2, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0
};

View File

@@ -108,7 +108,7 @@ ret
// Approximately 5 instruction slots used
#endif
const BYTE continuous_triangle_hs[] =
const BYTE continuous_triangle_3cp_hs[] =
{
68, 88, 66, 67, 40, 16,
64, 130, 119, 149, 137, 0,

View File

@@ -0,0 +1,719 @@
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//
// Buffer Definitions:
//
// cbuffer xe_system_cbuffer
// {
//
// uint xe_flags; // Offset: 0 Size: 4 [unused]
// float2 xe_tessellation_factor_range;// Offset: 4 Size: 8
// uint xe_line_loop_closing_index; // Offset: 12 Size: 4 [unused]
// uint xe_vertex_index_endian; // Offset: 16 Size: 4 [unused]
// uint xe_vertex_index_offset; // Offset: 20 Size: 4 [unused]
// uint2 xe_vertex_index_min_max; // Offset: 24 Size: 8 [unused]
// float4 xe_user_clip_planes[6]; // Offset: 32 Size: 96 [unused]
// float3 xe_ndc_scale; // Offset: 128 Size: 12 [unused]
// float xe_point_vertex_diameter_min;// Offset: 140 Size: 4 [unused]
// float3 xe_ndc_offset; // Offset: 144 Size: 12 [unused]
// float xe_point_vertex_diameter_max;// Offset: 156 Size: 4 [unused]
// float2 xe_point_constant_diameter; // Offset: 160 Size: 8 [unused]
// float2 xe_point_screen_diameter_to_ndc_radius;// Offset: 168 Size: 8 [unused]
// uint4 xe_texture_swizzled_signs[2];// Offset: 176 Size: 32 [unused]
// uint xe_textures_resolved; // Offset: 208 Size: 4 [unused]
// uint2 xe_sample_count_log2; // Offset: 212 Size: 8 [unused]
// float xe_alpha_test_reference; // Offset: 220 Size: 4 [unused]
// uint xe_alpha_to_mask; // Offset: 224 Size: 4 [unused]
// uint xe_edram_32bpp_tile_pitch_dwords_scaled;// Offset: 228 Size: 4 [unused]
// uint xe_edram_depth_base_dwords_scaled;// Offset: 232 Size: 4 [unused]
// float4 xe_color_exp_bias; // Offset: 240 Size: 16 [unused]
// float2 xe_edram_poly_offset_front; // Offset: 256 Size: 8 [unused]
// float2 xe_edram_poly_offset_back; // Offset: 264 Size: 8 [unused]
// uint4 xe_edram_stencil[2]; // Offset: 272 Size: 32 [unused]
// uint4 xe_edram_rt_base_dwords_scaled;// Offset: 304 Size: 16 [unused]
// uint4 xe_edram_rt_format_flags; // Offset: 320 Size: 16 [unused]
// float4 xe_edram_rt_clamp[4]; // Offset: 336 Size: 64 [unused]
// uint4 xe_edram_rt_keep_mask[2]; // Offset: 400 Size: 32 [unused]
// uint4 xe_edram_rt_blend_factors_ops;// Offset: 432 Size: 16 [unused]
// float4 xe_edram_blend_constant; // Offset: 448 Size: 16 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim ID HLSL Bind Count
// ------------------------------ ---------- ------- ----------- ------- -------------- ------
// xe_system_cbuffer cbuffer NA NA CB0 cb0 1
//
//
//
// Patch Constant signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_TessFactor 0 x 0 QUADEDGE float x
// SV_TessFactor 1 x 1 QUADEDGE float x
// SV_TessFactor 2 x 2 QUADEDGE float x
// SV_TessFactor 3 x 3 QUADEDGE float x
// SV_InsideTessFactor 0 x 4 QUADINT float x
// SV_InsideTessFactor 1 x 5 QUADINT float x
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// XEVERTEXID 0 x 0 NONE float x
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// XEVERTEXID 0 x 0 NONE float x
//
// Tessellation Domain # of control points
// -------------------- --------------------
// Quadrilateral 1
//
// Tessellation Output Primitive Partitioning Type
// ------------------------------ ------------------
// Clockwise Triangles Integer
//
hs_5_1
hs_decls
dcl_input_control_point_count 1
dcl_output_control_point_count 1
dcl_tessellator_domain domain_quad
dcl_tessellator_partitioning partitioning_integer
dcl_tessellator_output_primitive output_triangle_cw
dcl_globalFlags refactoringAllowed
dcl_constantbuffer CB0[0:0][1], immediateIndexed, space=0
hs_control_point_phase
dcl_input v[1][0].x
dcl_output o0.x
mov o0.x, v[0][0].x
ret
hs_fork_phase
dcl_hs_fork_phase_instance_count 4
dcl_input vForkInstanceID
dcl_output_siv o0.x, finalQuadUeq0EdgeTessFactor
dcl_output_siv o1.x, finalQuadVeq0EdgeTessFactor
dcl_output_siv o2.x, finalQuadUeq1EdgeTessFactor
dcl_output_siv o3.x, finalQuadVeq1EdgeTessFactor
dcl_temps 1
dcl_indexrange o0.x 4
mov r0.x, vForkInstanceID.x
mov o[r0.x + 0].x, CB0[0][0].z
ret
hs_fork_phase
dcl_hs_fork_phase_instance_count 2
dcl_input vForkInstanceID
dcl_output_siv o4.x, finalQuadUInsideTessFactor
dcl_output_siv o5.x, finalQuadVInsideTessFactor
dcl_temps 1
dcl_indexrange o4.x 2
mov r0.x, vForkInstanceID.x
mov o[r0.x + 4].x, CB0[0][0].z
ret
// Approximately 8 instruction slots used
#endif
const BYTE discrete_quad_1cp_hs[] =
{
68, 88, 66, 67, 166, 226,
56, 134, 119, 149, 47, 144,
135, 3, 42, 236, 243, 129,
164, 56, 1, 0, 0, 0,
220, 13, 0, 0, 6, 0,
0, 0, 56, 0, 0, 0,
108, 10, 0, 0, 160, 10,
0, 0, 212, 10, 0, 0,
152, 11, 0, 0, 64, 13,
0, 0, 82, 68, 69, 70,
44, 10, 0, 0, 1, 0,
0, 0, 120, 0, 0, 0,
1, 0, 0, 0, 60, 0,
0, 0, 1, 5, 83, 72,
0, 5, 0, 0, 2, 10,
0, 0, 19, 19, 68, 37,
60, 0, 0, 0, 24, 0,
0, 0, 40, 0, 0, 0,
40, 0, 0, 0, 36, 0,
0, 0, 12, 0, 0, 0,
0, 0, 0, 0, 100, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 120, 101, 95, 115,
121, 115, 116, 101, 109, 95,
99, 98, 117, 102, 102, 101,
114, 0, 171, 171, 100, 0,
0, 0, 30, 0, 0, 0,
144, 0, 0, 0, 208, 1,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 64, 5,
0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 80, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 116, 5, 0, 0,
4, 0, 0, 0, 8, 0,
0, 0, 2, 0, 0, 0,
152, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
188, 5, 0, 0, 12, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 80, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 215, 5,
0, 0, 16, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 80, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 238, 5, 0, 0,
20, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
80, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
5, 6, 0, 0, 24, 0,
0, 0, 8, 0, 0, 0,
0, 0, 0, 0, 36, 6,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 72, 6,
0, 0, 32, 0, 0, 0,
96, 0, 0, 0, 0, 0,
0, 0, 100, 6, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 136, 6, 0, 0,
128, 0, 0, 0, 12, 0,
0, 0, 0, 0, 0, 0,
156, 6, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
192, 6, 0, 0, 140, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 228, 6,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 8, 7,
0, 0, 144, 0, 0, 0,
12, 0, 0, 0, 0, 0,
0, 0, 156, 6, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 22, 7, 0, 0,
156, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
228, 6, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
51, 7, 0, 0, 160, 0,
0, 0, 8, 0, 0, 0,
0, 0, 0, 0, 152, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 78, 7,
0, 0, 168, 0, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 152, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 117, 7, 0, 0,
176, 0, 0, 0, 32, 0,
0, 0, 0, 0, 0, 0,
152, 7, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
188, 7, 0, 0, 208, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 80, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 209, 7,
0, 0, 212, 0, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 36, 6, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 230, 7, 0, 0,
220, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
228, 6, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
254, 7, 0, 0, 224, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 80, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 15, 8,
0, 0, 228, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 80, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 55, 8, 0, 0,
232, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
80, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
89, 8, 0, 0, 240, 0,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 108, 8,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 144, 8,
0, 0, 0, 1, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 152, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 171, 8, 0, 0,
8, 1, 0, 0, 8, 0,
0, 0, 0, 0, 0, 0,
152, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
197, 8, 0, 0, 16, 1,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 216, 8,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 252, 8,
0, 0, 48, 1, 0, 0,
16, 0, 0, 0, 0, 0,
0, 0, 28, 9, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 64, 9, 0, 0,
64, 1, 0, 0, 16, 0,
0, 0, 0, 0, 0, 0,
28, 9, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
89, 9, 0, 0, 80, 1,
0, 0, 64, 0, 0, 0,
0, 0, 0, 0, 108, 9,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 144, 9,
0, 0, 144, 1, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 168, 9, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 204, 9, 0, 0,
176, 1, 0, 0, 16, 0,
0, 0, 0, 0, 0, 0,
28, 9, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
234, 9, 0, 0, 192, 1,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 108, 8,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 120, 101,
95, 102, 108, 97, 103, 115,
0, 100, 119, 111, 114, 100,
0, 171, 0, 0, 19, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 73, 5,
0, 0, 120, 101, 95, 116,
101, 115, 115, 101, 108, 108,
97, 116, 105, 111, 110, 95,
102, 97, 99, 116, 111, 114,
95, 114, 97, 110, 103, 101,
0, 102, 108, 111, 97, 116,
50, 0, 1, 0, 3, 0,
1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 145, 5,
0, 0, 120, 101, 95, 108,
105, 110, 101, 95, 108, 111,
111, 112, 95, 99, 108, 111,
115, 105, 110, 103, 95, 105,
110, 100, 101, 120, 0, 120,
101, 95, 118, 101, 114, 116,
101, 120, 95, 105, 110, 100,
101, 120, 95, 101, 110, 100,
105, 97, 110, 0, 120, 101,
95, 118, 101, 114, 116, 101,
120, 95, 105, 110, 100, 101,
120, 95, 111, 102, 102, 115,
101, 116, 0, 120, 101, 95,
118, 101, 114, 116, 101, 120,
95, 105, 110, 100, 101, 120,
95, 109, 105, 110, 95, 109,
97, 120, 0, 117, 105, 110,
116, 50, 0, 171, 1, 0,
19, 0, 1, 0, 2, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
29, 6, 0, 0, 120, 101,
95, 117, 115, 101, 114, 95,
99, 108, 105, 112, 95, 112,
108, 97, 110, 101, 115, 0,
102, 108, 111, 97, 116, 52,
0, 171, 1, 0, 3, 0,
1, 0, 4, 0, 6, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 92, 6,
0, 0, 120, 101, 95, 110,
100, 99, 95, 115, 99, 97,
108, 101, 0, 102, 108, 111,
97, 116, 51, 0, 1, 0,
3, 0, 1, 0, 3, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
149, 6, 0, 0, 120, 101,
95, 112, 111, 105, 110, 116,
95, 118, 101, 114, 116, 101,
120, 95, 100, 105, 97, 109,
101, 116, 101, 114, 95, 109,
105, 110, 0, 102, 108, 111,
97, 116, 0, 171, 0, 0,
3, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
221, 6, 0, 0, 120, 101,
95, 110, 100, 99, 95, 111,
102, 102, 115, 101, 116, 0,
120, 101, 95, 112, 111, 105,
110, 116, 95, 118, 101, 114,
116, 101, 120, 95, 100, 105,
97, 109, 101, 116, 101, 114,
95, 109, 97, 120, 0, 120,
101, 95, 112, 111, 105, 110,
116, 95, 99, 111, 110, 115,
116, 97, 110, 116, 95, 100,
105, 97, 109, 101, 116, 101,
114, 0, 120, 101, 95, 112,
111, 105, 110, 116, 95, 115,
99, 114, 101, 101, 110, 95,
100, 105, 97, 109, 101, 116,
101, 114, 95, 116, 111, 95,
110, 100, 99, 95, 114, 97,
100, 105, 117, 115, 0, 120,
101, 95, 116, 101, 120, 116,
117, 114, 101, 95, 115, 119,
105, 122, 122, 108, 101, 100,
95, 115, 105, 103, 110, 115,
0, 117, 105, 110, 116, 52,
0, 171, 171, 171, 1, 0,
19, 0, 1, 0, 4, 0,
2, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
143, 7, 0, 0, 120, 101,
95, 116, 101, 120, 116, 117,
114, 101, 115, 95, 114, 101,
115, 111, 108, 118, 101, 100,
0, 120, 101, 95, 115, 97,
109, 112, 108, 101, 95, 99,
111, 117, 110, 116, 95, 108,
111, 103, 50, 0, 120, 101,
95, 97, 108, 112, 104, 97,
95, 116, 101, 115, 116, 95,
114, 101, 102, 101, 114, 101,
110, 99, 101, 0, 120, 101,
95, 97, 108, 112, 104, 97,
95, 116, 111, 95, 109, 97,
115, 107, 0, 120, 101, 95,
101, 100, 114, 97, 109, 95,
51, 50, 98, 112, 112, 95,
116, 105, 108, 101, 95, 112,
105, 116, 99, 104, 95, 100,
119, 111, 114, 100, 115, 95,
115, 99, 97, 108, 101, 100,
0, 120, 101, 95, 101, 100,
114, 97, 109, 95, 100, 101,
112, 116, 104, 95, 98, 97,
115, 101, 95, 100, 119, 111,
114, 100, 115, 95, 115, 99,
97, 108, 101, 100, 0, 120,
101, 95, 99, 111, 108, 111,
114, 95, 101, 120, 112, 95,
98, 105, 97, 115, 0, 171,
1, 0, 3, 0, 1, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 92, 6, 0, 0,
120, 101, 95, 101, 100, 114,
97, 109, 95, 112, 111, 108,
121, 95, 111, 102, 102, 115,
101, 116, 95, 102, 114, 111,
110, 116, 0, 120, 101, 95,
101, 100, 114, 97, 109, 95,
112, 111, 108, 121, 95, 111,
102, 102, 115, 101, 116, 95,
98, 97, 99, 107, 0, 120,
101, 95, 101, 100, 114, 97,
109, 95, 115, 116, 101, 110,
99, 105, 108, 0, 171, 171,
1, 0, 19, 0, 1, 0,
4, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 143, 7, 0, 0,
120, 101, 95, 101, 100, 114,
97, 109, 95, 114, 116, 95,
98, 97, 115, 101, 95, 100,
119, 111, 114, 100, 115, 95,
115, 99, 97, 108, 101, 100,
0, 171, 1, 0, 19, 0,
1, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 143, 7,
0, 0, 120, 101, 95, 101,
100, 114, 97, 109, 95, 114,
116, 95, 102, 111, 114, 109,
97, 116, 95, 102, 108, 97,
103, 115, 0, 120, 101, 95,
101, 100, 114, 97, 109, 95,
114, 116, 95, 99, 108, 97,
109, 112, 0, 171, 1, 0,
3, 0, 1, 0, 4, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
92, 6, 0, 0, 120, 101,
95, 101, 100, 114, 97, 109,
95, 114, 116, 95, 107, 101,
101, 112, 95, 109, 97, 115,
107, 0, 171, 171, 1, 0,
19, 0, 1, 0, 4, 0,
2, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
143, 7, 0, 0, 120, 101,
95, 101, 100, 114, 97, 109,
95, 114, 116, 95, 98, 108,
101, 110, 100, 95, 102, 97,
99, 116, 111, 114, 115, 95,
111, 112, 115, 0, 120, 101,
95, 101, 100, 114, 97, 109,
95, 98, 108, 101, 110, 100,
95, 99, 111, 110, 115, 116,
97, 110, 116, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 171, 171, 73, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 1, 1,
0, 0, 88, 69, 86, 69,
82, 84, 69, 88, 73, 68,
0, 171, 79, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 1, 14, 0, 0,
88, 69, 86, 69, 82, 84,
69, 88, 73, 68, 0, 171,
80, 67, 83, 71, 188, 0,
0, 0, 6, 0, 0, 0,
8, 0, 0, 0, 152, 0,
0, 0, 0, 0, 0, 0,
11, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
1, 14, 0, 0, 152, 0,
0, 0, 1, 0, 0, 0,
11, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
1, 14, 0, 0, 152, 0,
0, 0, 2, 0, 0, 0,
11, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
1, 14, 0, 0, 152, 0,
0, 0, 3, 0, 0, 0,
11, 0, 0, 0, 3, 0,
0, 0, 3, 0, 0, 0,
1, 14, 0, 0, 166, 0,
0, 0, 0, 0, 0, 0,
12, 0, 0, 0, 3, 0,
0, 0, 4, 0, 0, 0,
1, 14, 0, 0, 166, 0,
0, 0, 1, 0, 0, 0,
12, 0, 0, 0, 3, 0,
0, 0, 5, 0, 0, 0,
1, 14, 0, 0, 83, 86,
95, 84, 101, 115, 115, 70,
97, 99, 116, 111, 114, 0,
83, 86, 95, 73, 110, 115,
105, 100, 101, 84, 101, 115,
115, 70, 97, 99, 116, 111,
114, 0, 171, 171, 83, 72,
69, 88, 160, 1, 0, 0,
81, 0, 3, 0, 104, 0,
0, 0, 113, 0, 0, 1,
147, 8, 0, 1, 148, 8,
0, 1, 149, 24, 0, 1,
150, 8, 0, 1, 151, 24,
0, 1, 106, 8, 0, 1,
89, 0, 0, 7, 70, 142,
48, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 114, 0,
0, 1, 95, 0, 0, 4,
18, 16, 32, 0, 1, 0,
0, 0, 0, 0, 0, 0,
101, 0, 0, 3, 18, 32,
16, 0, 0, 0, 0, 0,
54, 0, 0, 6, 18, 32,
16, 0, 0, 0, 0, 0,
10, 16, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
62, 0, 0, 1, 115, 0,
0, 1, 153, 0, 0, 2,
4, 0, 0, 0, 95, 0,
0, 2, 0, 112, 1, 0,
103, 0, 0, 4, 18, 32,
16, 0, 0, 0, 0, 0,
11, 0, 0, 0, 103, 0,
0, 4, 18, 32, 16, 0,
1, 0, 0, 0, 12, 0,
0, 0, 103, 0, 0, 4,
18, 32, 16, 0, 2, 0,
0, 0, 13, 0, 0, 0,
103, 0, 0, 4, 18, 32,
16, 0, 3, 0, 0, 0,
14, 0, 0, 0, 104, 0,
0, 2, 1, 0, 0, 0,
91, 0, 0, 4, 18, 32,
16, 0, 0, 0, 0, 0,
4, 0, 0, 0, 54, 0,
0, 4, 18, 0, 16, 0,
0, 0, 0, 0, 10, 112,
1, 0, 54, 0, 0, 8,
18, 32, 144, 0, 10, 0,
16, 0, 0, 0, 0, 0,
42, 128, 48, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 62, 0,
0, 1, 115, 0, 0, 1,
153, 0, 0, 2, 2, 0,
0, 0, 95, 0, 0, 2,
0, 112, 1, 0, 103, 0,
0, 4, 18, 32, 16, 0,
4, 0, 0, 0, 15, 0,
0, 0, 103, 0, 0, 4,
18, 32, 16, 0, 5, 0,
0, 0, 16, 0, 0, 0,
104, 0, 0, 2, 1, 0,
0, 0, 91, 0, 0, 4,
18, 32, 16, 0, 4, 0,
0, 0, 2, 0, 0, 0,
54, 0, 0, 4, 18, 0,
16, 0, 0, 0, 0, 0,
10, 112, 1, 0, 54, 0,
0, 9, 18, 32, 208, 0,
4, 0, 0, 0, 10, 0,
16, 0, 0, 0, 0, 0,
42, 128, 48, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 62, 0,
0, 1, 83, 84, 65, 84,
148, 0, 0, 0, 8, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 5, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 5, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0
};

View File

@@ -117,7 +117,7 @@ ret
// Approximately 6 instruction slots used
#endif
const BYTE discrete_quad_hs[] =
const BYTE discrete_quad_4cp_hs[] =
{
68, 88, 66, 67, 192, 34,
77, 20, 70, 107, 155, 33,

View File

@@ -0,0 +1,686 @@
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//
// Buffer Definitions:
//
// cbuffer xe_system_cbuffer
// {
//
// uint xe_flags; // Offset: 0 Size: 4 [unused]
// float2 xe_tessellation_factor_range;// Offset: 4 Size: 8
// uint xe_line_loop_closing_index; // Offset: 12 Size: 4 [unused]
// uint xe_vertex_index_endian; // Offset: 16 Size: 4 [unused]
// uint xe_vertex_index_offset; // Offset: 20 Size: 4 [unused]
// uint2 xe_vertex_index_min_max; // Offset: 24 Size: 8 [unused]
// float4 xe_user_clip_planes[6]; // Offset: 32 Size: 96 [unused]
// float3 xe_ndc_scale; // Offset: 128 Size: 12 [unused]
// float xe_point_vertex_diameter_min;// Offset: 140 Size: 4 [unused]
// float3 xe_ndc_offset; // Offset: 144 Size: 12 [unused]
// float xe_point_vertex_diameter_max;// Offset: 156 Size: 4 [unused]
// float2 xe_point_constant_diameter; // Offset: 160 Size: 8 [unused]
// float2 xe_point_screen_diameter_to_ndc_radius;// Offset: 168 Size: 8 [unused]
// uint4 xe_texture_swizzled_signs[2];// Offset: 176 Size: 32 [unused]
// uint xe_textures_resolved; // Offset: 208 Size: 4 [unused]
// uint2 xe_sample_count_log2; // Offset: 212 Size: 8 [unused]
// float xe_alpha_test_reference; // Offset: 220 Size: 4 [unused]
// uint xe_alpha_to_mask; // Offset: 224 Size: 4 [unused]
// uint xe_edram_32bpp_tile_pitch_dwords_scaled;// Offset: 228 Size: 4 [unused]
// uint xe_edram_depth_base_dwords_scaled;// Offset: 232 Size: 4 [unused]
// float4 xe_color_exp_bias; // Offset: 240 Size: 16 [unused]
// float2 xe_edram_poly_offset_front; // Offset: 256 Size: 8 [unused]
// float2 xe_edram_poly_offset_back; // Offset: 264 Size: 8 [unused]
// uint4 xe_edram_stencil[2]; // Offset: 272 Size: 32 [unused]
// uint4 xe_edram_rt_base_dwords_scaled;// Offset: 304 Size: 16 [unused]
// uint4 xe_edram_rt_format_flags; // Offset: 320 Size: 16 [unused]
// float4 xe_edram_rt_clamp[4]; // Offset: 336 Size: 64 [unused]
// uint4 xe_edram_rt_keep_mask[2]; // Offset: 400 Size: 32 [unused]
// uint4 xe_edram_rt_blend_factors_ops;// Offset: 432 Size: 16 [unused]
// float4 xe_edram_blend_constant; // Offset: 448 Size: 16 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim ID HLSL Bind Count
// ------------------------------ ---------- ------- ----------- ------- -------------- ------
// xe_system_cbuffer cbuffer NA NA CB0 cb0 1
//
//
//
// Patch Constant signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_TessFactor 0 x 0 TRIEDGE float x
// SV_TessFactor 1 x 1 TRIEDGE float x
// SV_TessFactor 2 x 2 TRIEDGE float x
// SV_InsideTessFactor 0 x 3 TRIINT float x
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// XEVERTEXID 0 x 0 NONE float x
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// XEVERTEXID 0 x 0 NONE float x
//
// Tessellation Domain # of control points
// -------------------- --------------------
// Triangle 1
//
// Tessellation Output Primitive Partitioning Type
// ------------------------------ ------------------
// Clockwise Triangles Integer
//
hs_5_1
hs_decls
dcl_input_control_point_count 1
dcl_output_control_point_count 1
dcl_tessellator_domain domain_tri
dcl_tessellator_partitioning partitioning_integer
dcl_tessellator_output_primitive output_triangle_cw
dcl_globalFlags refactoringAllowed
dcl_constantbuffer CB0[0:0][1], immediateIndexed, space=0
hs_control_point_phase
dcl_input v[1][0].x
dcl_output o0.x
mov o0.x, v[0][0].x
ret
hs_fork_phase
dcl_hs_fork_phase_instance_count 3
dcl_input vForkInstanceID
dcl_output_siv o0.x, finalTriUeq0EdgeTessFactor
dcl_output_siv o1.x, finalTriVeq0EdgeTessFactor
dcl_output_siv o2.x, finalTriWeq0EdgeTessFactor
dcl_temps 1
dcl_indexrange o0.x 3
mov r0.x, vForkInstanceID.x
mov o[r0.x + 0].x, CB0[0][0].z
ret
hs_fork_phase
dcl_output_siv o3.x, finalTriInsideTessFactor
mov o3.x, CB0[0][0].z
ret
// Approximately 7 instruction slots used
#endif
const BYTE discrete_triangle_1cp_hs[] =
{
68, 88, 66, 67, 227, 140,
35, 65, 156, 178, 224, 139,
122, 75, 128, 231, 90, 78,
65, 91, 1, 0, 0, 0,
76, 13, 0, 0, 6, 0,
0, 0, 56, 0, 0, 0,
108, 10, 0, 0, 160, 10,
0, 0, 212, 10, 0, 0,
104, 11, 0, 0, 176, 12,
0, 0, 82, 68, 69, 70,
44, 10, 0, 0, 1, 0,
0, 0, 120, 0, 0, 0,
1, 0, 0, 0, 60, 0,
0, 0, 1, 5, 83, 72,
0, 5, 0, 0, 2, 10,
0, 0, 19, 19, 68, 37,
60, 0, 0, 0, 24, 0,
0, 0, 40, 0, 0, 0,
40, 0, 0, 0, 36, 0,
0, 0, 12, 0, 0, 0,
0, 0, 0, 0, 100, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 120, 101, 95, 115,
121, 115, 116, 101, 109, 95,
99, 98, 117, 102, 102, 101,
114, 0, 171, 171, 100, 0,
0, 0, 30, 0, 0, 0,
144, 0, 0, 0, 208, 1,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 64, 5,
0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 80, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 116, 5, 0, 0,
4, 0, 0, 0, 8, 0,
0, 0, 2, 0, 0, 0,
152, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
188, 5, 0, 0, 12, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 80, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 215, 5,
0, 0, 16, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 80, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 238, 5, 0, 0,
20, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
80, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
5, 6, 0, 0, 24, 0,
0, 0, 8, 0, 0, 0,
0, 0, 0, 0, 36, 6,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 72, 6,
0, 0, 32, 0, 0, 0,
96, 0, 0, 0, 0, 0,
0, 0, 100, 6, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 136, 6, 0, 0,
128, 0, 0, 0, 12, 0,
0, 0, 0, 0, 0, 0,
156, 6, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
192, 6, 0, 0, 140, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 228, 6,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 8, 7,
0, 0, 144, 0, 0, 0,
12, 0, 0, 0, 0, 0,
0, 0, 156, 6, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 22, 7, 0, 0,
156, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
228, 6, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
51, 7, 0, 0, 160, 0,
0, 0, 8, 0, 0, 0,
0, 0, 0, 0, 152, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 78, 7,
0, 0, 168, 0, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 152, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 117, 7, 0, 0,
176, 0, 0, 0, 32, 0,
0, 0, 0, 0, 0, 0,
152, 7, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
188, 7, 0, 0, 208, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 80, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 209, 7,
0, 0, 212, 0, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 36, 6, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 230, 7, 0, 0,
220, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
228, 6, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
254, 7, 0, 0, 224, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 80, 5,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 15, 8,
0, 0, 228, 0, 0, 0,
4, 0, 0, 0, 0, 0,
0, 0, 80, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 55, 8, 0, 0,
232, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
80, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
89, 8, 0, 0, 240, 0,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 108, 8,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 144, 8,
0, 0, 0, 1, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 152, 5, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 171, 8, 0, 0,
8, 1, 0, 0, 8, 0,
0, 0, 0, 0, 0, 0,
152, 5, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
197, 8, 0, 0, 16, 1,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 216, 8,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 252, 8,
0, 0, 48, 1, 0, 0,
16, 0, 0, 0, 0, 0,
0, 0, 28, 9, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 64, 9, 0, 0,
64, 1, 0, 0, 16, 0,
0, 0, 0, 0, 0, 0,
28, 9, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
89, 9, 0, 0, 80, 1,
0, 0, 64, 0, 0, 0,
0, 0, 0, 0, 108, 9,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 144, 9,
0, 0, 144, 1, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 168, 9, 0, 0,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 204, 9, 0, 0,
176, 1, 0, 0, 16, 0,
0, 0, 0, 0, 0, 0,
28, 9, 0, 0, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
234, 9, 0, 0, 192, 1,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 108, 8,
0, 0, 0, 0, 0, 0,
255, 255, 255, 255, 0, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 120, 101,
95, 102, 108, 97, 103, 115,
0, 100, 119, 111, 114, 100,
0, 171, 0, 0, 19, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 73, 5,
0, 0, 120, 101, 95, 116,
101, 115, 115, 101, 108, 108,
97, 116, 105, 111, 110, 95,
102, 97, 99, 116, 111, 114,
95, 114, 97, 110, 103, 101,
0, 102, 108, 111, 97, 116,
50, 0, 1, 0, 3, 0,
1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 145, 5,
0, 0, 120, 101, 95, 108,
105, 110, 101, 95, 108, 111,
111, 112, 95, 99, 108, 111,
115, 105, 110, 103, 95, 105,
110, 100, 101, 120, 0, 120,
101, 95, 118, 101, 114, 116,
101, 120, 95, 105, 110, 100,
101, 120, 95, 101, 110, 100,
105, 97, 110, 0, 120, 101,
95, 118, 101, 114, 116, 101,
120, 95, 105, 110, 100, 101,
120, 95, 111, 102, 102, 115,
101, 116, 0, 120, 101, 95,
118, 101, 114, 116, 101, 120,
95, 105, 110, 100, 101, 120,
95, 109, 105, 110, 95, 109,
97, 120, 0, 117, 105, 110,
116, 50, 0, 171, 1, 0,
19, 0, 1, 0, 2, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
29, 6, 0, 0, 120, 101,
95, 117, 115, 101, 114, 95,
99, 108, 105, 112, 95, 112,
108, 97, 110, 101, 115, 0,
102, 108, 111, 97, 116, 52,
0, 171, 1, 0, 3, 0,
1, 0, 4, 0, 6, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 92, 6,
0, 0, 120, 101, 95, 110,
100, 99, 95, 115, 99, 97,
108, 101, 0, 102, 108, 111,
97, 116, 51, 0, 1, 0,
3, 0, 1, 0, 3, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
149, 6, 0, 0, 120, 101,
95, 112, 111, 105, 110, 116,
95, 118, 101, 114, 116, 101,
120, 95, 100, 105, 97, 109,
101, 116, 101, 114, 95, 109,
105, 110, 0, 102, 108, 111,
97, 116, 0, 171, 0, 0,
3, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
221, 6, 0, 0, 120, 101,
95, 110, 100, 99, 95, 111,
102, 102, 115, 101, 116, 0,
120, 101, 95, 112, 111, 105,
110, 116, 95, 118, 101, 114,
116, 101, 120, 95, 100, 105,
97, 109, 101, 116, 101, 114,
95, 109, 97, 120, 0, 120,
101, 95, 112, 111, 105, 110,
116, 95, 99, 111, 110, 115,
116, 97, 110, 116, 95, 100,
105, 97, 109, 101, 116, 101,
114, 0, 120, 101, 95, 112,
111, 105, 110, 116, 95, 115,
99, 114, 101, 101, 110, 95,
100, 105, 97, 109, 101, 116,
101, 114, 95, 116, 111, 95,
110, 100, 99, 95, 114, 97,
100, 105, 117, 115, 0, 120,
101, 95, 116, 101, 120, 116,
117, 114, 101, 95, 115, 119,
105, 122, 122, 108, 101, 100,
95, 115, 105, 103, 110, 115,
0, 117, 105, 110, 116, 52,
0, 171, 171, 171, 1, 0,
19, 0, 1, 0, 4, 0,
2, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
143, 7, 0, 0, 120, 101,
95, 116, 101, 120, 116, 117,
114, 101, 115, 95, 114, 101,
115, 111, 108, 118, 101, 100,
0, 120, 101, 95, 115, 97,
109, 112, 108, 101, 95, 99,
111, 117, 110, 116, 95, 108,
111, 103, 50, 0, 120, 101,
95, 97, 108, 112, 104, 97,
95, 116, 101, 115, 116, 95,
114, 101, 102, 101, 114, 101,
110, 99, 101, 0, 120, 101,
95, 97, 108, 112, 104, 97,
95, 116, 111, 95, 109, 97,
115, 107, 0, 120, 101, 95,
101, 100, 114, 97, 109, 95,
51, 50, 98, 112, 112, 95,
116, 105, 108, 101, 95, 112,
105, 116, 99, 104, 95, 100,
119, 111, 114, 100, 115, 95,
115, 99, 97, 108, 101, 100,
0, 120, 101, 95, 101, 100,
114, 97, 109, 95, 100, 101,
112, 116, 104, 95, 98, 97,
115, 101, 95, 100, 119, 111,
114, 100, 115, 95, 115, 99,
97, 108, 101, 100, 0, 120,
101, 95, 99, 111, 108, 111,
114, 95, 101, 120, 112, 95,
98, 105, 97, 115, 0, 171,
1, 0, 3, 0, 1, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 92, 6, 0, 0,
120, 101, 95, 101, 100, 114,
97, 109, 95, 112, 111, 108,
121, 95, 111, 102, 102, 115,
101, 116, 95, 102, 114, 111,
110, 116, 0, 120, 101, 95,
101, 100, 114, 97, 109, 95,
112, 111, 108, 121, 95, 111,
102, 102, 115, 101, 116, 95,
98, 97, 99, 107, 0, 120,
101, 95, 101, 100, 114, 97,
109, 95, 115, 116, 101, 110,
99, 105, 108, 0, 171, 171,
1, 0, 19, 0, 1, 0,
4, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 143, 7, 0, 0,
120, 101, 95, 101, 100, 114,
97, 109, 95, 114, 116, 95,
98, 97, 115, 101, 95, 100,
119, 111, 114, 100, 115, 95,
115, 99, 97, 108, 101, 100,
0, 171, 1, 0, 19, 0,
1, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 143, 7,
0, 0, 120, 101, 95, 101,
100, 114, 97, 109, 95, 114,
116, 95, 102, 111, 114, 109,
97, 116, 95, 102, 108, 97,
103, 115, 0, 120, 101, 95,
101, 100, 114, 97, 109, 95,
114, 116, 95, 99, 108, 97,
109, 112, 0, 171, 1, 0,
3, 0, 1, 0, 4, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
92, 6, 0, 0, 120, 101,
95, 101, 100, 114, 97, 109,
95, 114, 116, 95, 107, 101,
101, 112, 95, 109, 97, 115,
107, 0, 171, 171, 1, 0,
19, 0, 1, 0, 4, 0,
2, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
143, 7, 0, 0, 120, 101,
95, 101, 100, 114, 97, 109,
95, 114, 116, 95, 98, 108,
101, 110, 100, 95, 102, 97,
99, 116, 111, 114, 115, 95,
111, 112, 115, 0, 120, 101,
95, 101, 100, 114, 97, 109,
95, 98, 108, 101, 110, 100,
95, 99, 111, 110, 115, 116,
97, 110, 116, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 171, 171, 73, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 1, 1,
0, 0, 88, 69, 86, 69,
82, 84, 69, 88, 73, 68,
0, 171, 79, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 1, 14, 0, 0,
88, 69, 86, 69, 82, 84,
69, 88, 73, 68, 0, 171,
80, 67, 83, 71, 140, 0,
0, 0, 4, 0, 0, 0,
8, 0, 0, 0, 104, 0,
0, 0, 0, 0, 0, 0,
13, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
1, 14, 0, 0, 104, 0,
0, 0, 1, 0, 0, 0,
13, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
1, 14, 0, 0, 104, 0,
0, 0, 2, 0, 0, 0,
13, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
1, 14, 0, 0, 118, 0,
0, 0, 0, 0, 0, 0,
14, 0, 0, 0, 3, 0,
0, 0, 3, 0, 0, 0,
1, 14, 0, 0, 83, 86,
95, 84, 101, 115, 115, 70,
97, 99, 116, 111, 114, 0,
83, 86, 95, 73, 110, 115,
105, 100, 101, 84, 101, 115,
115, 70, 97, 99, 116, 111,
114, 0, 171, 171, 83, 72,
69, 88, 64, 1, 0, 0,
81, 0, 3, 0, 80, 0,
0, 0, 113, 0, 0, 1,
147, 8, 0, 1, 148, 8,
0, 1, 149, 16, 0, 1,
150, 8, 0, 1, 151, 24,
0, 1, 106, 8, 0, 1,
89, 0, 0, 7, 70, 142,
48, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 114, 0,
0, 1, 95, 0, 0, 4,
18, 16, 32, 0, 1, 0,
0, 0, 0, 0, 0, 0,
101, 0, 0, 3, 18, 32,
16, 0, 0, 0, 0, 0,
54, 0, 0, 6, 18, 32,
16, 0, 0, 0, 0, 0,
10, 16, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
62, 0, 0, 1, 115, 0,
0, 1, 153, 0, 0, 2,
3, 0, 0, 0, 95, 0,
0, 2, 0, 112, 1, 0,
103, 0, 0, 4, 18, 32,
16, 0, 0, 0, 0, 0,
17, 0, 0, 0, 103, 0,
0, 4, 18, 32, 16, 0,
1, 0, 0, 0, 18, 0,
0, 0, 103, 0, 0, 4,
18, 32, 16, 0, 2, 0,
0, 0, 19, 0, 0, 0,
104, 0, 0, 2, 1, 0,
0, 0, 91, 0, 0, 4,
18, 32, 16, 0, 0, 0,
0, 0, 3, 0, 0, 0,
54, 0, 0, 4, 18, 0,
16, 0, 0, 0, 0, 0,
10, 112, 1, 0, 54, 0,
0, 8, 18, 32, 144, 0,
10, 0, 16, 0, 0, 0,
0, 0, 42, 128, 48, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
62, 0, 0, 1, 115, 0,
0, 1, 103, 0, 0, 4,
18, 32, 16, 0, 3, 0,
0, 0, 20, 0, 0, 0,
54, 0, 0, 7, 18, 32,
16, 0, 3, 0, 0, 0,
42, 128, 48, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 62, 0,
0, 1, 83, 84, 65, 84,
148, 0, 0, 0, 7, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 2, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0
};

View File

@@ -108,7 +108,7 @@ ret
// Approximately 5 instruction slots used
#endif
const BYTE discrete_triangle_hs[] =
const BYTE discrete_triangle_3cp_hs[] =
{
68, 88, 66, 67, 159, 101,
17, 163, 1, 25, 162, 203,

View File

@@ -33,10 +33,11 @@ XeHSConstantDataOutput XePatchConstant() {
[domain("quad")]
[partitioning("fractional_even")]
[outputtopology("triangle_cw")]
[outputcontrolpoints(4)]
[outputcontrolpoints(XE_TESSELLATION_CONTROL_POINT_COUNT)]
[patchconstantfunc("XePatchConstant")]
XeHSControlPointOutput main(
InputPatch<XeHSControlPointInputIndexed, 4> xe_input_patch,
InputPatch<XeHSControlPointInputIndexed,
XE_TESSELLATION_CONTROL_POINT_COUNT> xe_input_patch,
uint xe_control_point_id : SV_OutputControlPointID) {
XeHSControlPointOutput output;
output.index = xe_input_patch[xe_control_point_id].index;

View File

@@ -0,0 +1,2 @@
#define XE_TESSELLATION_CONTROL_POINT_COUNT 1
#include "continuous_quad.hlsli"

View File

@@ -0,0 +1,2 @@
#define XE_TESSELLATION_CONTROL_POINT_COUNT 4
#include "continuous_quad.hlsli"

View File

@@ -28,10 +28,11 @@ XeHSConstantDataOutput XePatchConstant() {
[domain("tri")]
[partitioning("fractional_even")]
[outputtopology("triangle_cw")]
[outputcontrolpoints(3)]
[outputcontrolpoints(XE_TESSELLATION_CONTROL_POINT_COUNT)]
[patchconstantfunc("XePatchConstant")]
XeHSControlPointOutput main(
InputPatch<XeHSControlPointInputIndexed, 3> xe_input_patch,
InputPatch<XeHSControlPointInputIndexed,
XE_TESSELLATION_CONTROL_POINT_COUNT> xe_input_patch,
uint xe_control_point_id : SV_OutputControlPointID) {
XeHSControlPointOutput output;
output.index = xe_input_patch[xe_control_point_id].index;

View File

@@ -0,0 +1,2 @@
#define XE_TESSELLATION_CONTROL_POINT_COUNT 1
#include "continuous_triangle.hlsli"

View File

@@ -0,0 +1,2 @@
#define XE_TESSELLATION_CONTROL_POINT_COUNT 3
#include "continuous_triangle.hlsli"

View File

@@ -33,10 +33,11 @@ XeHSConstantDataOutput XePatchConstant() {
[domain("quad")]
[partitioning("integer")]
[outputtopology("triangle_cw")]
[outputcontrolpoints(4)]
[outputcontrolpoints(XE_TESSELLATION_CONTROL_POINT_COUNT)]
[patchconstantfunc("XePatchConstant")]
XeHSControlPointOutput main(
InputPatch<XeHSControlPointInputIndexed, 4> xe_input_patch,
InputPatch<XeHSControlPointInputIndexed,
XE_TESSELLATION_CONTROL_POINT_COUNT> xe_input_patch,
uint xe_control_point_id : SV_OutputControlPointID) {
XeHSControlPointOutput output;
output.index = xe_input_patch[xe_control_point_id].index;

View File

@@ -0,0 +1,2 @@
#define XE_TESSELLATION_CONTROL_POINT_COUNT 1
#include "discrete_quad.hlsli"

View File

@@ -0,0 +1,2 @@
#define XE_TESSELLATION_CONTROL_POINT_COUNT 4
#include "discrete_quad.hlsli"

View File

@@ -32,10 +32,11 @@ XeHSConstantDataOutput XePatchConstant() {
[domain("tri")]
[partitioning("integer")]
[outputtopology("triangle_cw")]
[outputcontrolpoints(3)]
[outputcontrolpoints(XE_TESSELLATION_CONTROL_POINT_COUNT)]
[patchconstantfunc("XePatchConstant")]
XeHSControlPointOutput main(
InputPatch<XeHSControlPointInputIndexed, 3> xe_input_patch,
InputPatch<XeHSControlPointInputIndexed,
XE_TESSELLATION_CONTROL_POINT_COUNT> xe_input_patch,
uint xe_control_point_id : SV_OutputControlPointID) {
XeHSControlPointOutput output;
output.index = xe_input_patch[xe_control_point_id].index;

View File

@@ -0,0 +1,2 @@
#define XE_TESSELLATION_CONTROL_POINT_COUNT 1
#include "discrete_triangle.hlsli"

View File

@@ -0,0 +1,2 @@
#define XE_TESSELLATION_CONTROL_POINT_COUNT 3
#include "discrete_triangle.hlsli"