Debian Codegraph @

third_party/spirv-cross/shaders-ue4/asm/tesc/hs-input-array-access.asm.tesc

raw
1 ; SPIR-V
2 ; Version: 1.0
3 ; Generator: Google spiregg; 0
4 ; Bound: 607
5 ; Schema: 0
6 OpCapability Tessellation
7 OpCapability SampledBuffer
8 OpExtension "SPV_GOOGLE_hlsl_functionality1"
9 %1 = OpExtInstImport "GLSL.std.450"
10 OpMemoryModel Logical GLSL450
11 OpEntryPoint TessellationControl %MainHull "main" %in_var_TEXCOORD10_centroid %in_var_TEXCOORD11_centroid %in_var_VS_To_DS_Position %in_var_VS_To_DS_VertexID %gl_InvocationID %out_var_TEXCOORD10_centroid %out_var_TEXCOORD11_centroid %out_var_VS_To_DS_Position %out_var_VS_To_DS_VertexID %out_var_PN_POSITION %out_var_PN_DisplacementScales %out_var_PN_TessellationMultiplier %out_var_PN_WorldDisplacementMultiplier %out_var_PN_DominantVertex %out_var_PN_DominantVertex1 %out_var_PN_DominantVertex2 %out_var_PN_DominantEdge %out_var_PN_DominantEdge1 %out_var_PN_DominantEdge2 %out_var_PN_DominantEdge3 %out_var_PN_DominantEdge4 %out_var_PN_DominantEdge5 %gl_TessLevelOuter %gl_TessLevelInner %out_var_PN_POSITION9
12 OpExecutionMode %MainHull Triangles
13 OpExecutionMode %MainHull SpacingFractionalOdd
14 OpExecutionMode %MainHull VertexOrderCw
15 OpExecutionMode %MainHull OutputVertices 3
16 OpSource HLSL 600
17 OpName %FPNTessellationHSToDS "FPNTessellationHSToDS"
18 OpMemberName %FPNTessellationHSToDS 0 "PassSpecificData"
19 OpMemberName %FPNTessellationHSToDS 1 "WorldPosition"
20 OpMemberName %FPNTessellationHSToDS 2 "DisplacementScale"
21 OpMemberName %FPNTessellationHSToDS 3 "TessellationMultiplier"
22 OpMemberName %FPNTessellationHSToDS 4 "WorldDisplacementMultiplier"
23 OpMemberName %FPNTessellationHSToDS 5 "DominantVertex"
24 OpMemberName %FPNTessellationHSToDS 6 "DominantEdge"
25 OpName %FHitProxyVSToDS "FHitProxyVSToDS"
26 OpMemberName %FHitProxyVSToDS 0 "FactoryInterpolants"
27 OpMemberName %FHitProxyVSToDS 1 "Position"
28 OpMemberName %FHitProxyVSToDS 2 "VertexID"
29 OpName %FVertexFactoryInterpolantsVSToDS "FVertexFactoryInterpolantsVSToDS"
30 OpMemberName %FVertexFactoryInterpolantsVSToDS 0 "InterpolantsVSToPS"
31 OpName %FVertexFactoryInterpolantsVSToPS "FVertexFactoryInterpolantsVSToPS"
32 OpMemberName %FVertexFactoryInterpolantsVSToPS 0 "TangentToWorld0"
33 OpMemberName %FVertexFactoryInterpolantsVSToPS 1 "TangentToWorld2"
34 OpName %FHullShaderConstantDominantVertexData "FHullShaderConstantDominantVertexData"
35 OpMemberName %FHullShaderConstantDominantVertexData 0 "UV"
36 OpMemberName %FHullShaderConstantDominantVertexData 1 "Normal"
37 OpMemberName %FHullShaderConstantDominantVertexData 2 "Tangent"
38 OpName %FHullShaderConstantDominantEdgeData "FHullShaderConstantDominantEdgeData"
39 OpMemberName %FHullShaderConstantDominantEdgeData 0 "UV0"
40 OpMemberName %FHullShaderConstantDominantEdgeData 1 "UV1"
41 OpMemberName %FHullShaderConstantDominantEdgeData 2 "Normal0"
42 OpMemberName %FHullShaderConstantDominantEdgeData 3 "Normal1"
43 OpMemberName %FHullShaderConstantDominantEdgeData 4 "Tangent0"
44 OpMemberName %FHullShaderConstantDominantEdgeData 5 "Tangent1"
45 OpName %type_View "type.View"
46 OpMemberName %type_View 0 "View_TranslatedWorldToClip"
47 OpMemberName %type_View 1 "View_WorldToClip"
48 OpMemberName %type_View 2 "View_ClipToWorld"
49 OpMemberName %type_View 3 "View_TranslatedWorldToView"
50 OpMemberName %type_View 4 "View_ViewToTranslatedWorld"
51 OpMemberName %type_View 5 "View_TranslatedWorldToCameraView"
52 OpMemberName %type_View 6 "View_CameraViewToTranslatedWorld"
53 OpMemberName %type_View 7 "View_ViewToClip"
54 OpMemberName %type_View 8 "View_ViewToClipNoAA"
55 OpMemberName %type_View 9 "View_ClipToView"
56 OpMemberName %type_View 10 "View_ClipToTranslatedWorld"
57 OpMemberName %type_View 11 "View_SVPositionToTranslatedWorld"
58 OpMemberName %type_View 12 "View_ScreenToWorld"
59 OpMemberName %type_View 13 "View_ScreenToTranslatedWorld"
60 OpMemberName %type_View 14 "View_ViewForward"
61 OpMemberName %type_View 15 "PrePadding_View_908"
62 OpMemberName %type_View 16 "View_ViewUp"
63 OpMemberName %type_View 17 "PrePadding_View_924"
64 OpMemberName %type_View 18 "View_ViewRight"
65 OpMemberName %type_View 19 "PrePadding_View_940"
66 OpMemberName %type_View 20 "View_HMDViewNoRollUp"
67 OpMemberName %type_View 21 "PrePadding_View_956"
68 OpMemberName %type_View 22 "View_HMDViewNoRollRight"
69 OpMemberName %type_View 23 "PrePadding_View_972"
70 OpMemberName %type_View 24 "View_InvDeviceZToWorldZTransform"
71 OpMemberName %type_View 25 "View_ScreenPositionScaleBias"
72 OpMemberName %type_View 26 "View_WorldCameraOrigin"
73 OpMemberName %type_View 27 "PrePadding_View_1020"
74 OpMemberName %type_View 28 "View_TranslatedWorldCameraOrigin"
75 OpMemberName %type_View 29 "PrePadding_View_1036"
76 OpMemberName %type_View 30 "View_WorldViewOrigin"
77 OpMemberName %type_View 31 "PrePadding_View_1052"
78 OpMemberName %type_View 32 "View_PreViewTranslation"
79 OpMemberName %type_View 33 "PrePadding_View_1068"
80 OpMemberName %type_View 34 "View_PrevProjection"
81 OpMemberName %type_View 35 "View_PrevViewProj"
82 OpMemberName %type_View 36 "View_PrevViewRotationProj"
83 OpMemberName %type_View 37 "View_PrevViewToClip"
84 OpMemberName %type_View 38 "View_PrevClipToView"
85 OpMemberName %type_View 39 "View_PrevTranslatedWorldToClip"
86 OpMemberName %type_View 40 "View_PrevTranslatedWorldToView"
87 OpMemberName %type_View 41 "View_PrevViewToTranslatedWorld"
88 OpMemberName %type_View 42 "View_PrevTranslatedWorldToCameraView"
89 OpMemberName %type_View 43 "View_PrevCameraViewToTranslatedWorld"
90 OpMemberName %type_View 44 "View_PrevWorldCameraOrigin"
91 OpMemberName %type_View 45 "PrePadding_View_1724"
92 OpMemberName %type_View 46 "View_PrevWorldViewOrigin"
93 OpMemberName %type_View 47 "PrePadding_View_1740"
94 OpMemberName %type_View 48 "View_PrevPreViewTranslation"
95 OpMemberName %type_View 49 "PrePadding_View_1756"
96 OpMemberName %type_View 50 "View_PrevInvViewProj"
97 OpMemberName %type_View 51 "View_PrevScreenToTranslatedWorld"
98 OpMemberName %type_View 52 "View_ClipToPrevClip"
99 OpMemberName %type_View 53 "View_TemporalAAJitter"
100 OpMemberName %type_View 54 "View_GlobalClippingPlane"
101 OpMemberName %type_View 55 "View_FieldOfViewWideAngles"
102 OpMemberName %type_View 56 "View_PrevFieldOfViewWideAngles"
103 OpMemberName %type_View 57 "View_ViewRectMin"
104 OpMemberName %type_View 58 "View_ViewSizeAndInvSize"
105 OpMemberName %type_View 59 "View_BufferSizeAndInvSize"
106 OpMemberName %type_View 60 "View_BufferBilinearUVMinMax"
107 OpMemberName %type_View 61 "View_NumSceneColorMSAASamples"
108 OpMemberName %type_View 62 "View_PreExposure"
109 OpMemberName %type_View 63 "View_OneOverPreExposure"
110 OpMemberName %type_View 64 "PrePadding_View_2076"
111 OpMemberName %type_View 65 "View_DiffuseOverrideParameter"
112 OpMemberName %type_View 66 "View_SpecularOverrideParameter"
113 OpMemberName %type_View 67 "View_NormalOverrideParameter"
114 OpMemberName %type_View 68 "View_RoughnessOverrideParameter"
115 OpMemberName %type_View 69 "View_PrevFrameGameTime"
116 OpMemberName %type_View 70 "View_PrevFrameRealTime"
117 OpMemberName %type_View 71 "View_OutOfBoundsMask"
118 OpMemberName %type_View 72 "PrePadding_View_2148"
119 OpMemberName %type_View 73 "PrePadding_View_2152"
120 OpMemberName %type_View 74 "PrePadding_View_2156"
121 OpMemberName %type_View 75 "View_WorldCameraMovementSinceLastFrame"
122 OpMemberName %type_View 76 "View_CullingSign"
123 OpMemberName %type_View 77 "View_NearPlane"
124 OpMemberName %type_View 78 "View_AdaptiveTessellationFactor"
125 OpMemberName %type_View 79 "View_GameTime"
126 OpMemberName %type_View 80 "View_RealTime"
127 OpMemberName %type_View 81 "View_DeltaTime"
128 OpMemberName %type_View 82 "View_MaterialTextureMipBias"
129 OpMemberName %type_View 83 "View_MaterialTextureDerivativeMultiply"
130 OpMemberName %type_View 84 "View_Random"
131 OpMemberName %type_View 85 "View_FrameNumber"
132 OpMemberName %type_View 86 "View_StateFrameIndexMod8"
133 OpMemberName %type_View 87 "View_StateFrameIndex"
134 OpMemberName %type_View 88 "View_CameraCut"
135 OpMemberName %type_View 89 "View_UnlitViewmodeMask"
136 OpMemberName %type_View 90 "PrePadding_View_2228"
137 OpMemberName %type_View 91 "PrePadding_View_2232"
138 OpMemberName %type_View 92 "PrePadding_View_2236"
139 OpMemberName %type_View 93 "View_DirectionalLightColor"
140 OpMemberName %type_View 94 "View_DirectionalLightDirection"
141 OpMemberName %type_View 95 "PrePadding_View_2268"
142 OpMemberName %type_View 96 "View_TranslucencyLightingVolumeMin"
143 OpMemberName %type_View 97 "View_TranslucencyLightingVolumeInvSize"
144 OpMemberName %type_View 98 "View_TemporalAAParams"
145 OpMemberName %type_View 99 "View_CircleDOFParams"
146 OpMemberName %type_View 100 "View_DepthOfFieldSensorWidth"
147 OpMemberName %type_View 101 "View_DepthOfFieldFocalDistance"
148 OpMemberName %type_View 102 "View_DepthOfFieldScale"
149 OpMemberName %type_View 103 "View_DepthOfFieldFocalLength"
150 OpMemberName %type_View 104 "View_DepthOfFieldFocalRegion"
151 OpMemberName %type_View 105 "View_DepthOfFieldNearTransitionRegion"
152 OpMemberName %type_View 106 "View_DepthOfFieldFarTransitionRegion"
153 OpMemberName %type_View 107 "View_MotionBlurNormalizedToPixel"
154 OpMemberName %type_View 108 "View_bSubsurfacePostprocessEnabled"
155 OpMemberName %type_View 109 "View_GeneralPurposeTweak"
156 OpMemberName %type_View 110 "View_DemosaicVposOffset"
157 OpMemberName %type_View 111 "PrePadding_View_2412"
158 OpMemberName %type_View 112 "View_IndirectLightingColorScale"
159 OpMemberName %type_View 113 "View_HDR32bppEncodingMode"
160 OpMemberName %type_View 114 "View_AtmosphericFogSunDirection"
161 OpMemberName %type_View 115 "View_AtmosphericFogSunPower"
162 OpMemberName %type_View 116 "View_AtmosphericFogPower"
163 OpMemberName %type_View 117 "View_AtmosphericFogDensityScale"
164 OpMemberName %type_View 118 "View_AtmosphericFogDensityOffset"
165 OpMemberName %type_View 119 "View_AtmosphericFogGroundOffset"
166 OpMemberName %type_View 120 "View_AtmosphericFogDistanceScale"
167 OpMemberName %type_View 121 "View_AtmosphericFogAltitudeScale"
168 OpMemberName %type_View 122 "View_AtmosphericFogHeightScaleRayleigh"
169 OpMemberName %type_View 123 "View_AtmosphericFogStartDistance"
170 OpMemberName %type_View 124 "View_AtmosphericFogDistanceOffset"
171 OpMemberName %type_View 125 "View_AtmosphericFogSunDiscScale"
172 OpMemberName %type_View 126 "View_AtmosphericFogSunDiscHalfApexAngleRadian"
173 OpMemberName %type_View 127 "PrePadding_View_2492"
174 OpMemberName %type_View 128 "View_AtmosphericFogSunDiscLuminance"
175 OpMemberName %type_View 129 "View_AtmosphericFogRenderMask"
176 OpMemberName %type_View 130 "View_AtmosphericFogInscatterAltitudeSampleNum"
177 OpMemberName %type_View 131 "PrePadding_View_2520"
178 OpMemberName %type_View 132 "PrePadding_View_2524"
179 OpMemberName %type_View 133 "View_AtmosphericFogSunColor"
180 OpMemberName %type_View 134 "View_NormalCurvatureToRoughnessScaleBias"
181 OpMemberName %type_View 135 "View_RenderingReflectionCaptureMask"
182 OpMemberName %type_View 136 "View_AmbientCubemapTint"
183 OpMemberName %type_View 137 "View_AmbientCubemapIntensity"
184 OpMemberName %type_View 138 "View_SkyLightParameters"
185 OpMemberName %type_View 139 "PrePadding_View_2584"
186 OpMemberName %type_View 140 "PrePadding_View_2588"
187 OpMemberName %type_View 141 "View_SkyLightColor"
188 OpMemberName %type_View 142 "View_SkyIrradianceEnvironmentMap"
189 OpMemberName %type_View 143 "View_MobilePreviewMode"
190 OpMemberName %type_View 144 "View_HMDEyePaddingOffset"
191 OpMemberName %type_View 145 "View_ReflectionCubemapMaxMip"
192 OpMemberName %type_View 146 "View_ShowDecalsMask"
193 OpMemberName %type_View 147 "View_DistanceFieldAOSpecularOcclusionMode"
194 OpMemberName %type_View 148 "View_IndirectCapsuleSelfShadowingIntensity"
195 OpMemberName %type_View 149 "PrePadding_View_2744"
196 OpMemberName %type_View 150 "PrePadding_View_2748"
197 OpMemberName %type_View 151 "View_ReflectionEnvironmentRoughnessMixingScaleBiasAndLargestWeight"
198 OpMemberName %type_View 152 "View_StereoPassIndex"
199 OpMemberName %type_View 153 "View_GlobalVolumeCenterAndExtent"
200 OpMemberName %type_View 154 "View_GlobalVolumeWorldToUVAddAndMul"
201 OpMemberName %type_View 155 "View_GlobalVolumeDimension"
202 OpMemberName %type_View 156 "View_GlobalVolumeTexelSize"
203 OpMemberName %type_View 157 "View_MaxGlobalDistance"
204 OpMemberName %type_View 158 "PrePadding_View_2908"
205 OpMemberName %type_View 159 "View_CursorPosition"
206 OpMemberName %type_View 160 "View_bCheckerboardSubsurfaceProfileRendering"
207 OpMemberName %type_View 161 "PrePadding_View_2924"
208 OpMemberName %type_View 162 "View_VolumetricFogInvGridSize"
209 OpMemberName %type_View 163 "PrePadding_View_2940"
210 OpMemberName %type_View 164 "View_VolumetricFogGridZParams"
211 OpMemberName %type_View 165 "PrePadding_View_2956"
212 OpMemberName %type_View 166 "View_VolumetricFogSVPosToVolumeUV"
213 OpMemberName %type_View 167 "View_VolumetricFogMaxDistance"
214 OpMemberName %type_View 168 "PrePadding_View_2972"
215 OpMemberName %type_View 169 "View_VolumetricLightmapWorldToUVScale"
216 OpMemberName %type_View 170 "PrePadding_View_2988"
217 OpMemberName %type_View 171 "View_VolumetricLightmapWorldToUVAdd"
218 OpMemberName %type_View 172 "PrePadding_View_3004"
219 OpMemberName %type_View 173 "View_VolumetricLightmapIndirectionTextureSize"
220 OpMemberName %type_View 174 "View_VolumetricLightmapBrickSize"
221 OpMemberName %type_View 175 "View_VolumetricLightmapBrickTexelSize"
222 OpMemberName %type_View 176 "View_StereoIPD"
223 OpMemberName %type_View 177 "View_IndirectLightingCacheShowFlag"
224 OpMemberName %type_View 178 "View_EyeToPixelSpreadAngle"
225 OpName %View "View"
226 OpName %type_Primitive "type.Primitive"
227 OpMemberName %type_Primitive 0 "Primitive_LocalToWorld"
228 OpMemberName %type_Primitive 1 "Primitive_InvNonUniformScaleAndDeterminantSign"
229 OpMemberName %type_Primitive 2 "Primitive_ObjectWorldPositionAndRadius"
230 OpMemberName %type_Primitive 3 "Primitive_WorldToLocal"
231 OpMemberName %type_Primitive 4 "Primitive_PreviousLocalToWorld"
232 OpMemberName %type_Primitive 5 "Primitive_PreviousWorldToLocal"
233 OpMemberName %type_Primitive 6 "Primitive_ActorWorldPosition"
234 OpMemberName %type_Primitive 7 "Primitive_UseSingleSampleShadowFromStationaryLights"
235 OpMemberName %type_Primitive 8 "Primitive_ObjectBounds"
236 OpMemberName %type_Primitive 9 "Primitive_LpvBiasMultiplier"
237 OpMemberName %type_Primitive 10 "Primitive_DecalReceiverMask"
238 OpMemberName %type_Primitive 11 "Primitive_PerObjectGBufferData"
239 OpMemberName %type_Primitive 12 "Primitive_UseVolumetricLightmapShadowFromStationaryLights"
240 OpMemberName %type_Primitive 13 "Primitive_DrawsVelocity"
241 OpMemberName %type_Primitive 14 "Primitive_ObjectOrientation"
242 OpMemberName %type_Primitive 15 "Primitive_NonUniformScale"
243 OpMemberName %type_Primitive 16 "Primitive_LocalObjectBoundsMin"
244 OpMemberName %type_Primitive 17 "Primitive_LightingChannelMask"
245 OpMemberName %type_Primitive 18 "Primitive_LocalObjectBoundsMax"
246 OpMemberName %type_Primitive 19 "Primitive_LightmapDataIndex"
247 OpMemberName %type_Primitive 20 "Primitive_PreSkinnedLocalBounds"
248 OpMemberName %type_Primitive 21 "Primitive_SingleCaptureIndex"
249 OpMemberName %type_Primitive 22 "Primitive_OutputVelocity"
250 OpMemberName %type_Primitive 23 "PrePadding_Primitive_420"
251 OpMemberName %type_Primitive 24 "PrePadding_Primitive_424"
252 OpMemberName %type_Primitive 25 "PrePadding_Primitive_428"
253 OpMemberName %type_Primitive 26 "Primitive_CustomPrimitiveData"
254 OpName %Primitive "Primitive"
255 OpName %in_var_TEXCOORD10_centroid "in.var.TEXCOORD10_centroid"
256 OpName %in_var_TEXCOORD11_centroid "in.var.TEXCOORD11_centroid"
257 OpName %in_var_VS_To_DS_Position "in.var.VS_To_DS_Position"
258 OpName %in_var_VS_To_DS_VertexID "in.var.VS_To_DS_VertexID"
259 OpName %out_var_TEXCOORD10_centroid "out.var.TEXCOORD10_centroid"
260 OpName %out_var_TEXCOORD11_centroid "out.var.TEXCOORD11_centroid"
261 OpName %out_var_VS_To_DS_Position "out.var.VS_To_DS_Position"
262 OpName %out_var_VS_To_DS_VertexID "out.var.VS_To_DS_VertexID"
263 OpName %out_var_PN_POSITION "out.var.PN_POSITION"
264 OpName %out_var_PN_DisplacementScales "out.var.PN_DisplacementScales"
265 OpName %out_var_PN_TessellationMultiplier "out.var.PN_TessellationMultiplier"
266 OpName %out_var_PN_WorldDisplacementMultiplier "out.var.PN_WorldDisplacementMultiplier"
267 OpName %out_var_PN_DominantVertex "out.var.PN_DominantVertex"
268 OpName %out_var_PN_DominantVertex1 "out.var.PN_DominantVertex1"
269 OpName %out_var_PN_DominantVertex2 "out.var.PN_DominantVertex2"
270 OpName %out_var_PN_DominantEdge "out.var.PN_DominantEdge"
271 OpName %out_var_PN_DominantEdge1 "out.var.PN_DominantEdge1"
272 OpName %out_var_PN_DominantEdge2 "out.var.PN_DominantEdge2"
273 OpName %out_var_PN_DominantEdge3 "out.var.PN_DominantEdge3"
274 OpName %out_var_PN_DominantEdge4 "out.var.PN_DominantEdge4"
275 OpName %out_var_PN_DominantEdge5 "out.var.PN_DominantEdge5"
276 OpName %out_var_PN_POSITION9 "out.var.PN_POSITION9"
277 OpName %MainHull "MainHull"
278 OpName %param_var_I "param.var.I"
279 OpName %temp_var_hullMainRetVal "temp.var.hullMainRetVal"
280 OpName %if_merge "if.merge"
281 OpDecorateString %in_var_TEXCOORD10_centroid UserSemantic "TEXCOORD10_centroid"
282 OpDecorateString %in_var_TEXCOORD11_centroid UserSemantic "TEXCOORD11_centroid"
283 OpDecorateString %in_var_VS_To_DS_Position UserSemantic "VS_To_DS_Position"
284 OpDecorateString %in_var_VS_To_DS_VertexID UserSemantic "VS_To_DS_VertexID"
285 OpDecorate %gl_InvocationID BuiltIn InvocationId
286 OpDecorateString %gl_InvocationID UserSemantic "SV_OutputControlPointID"
287 OpDecorateString %out_var_TEXCOORD10_centroid UserSemantic "TEXCOORD10_centroid"
288 OpDecorateString %out_var_TEXCOORD11_centroid UserSemantic "TEXCOORD11_centroid"
289 OpDecorateString %out_var_VS_To_DS_Position UserSemantic "VS_To_DS_Position"
290 OpDecorateString %out_var_VS_To_DS_VertexID UserSemantic "VS_To_DS_VertexID"
291 OpDecorateString %out_var_PN_POSITION UserSemantic "PN_POSITION"
292 OpDecorateString %out_var_PN_DisplacementScales UserSemantic "PN_DisplacementScales"
293 OpDecorateString %out_var_PN_TessellationMultiplier UserSemantic "PN_TessellationMultiplier"
294 OpDecorateString %out_var_PN_WorldDisplacementMultiplier UserSemantic "PN_WorldDisplacementMultiplier"
295 OpDecorateString %out_var_PN_DominantVertex UserSemantic "PN_DominantVertex"
296 OpDecorateString %out_var_PN_DominantVertex1 UserSemantic "PN_DominantVertex"
297 OpDecorateString %out_var_PN_DominantVertex2 UserSemantic "PN_DominantVertex"
298 OpDecorateString %out_var_PN_DominantEdge UserSemantic "PN_DominantEdge"
299 OpDecorateString %out_var_PN_DominantEdge1 UserSemantic "PN_DominantEdge"
300 OpDecorateString %out_var_PN_DominantEdge2 UserSemantic "PN_DominantEdge"
301 OpDecorateString %out_var_PN_DominantEdge3 UserSemantic "PN_DominantEdge"
302 OpDecorateString %out_var_PN_DominantEdge4 UserSemantic "PN_DominantEdge"
303 OpDecorateString %out_var_PN_DominantEdge5 UserSemantic "PN_DominantEdge"
304 OpDecorate %gl_TessLevelOuter BuiltIn TessLevelOuter
305 OpDecorateString %gl_TessLevelOuter UserSemantic "SV_TessFactor"
306 OpDecorate %gl_TessLevelOuter Patch
307 OpDecorate %gl_TessLevelInner BuiltIn TessLevelInner
308 OpDecorateString %gl_TessLevelInner UserSemantic "SV_InsideTessFactor"
309 OpDecorate %gl_TessLevelInner Patch
310 OpDecorateString %out_var_PN_POSITION9 UserSemantic "PN_POSITION9"
311 OpDecorate %out_var_PN_POSITION9 Patch
312 OpDecorate %in_var_TEXCOORD10_centroid Location 0
313 OpDecorate %in_var_TEXCOORD11_centroid Location 1
314 OpDecorate %in_var_VS_To_DS_Position Location 2
315 OpDecorate %in_var_VS_To_DS_VertexID Location 3
316 OpDecorate %out_var_PN_DisplacementScales Location 0
317 OpDecorate %out_var_PN_DominantEdge Location 1
318 OpDecorate %out_var_PN_DominantEdge1 Location 2
319 OpDecorate %out_var_PN_DominantEdge2 Location 3
320 OpDecorate %out_var_PN_DominantEdge3 Location 4
321 OpDecorate %out_var_PN_DominantEdge4 Location 5
322 OpDecorate %out_var_PN_DominantEdge5 Location 6
323 OpDecorate %out_var_PN_DominantVertex Location 7
324 OpDecorate %out_var_PN_DominantVertex1 Location 8
325 OpDecorate %out_var_PN_DominantVertex2 Location 9
326 OpDecorate %out_var_PN_POSITION Location 10
327 OpDecorate %out_var_PN_POSITION9 Location 13
328 OpDecorate %out_var_PN_TessellationMultiplier Location 14
329 OpDecorate %out_var_PN_WorldDisplacementMultiplier Location 15
330 OpDecorate %out_var_TEXCOORD10_centroid Location 16
331 OpDecorate %out_var_TEXCOORD11_centroid Location 17
332 OpDecorate %out_var_VS_To_DS_Position Location 18
333 OpDecorate %out_var_VS_To_DS_VertexID Location 19
334 OpDecorate %View DescriptorSet 0
335 OpDecorate %View Binding 0
336 OpDecorate %Primitive DescriptorSet 0
337 OpDecorate %Primitive Binding 1
338 OpDecorate %_arr_v4float_uint_2 ArrayStride 16
339 OpDecorate %_arr_v4float_uint_7 ArrayStride 16
340 OpDecorate %_arr_v4float_uint_4 ArrayStride 16
341 OpMemberDecorate %type_View 0 Offset 0
342 OpMemberDecorate %type_View 0 MatrixStride 16
343 OpMemberDecorate %type_View 0 ColMajor
344 OpMemberDecorate %type_View 1 Offset 64
345 OpMemberDecorate %type_View 1 MatrixStride 16
346 OpMemberDecorate %type_View 1 ColMajor
347 OpMemberDecorate %type_View 2 Offset 128
348 OpMemberDecorate %type_View 2 MatrixStride 16
349 OpMemberDecorate %type_View 2 ColMajor
350 OpMemberDecorate %type_View 3 Offset 192
351 OpMemberDecorate %type_View 3 MatrixStride 16
352 OpMemberDecorate %type_View 3 ColMajor
353 OpMemberDecorate %type_View 4 Offset 256
354 OpMemberDecorate %type_View 4 MatrixStride 16
355 OpMemberDecorate %type_View 4 ColMajor
356 OpMemberDecorate %type_View 5 Offset 320
357 OpMemberDecorate %type_View 5 MatrixStride 16
358 OpMemberDecorate %type_View 5 ColMajor
359 OpMemberDecorate %type_View 6 Offset 384
360 OpMemberDecorate %type_View 6 MatrixStride 16
361 OpMemberDecorate %type_View 6 ColMajor
362 OpMemberDecorate %type_View 7 Offset 448
363 OpMemberDecorate %type_View 7 MatrixStride 16
364 OpMemberDecorate %type_View 7 ColMajor
365 OpMemberDecorate %type_View 8 Offset 512
366 OpMemberDecorate %type_View 8 MatrixStride 16
367 OpMemberDecorate %type_View 8 ColMajor
368 OpMemberDecorate %type_View 9 Offset 576
369 OpMemberDecorate %type_View 9 MatrixStride 16
370 OpMemberDecorate %type_View 9 ColMajor
371 OpMemberDecorate %type_View 10 Offset 640
372 OpMemberDecorate %type_View 10 MatrixStride 16
373 OpMemberDecorate %type_View 10 ColMajor
374 OpMemberDecorate %type_View 11 Offset 704
375 OpMemberDecorate %type_View 11 MatrixStride 16
376 OpMemberDecorate %type_View 11 ColMajor
377 OpMemberDecorate %type_View 12 Offset 768
378 OpMemberDecorate %type_View 12 MatrixStride 16
379 OpMemberDecorate %type_View 12 ColMajor
380 OpMemberDecorate %type_View 13 Offset 832
381 OpMemberDecorate %type_View 13 MatrixStride 16
382 OpMemberDecorate %type_View 13 ColMajor
383 OpMemberDecorate %type_View 14 Offset 896
384 OpMemberDecorate %type_View 15 Offset 908
385 OpMemberDecorate %type_View 16 Offset 912
386 OpMemberDecorate %type_View 17 Offset 924
387 OpMemberDecorate %type_View 18 Offset 928
388 OpMemberDecorate %type_View 19 Offset 940
389 OpMemberDecorate %type_View 20 Offset 944
390 OpMemberDecorate %type_View 21 Offset 956
391 OpMemberDecorate %type_View 22 Offset 960
392 OpMemberDecorate %type_View 23 Offset 972
393 OpMemberDecorate %type_View 24 Offset 976
394 OpMemberDecorate %type_View 25 Offset 992
395 OpMemberDecorate %type_View 26 Offset 1008
396 OpMemberDecorate %type_View 27 Offset 1020
397 OpMemberDecorate %type_View 28 Offset 1024
398 OpMemberDecorate %type_View 29 Offset 1036
399 OpMemberDecorate %type_View 30 Offset 1040
400 OpMemberDecorate %type_View 31 Offset 1052
401 OpMemberDecorate %type_View 32 Offset 1056
402 OpMemberDecorate %type_View 33 Offset 1068
403 OpMemberDecorate %type_View 34 Offset 1072
404 OpMemberDecorate %type_View 34 MatrixStride 16
405 OpMemberDecorate %type_View 34 ColMajor
406 OpMemberDecorate %type_View 35 Offset 1136
407 OpMemberDecorate %type_View 35 MatrixStride 16
408 OpMemberDecorate %type_View 35 ColMajor
409 OpMemberDecorate %type_View 36 Offset 1200
410 OpMemberDecorate %type_View 36 MatrixStride 16
411 OpMemberDecorate %type_View 36 ColMajor
412 OpMemberDecorate %type_View 37 Offset 1264
413 OpMemberDecorate %type_View 37 MatrixStride 16
414 OpMemberDecorate %type_View 37 ColMajor
415 OpMemberDecorate %type_View 38 Offset 1328
416 OpMemberDecorate %type_View 38 MatrixStride 16
417 OpMemberDecorate %type_View 38 ColMajor
418 OpMemberDecorate %type_View 39 Offset 1392
419 OpMemberDecorate %type_View 39 MatrixStride 16
420 OpMemberDecorate %type_View 39 ColMajor
421 OpMemberDecorate %type_View 40 Offset 1456
422 OpMemberDecorate %type_View 40 MatrixStride 16
423 OpMemberDecorate %type_View 40 ColMajor
424 OpMemberDecorate %type_View 41 Offset 1520
425 OpMemberDecorate %type_View 41 MatrixStride 16
426 OpMemberDecorate %type_View 41 ColMajor
427 OpMemberDecorate %type_View 42 Offset 1584
428 OpMemberDecorate %type_View 42 MatrixStride 16
429 OpMemberDecorate %type_View 42 ColMajor
430 OpMemberDecorate %type_View 43 Offset 1648
431 OpMemberDecorate %type_View 43 MatrixStride 16
432 OpMemberDecorate %type_View 43 ColMajor
433 OpMemberDecorate %type_View 44 Offset 1712
434 OpMemberDecorate %type_View 45 Offset 1724
435 OpMemberDecorate %type_View 46 Offset 1728
436 OpMemberDecorate %type_View 47 Offset 1740
437 OpMemberDecorate %type_View 48 Offset 1744
438 OpMemberDecorate %type_View 49 Offset 1756
439 OpMemberDecorate %type_View 50 Offset 1760
440 OpMemberDecorate %type_View 50 MatrixStride 16
441 OpMemberDecorate %type_View 50 ColMajor
442 OpMemberDecorate %type_View 51 Offset 1824
443 OpMemberDecorate %type_View 51 MatrixStride 16
444 OpMemberDecorate %type_View 51 ColMajor
445 OpMemberDecorate %type_View 52 Offset 1888
446 OpMemberDecorate %type_View 52 MatrixStride 16
447 OpMemberDecorate %type_View 52 ColMajor
448 OpMemberDecorate %type_View 53 Offset 1952
449 OpMemberDecorate %type_View 54 Offset 1968
450 OpMemberDecorate %type_View 55 Offset 1984
451 OpMemberDecorate %type_View 56 Offset 1992
452 OpMemberDecorate %type_View 57 Offset 2000
453 OpMemberDecorate %type_View 58 Offset 2016
454 OpMemberDecorate %type_View 59 Offset 2032
455 OpMemberDecorate %type_View 60 Offset 2048
456 OpMemberDecorate %type_View 61 Offset 2064
457 OpMemberDecorate %type_View 62 Offset 2068
458 OpMemberDecorate %type_View 63 Offset 2072
459 OpMemberDecorate %type_View 64 Offset 2076
460 OpMemberDecorate %type_View 65 Offset 2080
461 OpMemberDecorate %type_View 66 Offset 2096
462 OpMemberDecorate %type_View 67 Offset 2112
463 OpMemberDecorate %type_View 68 Offset 2128
464 OpMemberDecorate %type_View 69 Offset 2136
465 OpMemberDecorate %type_View 70 Offset 2140
466 OpMemberDecorate %type_View 71 Offset 2144
467 OpMemberDecorate %type_View 72 Offset 2148
468 OpMemberDecorate %type_View 73 Offset 2152
469 OpMemberDecorate %type_View 74 Offset 2156
470 OpMemberDecorate %type_View 75 Offset 2160
471 OpMemberDecorate %type_View 76 Offset 2172
472 OpMemberDecorate %type_View 77 Offset 2176
473 OpMemberDecorate %type_View 78 Offset 2180
474 OpMemberDecorate %type_View 79 Offset 2184
475 OpMemberDecorate %type_View 80 Offset 2188
476 OpMemberDecorate %type_View 81 Offset 2192
477 OpMemberDecorate %type_View 82 Offset 2196
478 OpMemberDecorate %type_View 83 Offset 2200
479 OpMemberDecorate %type_View 84 Offset 2204
480 OpMemberDecorate %type_View 85 Offset 2208
481 OpMemberDecorate %type_View 86 Offset 2212
482 OpMemberDecorate %type_View 87 Offset 2216
483 OpMemberDecorate %type_View 88 Offset 2220
484 OpMemberDecorate %type_View 89 Offset 2224
485 OpMemberDecorate %type_View 90 Offset 2228
486 OpMemberDecorate %type_View 91 Offset 2232
487 OpMemberDecorate %type_View 92 Offset 2236
488 OpMemberDecorate %type_View 93 Offset 2240
489 OpMemberDecorate %type_View 94 Offset 2256
490 OpMemberDecorate %type_View 95 Offset 2268
491 OpMemberDecorate %type_View 96 Offset 2272
492 OpMemberDecorate %type_View 97 Offset 2304
493 OpMemberDecorate %type_View 98 Offset 2336
494 OpMemberDecorate %type_View 99 Offset 2352
495 OpMemberDecorate %type_View 100 Offset 2368
496 OpMemberDecorate %type_View 101 Offset 2372
497 OpMemberDecorate %type_View 102 Offset 2376
498 OpMemberDecorate %type_View 103 Offset 2380
499 OpMemberDecorate %type_View 104 Offset 2384
500 OpMemberDecorate %type_View 105 Offset 2388
501 OpMemberDecorate %type_View 106 Offset 2392
502 OpMemberDecorate %type_View 107 Offset 2396
503 OpMemberDecorate %type_View 108 Offset 2400
504 OpMemberDecorate %type_View 109 Offset 2404
505 OpMemberDecorate %type_View 110 Offset 2408
506 OpMemberDecorate %type_View 111 Offset 2412
507 OpMemberDecorate %type_View 112 Offset 2416
508 OpMemberDecorate %type_View 113 Offset 2428
509 OpMemberDecorate %type_View 114 Offset 2432
510 OpMemberDecorate %type_View 115 Offset 2444
511 OpMemberDecorate %type_View 116 Offset 2448
512 OpMemberDecorate %type_View 117 Offset 2452
513 OpMemberDecorate %type_View 118 Offset 2456
514 OpMemberDecorate %type_View 119 Offset 2460
515 OpMemberDecorate %type_View 120 Offset 2464
516 OpMemberDecorate %type_View 121 Offset 2468
517 OpMemberDecorate %type_View 122 Offset 2472
518 OpMemberDecorate %type_View 123 Offset 2476
519 OpMemberDecorate %type_View 124 Offset 2480
520 OpMemberDecorate %type_View 125 Offset 2484
521 OpMemberDecorate %type_View 126 Offset 2488
522 OpMemberDecorate %type_View 127 Offset 2492
523 OpMemberDecorate %type_View 128 Offset 2496
524 OpMemberDecorate %type_View 129 Offset 2512
525 OpMemberDecorate %type_View 130 Offset 2516
526 OpMemberDecorate %type_View 131 Offset 2520
527 OpMemberDecorate %type_View 132 Offset 2524
528 OpMemberDecorate %type_View 133 Offset 2528
529 OpMemberDecorate %type_View 134 Offset 2544
530 OpMemberDecorate %type_View 135 Offset 2556
531 OpMemberDecorate %type_View 136 Offset 2560
532 OpMemberDecorate %type_View 137 Offset 2576
533 OpMemberDecorate %type_View 138 Offset 2580
534 OpMemberDecorate %type_View 139 Offset 2584
535 OpMemberDecorate %type_View 140 Offset 2588
536 OpMemberDecorate %type_View 141 Offset 2592
537 OpMemberDecorate %type_View 142 Offset 2608
538 OpMemberDecorate %type_View 143 Offset 2720
539 OpMemberDecorate %type_View 144 Offset 2724
540 OpMemberDecorate %type_View 145 Offset 2728
541 OpMemberDecorate %type_View 146 Offset 2732
542 OpMemberDecorate %type_View 147 Offset 2736
543 OpMemberDecorate %type_View 148 Offset 2740
544 OpMemberDecorate %type_View 149 Offset 2744
545 OpMemberDecorate %type_View 150 Offset 2748
546 OpMemberDecorate %type_View 151 Offset 2752
547 OpMemberDecorate %type_View 152 Offset 2764
548 OpMemberDecorate %type_View 153 Offset 2768
549 OpMemberDecorate %type_View 154 Offset 2832
550 OpMemberDecorate %type_View 155 Offset 2896
551 OpMemberDecorate %type_View 156 Offset 2900
552 OpMemberDecorate %type_View 157 Offset 2904
553 OpMemberDecorate %type_View 158 Offset 2908
554 OpMemberDecorate %type_View 159 Offset 2912
555 OpMemberDecorate %type_View 160 Offset 2920
556 OpMemberDecorate %type_View 161 Offset 2924
557 OpMemberDecorate %type_View 162 Offset 2928
558 OpMemberDecorate %type_View 163 Offset 2940
559 OpMemberDecorate %type_View 164 Offset 2944
560 OpMemberDecorate %type_View 165 Offset 2956
561 OpMemberDecorate %type_View 166 Offset 2960
562 OpMemberDecorate %type_View 167 Offset 2968
563 OpMemberDecorate %type_View 168 Offset 2972
564 OpMemberDecorate %type_View 169 Offset 2976
565 OpMemberDecorate %type_View 170 Offset 2988
566 OpMemberDecorate %type_View 171 Offset 2992
567 OpMemberDecorate %type_View 172 Offset 3004
568 OpMemberDecorate %type_View 173 Offset 3008
569 OpMemberDecorate %type_View 174 Offset 3020
570 OpMemberDecorate %type_View 175 Offset 3024
571 OpMemberDecorate %type_View 176 Offset 3036
572 OpMemberDecorate %type_View 177 Offset 3040
573 OpMemberDecorate %type_View 178 Offset 3044
574 OpDecorate %type_View Block
575 OpMemberDecorate %type_Primitive 0 Offset 0
576 OpMemberDecorate %type_Primitive 0 MatrixStride 16
577 OpMemberDecorate %type_Primitive 0 ColMajor
578 OpMemberDecorate %type_Primitive 1 Offset 64
579 OpMemberDecorate %type_Primitive 2 Offset 80
580 OpMemberDecorate %type_Primitive 3 Offset 96
581 OpMemberDecorate %type_Primitive 3 MatrixStride 16
582 OpMemberDecorate %type_Primitive 3 ColMajor
583 OpMemberDecorate %type_Primitive 4 Offset 160
584 OpMemberDecorate %type_Primitive 4 MatrixStride 16
585 OpMemberDecorate %type_Primitive 4 ColMajor
586 OpMemberDecorate %type_Primitive 5 Offset 224
587 OpMemberDecorate %type_Primitive 5 MatrixStride 16
588 OpMemberDecorate %type_Primitive 5 ColMajor
589 OpMemberDecorate %type_Primitive 6 Offset 288
590 OpMemberDecorate %type_Primitive 7 Offset 300
591 OpMemberDecorate %type_Primitive 8 Offset 304
592 OpMemberDecorate %type_Primitive 9 Offset 316
593 OpMemberDecorate %type_Primitive 10 Offset 320
594 OpMemberDecorate %type_Primitive 11 Offset 324
595 OpMemberDecorate %type_Primitive 12 Offset 328
596 OpMemberDecorate %type_Primitive 13 Offset 332
597 OpMemberDecorate %type_Primitive 14 Offset 336
598 OpMemberDecorate %type_Primitive 15 Offset 352
599 OpMemberDecorate %type_Primitive 16 Offset 368
600 OpMemberDecorate %type_Primitive 17 Offset 380
601 OpMemberDecorate %type_Primitive 18 Offset 384
602 OpMemberDecorate %type_Primitive 19 Offset 396
603 OpMemberDecorate %type_Primitive 20 Offset 400
604 OpMemberDecorate %type_Primitive 21 Offset 412
605 OpMemberDecorate %type_Primitive 22 Offset 416
606 OpMemberDecorate %type_Primitive 23 Offset 420
607 OpMemberDecorate %type_Primitive 24 Offset 424
608 OpMemberDecorate %type_Primitive 25 Offset 428
609 OpMemberDecorate %type_Primitive 26 Offset 432
610 OpDecorate %type_Primitive Block
611 %float = OpTypeFloat 32
612 %v4float = OpTypeVector %float 4
613 %mat4v4float = OpTypeMatrix %v4float 4
614 %v3float = OpTypeVector %float 3
615 %v2float = OpTypeVector %float 2
616 %int = OpTypeInt 32 1
617 %uint = OpTypeInt 32 0
618 %uint_2 = OpConstant %uint 2
619 %uint_7 = OpConstant %uint 7
620 %uint_4 = OpConstant %uint 4
621 %v2int = OpTypeVector %int 2
622 %uint_0 = OpConstant %uint 0
623 %uint_1 = OpConstant %uint 1
624 %uint_3 = OpConstant %uint 3
625 %_arr_float_uint_3 = OpTypeArray %float %uint_3
626 %int_1 = OpConstant %int 1
627 %int_0 = OpConstant %int 0
628 %int_2 = OpConstant %int 2
629 %float_2 = OpConstant %float 2
630 %63 = OpConstantComposite %v4float %float_2 %float_2 %float_2 %float_2
631 %float_0_5 = OpConstant %float 0.5
632 %int_3 = OpConstant %int 3
633 %float_0_333000004 = OpConstant %float 0.333000004
634 %float_1 = OpConstant %float 1
635 %68 = OpConstantComposite %v4float %float_1 %float_1 %float_1 %float_1
636 %float_15 = OpConstant %float 15
637 %70 = OpConstantComposite %v4float %float_15 %float_15 %float_15 %float_15
638 %FVertexFactoryInterpolantsVSToPS = OpTypeStruct %v4float %v4float
639 %FVertexFactoryInterpolantsVSToDS = OpTypeStruct %FVertexFactoryInterpolantsVSToPS
640 %FHitProxyVSToDS = OpTypeStruct %FVertexFactoryInterpolantsVSToDS %v4float %uint
641 %_arr_v4float_uint_3 = OpTypeArray %v4float %uint_3
642 %FHullShaderConstantDominantVertexData = OpTypeStruct %v2float %v4float %v3float
643 %FHullShaderConstantDominantEdgeData = OpTypeStruct %v2float %v2float %v4float %v4float %v3float %v3float
644 %FPNTessellationHSToDS = OpTypeStruct %FHitProxyVSToDS %_arr_v4float_uint_3 %v3float %float %float %FHullShaderConstantDominantVertexData %FHullShaderConstantDominantEdgeData
645 %uint_9 = OpConstant %uint 9
646 %v3int = OpTypeVector %int 3
647 %74 = OpConstantComposite %v3int %int_0 %int_0 %int_0
648 %75 = OpConstantComposite %v3int %int_3 %int_3 %int_3
649 %float_0 = OpConstant %float 0
650 %77 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_0
651 %78 = OpConstantComposite %v3float %float_0_5 %float_0_5 %float_0_5
652 %int_78 = OpConstant %int 78
653 %int_15 = OpConstant %int 15
654 %int_7 = OpConstant %int 7
655 %int_28 = OpConstant %int 28
656 %83 = OpConstantComposite %v3int %int_1 %int_1 %int_1
657 %84 = OpConstantComposite %v3int %int_2 %int_2 %int_2
658 %_arr_v4float_uint_2 = OpTypeArray %v4float %uint_2
659 %_arr_v4float_uint_7 = OpTypeArray %v4float %uint_7
660 %_arr_v4float_uint_4 = OpTypeArray %v4float %uint_4
661 %type_View = OpTypeStruct %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %v3float %float %v3float %float %v3float %float %v3float %float %v3float %float %v4float %v4float %v3float %float %v3float %float %v3float %float %v3float %float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %mat4v4float %v3float %float %v3float %float %v3float %float %mat4v4float %mat4v4float %mat4v4float %v4float %v4float %v2float %v2float %v4float %v4float %v4float %v4float %int %float %float %float %v4float %v4float %v4float %v2float %float %float %float %float %float %float %v3float %float %float %float %float %float %float %float %float %uint %uint %uint %uint %float %float %float %float %float %v4float %v3float %float %_arr_v4float_uint_2 %_arr_v4float_uint_2 %v4float %v4float %float %float %float %float %float %float %float %float %float %float %float %float %v3float %float %v3float %float %float %float %float %float %float %float %float %float %float %float %float %float %v4float %uint %uint %uint %uint %v4float %v3float %float %v4float %float %float %float %float %v4float %_arr_v4float_uint_7 %float %float %float %float %uint %float %float %float %v3float %int %_arr_v4float_uint_4 %_arr_v4float_uint_4 %float %float %float %float %v2int %float %float %v3float %float %v3float %float %v2float %float %float %v3float %float %v3float %float %v3float %float %v3float %float %float %float
662 %_ptr_Uniform_type_View = OpTypePointer Uniform %type_View
663 %type_Primitive = OpTypeStruct %mat4v4float %v4float %v4float %mat4v4float %mat4v4float %mat4v4float %v3float %float %v3float %float %float %float %float %float %v4float %v4float %v3float %uint %v3float %uint %v3float %int %uint %uint %uint %uint %_arr_v4float_uint_4
664 %_ptr_Uniform_type_Primitive = OpTypePointer Uniform %type_Primitive
665 %uint_12 = OpConstant %uint 12
666 %_arr_v4float_uint_12 = OpTypeArray %v4float %uint_12
667 %_ptr_Input__arr_v4float_uint_12 = OpTypePointer Input %_arr_v4float_uint_12
668 %_arr_uint_uint_12 = OpTypeArray %uint %uint_12
669 %_ptr_Input__arr_uint_uint_12 = OpTypePointer Input %_arr_uint_uint_12
670 %_ptr_Input_uint = OpTypePointer Input %uint
671 %_ptr_Output__arr_v4float_uint_3 = OpTypePointer Output %_arr_v4float_uint_3
672 %_arr_uint_uint_3 = OpTypeArray %uint %uint_3
673 %_ptr_Output__arr_uint_uint_3 = OpTypePointer Output %_arr_uint_uint_3
674 %_arr__arr_v4float_uint_3_uint_3 = OpTypeArray %_arr_v4float_uint_3 %uint_3
675 %_ptr_Output__arr__arr_v4float_uint_3_uint_3 = OpTypePointer Output %_arr__arr_v4float_uint_3_uint_3
676 %_arr_v3float_uint_3 = OpTypeArray %v3float %uint_3
677 %_ptr_Output__arr_v3float_uint_3 = OpTypePointer Output %_arr_v3float_uint_3
678 %_ptr_Output__arr_float_uint_3 = OpTypePointer Output %_arr_float_uint_3
679 %_arr_v2float_uint_3 = OpTypeArray %v2float %uint_3
680 %_ptr_Output__arr_v2float_uint_3 = OpTypePointer Output %_arr_v2float_uint_3
681 %_arr_float_uint_4 = OpTypeArray %float %uint_4
682 %_ptr_Output__arr_float_uint_4 = OpTypePointer Output %_arr_float_uint_4
683 %_arr_float_uint_2 = OpTypeArray %float %uint_2
684 %_ptr_Output__arr_float_uint_2 = OpTypePointer Output %_arr_float_uint_2
685 %_ptr_Output_v4float = OpTypePointer Output %v4float
686 %void = OpTypeVoid
687 %109 = OpTypeFunction %void
688 %_arr_FHitProxyVSToDS_uint_12 = OpTypeArray %FHitProxyVSToDS %uint_12
689 %_ptr_Function__arr_FHitProxyVSToDS_uint_12 = OpTypePointer Function %_arr_FHitProxyVSToDS_uint_12
690 %_arr_FPNTessellationHSToDS_uint_3 = OpTypeArray %FPNTessellationHSToDS %uint_3
691 %_ptr_Function__arr_FPNTessellationHSToDS_uint_3 = OpTypePointer Function %_arr_FPNTessellationHSToDS_uint_3
692 %_ptr_Workgroup__arr_FPNTessellationHSToDS_uint_3 = OpTypePointer Workgroup %_arr_FPNTessellationHSToDS_uint_3
693 %_ptr_Output_uint = OpTypePointer Output %uint
694 %_ptr_Output_v3float = OpTypePointer Output %v3float
695 %_ptr_Output_float = OpTypePointer Output %float
696 %_ptr_Output_v2float = OpTypePointer Output %v2float
697 %_ptr_Function_FPNTessellationHSToDS = OpTypePointer Function %FPNTessellationHSToDS
698 %_ptr_Workgroup_FPNTessellationHSToDS = OpTypePointer Workgroup %FPNTessellationHSToDS
699 %bool = OpTypeBool
700 %_ptr_Function_v4float = OpTypePointer Function %v4float
701 %_ptr_Function_float = OpTypePointer Function %float
702 %_ptr_Workgroup_v4float = OpTypePointer Workgroup %v4float
703 %_ptr_Workgroup_float = OpTypePointer Workgroup %float
704 %mat3v3float = OpTypeMatrix %v3float 3
705 %_ptr_Function_FVertexFactoryInterpolantsVSToDS = OpTypePointer Function %FVertexFactoryInterpolantsVSToDS
706 %_ptr_Function_FHitProxyVSToDS = OpTypePointer Function %FHitProxyVSToDS
707 %v3bool = OpTypeVector %bool 3
708 %_ptr_Uniform_float = OpTypePointer Uniform %float
709 %_ptr_Uniform_v4float = OpTypePointer Uniform %v4float
710 %_ptr_Uniform_mat4v4float = OpTypePointer Uniform %mat4v4float
711 %_ptr_Uniform_v3float = OpTypePointer Uniform %v3float
712 %View = OpVariable %_ptr_Uniform_type_View Uniform
713 %Primitive = OpVariable %_ptr_Uniform_type_Primitive Uniform
714 %in_var_TEXCOORD10_centroid = OpVariable %_ptr_Input__arr_v4float_uint_12 Input
715 %in_var_TEXCOORD11_centroid = OpVariable %_ptr_Input__arr_v4float_uint_12 Input
716 %in_var_VS_To_DS_Position = OpVariable %_ptr_Input__arr_v4float_uint_12 Input
717 %in_var_VS_To_DS_VertexID = OpVariable %_ptr_Input__arr_uint_uint_12 Input
718 %gl_InvocationID = OpVariable %_ptr_Input_uint Input
719 %out_var_TEXCOORD10_centroid = OpVariable %_ptr_Output__arr_v4float_uint_3 Output
720 %out_var_TEXCOORD11_centroid = OpVariable %_ptr_Output__arr_v4float_uint_3 Output
721 %out_var_VS_To_DS_Position = OpVariable %_ptr_Output__arr_v4float_uint_3 Output
722 %out_var_VS_To_DS_VertexID = OpVariable %_ptr_Output__arr_uint_uint_3 Output
723 %out_var_PN_POSITION = OpVariable %_ptr_Output__arr__arr_v4float_uint_3_uint_3 Output
724 %out_var_PN_DisplacementScales = OpVariable %_ptr_Output__arr_v3float_uint_3 Output
725 %out_var_PN_TessellationMultiplier = OpVariable %_ptr_Output__arr_float_uint_3 Output
726 %out_var_PN_WorldDisplacementMultiplier = OpVariable %_ptr_Output__arr_float_uint_3 Output
727 %out_var_PN_DominantVertex = OpVariable %_ptr_Output__arr_v2float_uint_3 Output
728 %out_var_PN_DominantVertex1 = OpVariable %_ptr_Output__arr_v4float_uint_3 Output
729 %out_var_PN_DominantVertex2 = OpVariable %_ptr_Output__arr_v3float_uint_3 Output
730 %out_var_PN_DominantEdge = OpVariable %_ptr_Output__arr_v2float_uint_3 Output
731 %out_var_PN_DominantEdge1 = OpVariable %_ptr_Output__arr_v2float_uint_3 Output
732 %out_var_PN_DominantEdge2 = OpVariable %_ptr_Output__arr_v4float_uint_3 Output
733 %out_var_PN_DominantEdge3 = OpVariable %_ptr_Output__arr_v4float_uint_3 Output
734 %out_var_PN_DominantEdge4 = OpVariable %_ptr_Output__arr_v3float_uint_3 Output
735 %out_var_PN_DominantEdge5 = OpVariable %_ptr_Output__arr_v3float_uint_3 Output
736 %gl_TessLevelOuter = OpVariable %_ptr_Output__arr_float_uint_4 Output
737 %gl_TessLevelInner = OpVariable %_ptr_Output__arr_float_uint_2 Output
738 %out_var_PN_POSITION9 = OpVariable %_ptr_Output_v4float Output
739 %130 = OpConstantNull %v2float
740 %float_0_333333343 = OpConstant %float 0.333333343
741 %132 = OpConstantComposite %v4float %float_0_333333343 %float_0_333333343 %float_0_333333343 %float_0_333333343
742 %133 = OpConstantComposite %v4float %float_0_5 %float_0_5 %float_0_5 %float_0_5
743 %float_0_166666672 = OpConstant %float 0.166666672
744 %135 = OpConstantComposite %v4float %float_0_166666672 %float_0_166666672 %float_0_166666672 %float_0_166666672
745 %136 = OpUndef %v4float
746
747 ; XXX: Original asm used Function here, which is wrong.
748 ; This patches the SPIR-V to be correct.
749 %temp_var_hullMainRetVal = OpVariable %_ptr_Workgroup__arr_FPNTessellationHSToDS_uint_3 Workgroup
750
751 %MainHull = OpFunction %void None %109
752 %137 = OpLabel
753 %param_var_I = OpVariable %_ptr_Function__arr_FHitProxyVSToDS_uint_12 Function
754 %138 = OpLoad %_arr_v4float_uint_12 %in_var_TEXCOORD10_centroid
755 %139 = OpLoad %_arr_v4float_uint_12 %in_var_TEXCOORD11_centroid
756 %140 = OpCompositeExtract %v4float %138 0
757 %141 = OpCompositeExtract %v4float %139 0
758 %142 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToPS %140 %141
759 %143 = OpCompositeExtract %v4float %138 1
760 %144 = OpCompositeExtract %v4float %139 1
761 %145 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToPS %143 %144
762 %146 = OpCompositeExtract %v4float %138 2
763 %147 = OpCompositeExtract %v4float %139 2
764 %148 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToPS %146 %147
765 %149 = OpCompositeExtract %v4float %138 3
766 %150 = OpCompositeExtract %v4float %139 3
767 %151 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToPS %149 %150
768 %152 = OpCompositeExtract %v4float %138 4
769 %153 = OpCompositeExtract %v4float %139 4
770 %154 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToPS %152 %153
771 %155 = OpCompositeExtract %v4float %138 5
772 %156 = OpCompositeExtract %v4float %139 5
773 %157 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToPS %155 %156
774 %158 = OpCompositeExtract %v4float %138 6
775 %159 = OpCompositeExtract %v4float %139 6
776 %160 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToPS %158 %159
777 %161 = OpCompositeExtract %v4float %138 7
778 %162 = OpCompositeExtract %v4float %139 7
779 %163 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToPS %161 %162
780 %164 = OpCompositeExtract %v4float %138 8
781 %165 = OpCompositeExtract %v4float %139 8
782 %166 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToPS %164 %165
783 %167 = OpCompositeExtract %v4float %138 9
784 %168 = OpCompositeExtract %v4float %139 9
785 %169 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToPS %167 %168
786 %170 = OpCompositeExtract %v4float %138 10
787 %171 = OpCompositeExtract %v4float %139 10
788 %172 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToPS %170 %171
789 %173 = OpCompositeExtract %v4float %138 11
790 %174 = OpCompositeExtract %v4float %139 11
791 %175 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToPS %173 %174
792 %176 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToDS %142
793 %177 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToDS %145
794 %178 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToDS %148
795 %179 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToDS %151
796 %180 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToDS %154
797 %181 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToDS %157
798 %182 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToDS %160
799 %183 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToDS %163
800 %184 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToDS %166
801 %185 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToDS %169
802 %186 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToDS %172
803 %187 = OpCompositeConstruct %FVertexFactoryInterpolantsVSToDS %175
804 %188 = OpLoad %_arr_v4float_uint_12 %in_var_VS_To_DS_Position
805 %189 = OpLoad %_arr_uint_uint_12 %in_var_VS_To_DS_VertexID
806 %190 = OpCompositeExtract %v4float %188 0
807 %191 = OpCompositeExtract %uint %189 0
808 %192 = OpCompositeConstruct %FHitProxyVSToDS %176 %190 %191
809 %193 = OpCompositeExtract %v4float %188 1
810 %194 = OpCompositeExtract %uint %189 1
811 %195 = OpCompositeConstruct %FHitProxyVSToDS %177 %193 %194
812 %196 = OpCompositeExtract %v4float %188 2
813 %197 = OpCompositeExtract %uint %189 2
814 %198 = OpCompositeConstruct %FHitProxyVSToDS %178 %196 %197
815 %199 = OpCompositeExtract %v4float %188 3
816 %200 = OpCompositeExtract %uint %189 3
817 %201 = OpCompositeConstruct %FHitProxyVSToDS %179 %199 %200
818 %202 = OpCompositeExtract %v4float %188 4
819 %203 = OpCompositeExtract %uint %189 4
820 %204 = OpCompositeConstruct %FHitProxyVSToDS %180 %202 %203
821 %205 = OpCompositeExtract %v4float %188 5
822 %206 = OpCompositeExtract %uint %189 5
823 %207 = OpCompositeConstruct %FHitProxyVSToDS %181 %205 %206
824 %208 = OpCompositeExtract %v4float %188 6
825 %209 = OpCompositeExtract %uint %189 6
826 %210 = OpCompositeConstruct %FHitProxyVSToDS %182 %208 %209
827 %211 = OpCompositeExtract %v4float %188 7
828 %212 = OpCompositeExtract %uint %189 7
829 %213 = OpCompositeConstruct %FHitProxyVSToDS %183 %211 %212
830 %214 = OpCompositeExtract %v4float %188 8
831 %215 = OpCompositeExtract %uint %189 8
832 %216 = OpCompositeConstruct %FHitProxyVSToDS %184 %214 %215
833 %217 = OpCompositeExtract %v4float %188 9
834 %218 = OpCompositeExtract %uint %189 9
835 %219 = OpCompositeConstruct %FHitProxyVSToDS %185 %217 %218
836 %220 = OpCompositeExtract %v4float %188 10
837 %221 = OpCompositeExtract %uint %189 10
838 %222 = OpCompositeConstruct %FHitProxyVSToDS %186 %220 %221
839 %223 = OpCompositeExtract %v4float %188 11
840 %224 = OpCompositeExtract %uint %189 11
841 %225 = OpCompositeConstruct %FHitProxyVSToDS %187 %223 %224
842 %226 = OpCompositeConstruct %_arr_FHitProxyVSToDS_uint_12 %192 %195 %198 %201 %204 %207 %210 %213 %216 %219 %222 %225
843 OpStore %param_var_I %226
844 %227 = OpLoad %uint %gl_InvocationID
845 %228 = OpAccessChain %_ptr_Function_FVertexFactoryInterpolantsVSToDS %param_var_I %227 %int_0
846 %229 = OpLoad %FVertexFactoryInterpolantsVSToDS %228
847 %230 = OpCompositeExtract %FVertexFactoryInterpolantsVSToPS %229 0
848 %231 = OpCompositeExtract %v4float %230 0
849 %232 = OpCompositeExtract %v4float %230 1
850 %233 = OpVectorShuffle %v3float %231 %231 0 1 2
851 %234 = OpVectorShuffle %v3float %232 %232 0 1 2
852 %235 = OpExtInst %v3float %1 Cross %234 %233
853 %236 = OpCompositeExtract %float %232 3
854 %237 = OpCompositeConstruct %v3float %236 %236 %236
855 %238 = OpFMul %v3float %235 %237
856 %239 = OpCompositeConstruct %mat3v3float %233 %238 %234
857 %240 = OpCompositeExtract %float %232 0
858 %241 = OpCompositeExtract %float %232 1
859 %242 = OpCompositeExtract %float %232 2
860 %243 = OpCompositeConstruct %v4float %240 %241 %242 %float_0
861 %244 = OpAccessChain %_ptr_Uniform_v4float %Primitive %int_15
862 %245 = OpLoad %v4float %244
863 %246 = OpVectorShuffle %v3float %245 %245 0 1 2
864 %247 = OpVectorTimesMatrix %v3float %246 %239
865 %248 = OpULessThan %bool %227 %uint_2
866 %249 = OpIAdd %uint %227 %uint_1
867 %250 = OpSelect %uint %248 %249 %uint_0
868 %251 = OpIMul %uint %uint_2 %227
869 %252 = OpIAdd %uint %uint_3 %251
870 %253 = OpIAdd %uint %251 %uint_4
871 %254 = OpAccessChain %_ptr_Function_FHitProxyVSToDS %param_var_I %227
872 %255 = OpLoad %FHitProxyVSToDS %254
873 %256 = OpAccessChain %_ptr_Function_v4float %param_var_I %227 %int_1
874 %257 = OpLoad %v4float %256
875 %258 = OpULessThan %bool %250 %uint_2
876 %259 = OpIAdd %uint %250 %uint_1
877 %260 = OpSelect %uint %258 %259 %uint_0
878 %261 = OpIMul %uint %uint_2 %250
879 %262 = OpIAdd %uint %uint_3 %261
880 %263 = OpIAdd %uint %261 %uint_4
881 %264 = OpIAdd %uint %uint_9 %227
882 %265 = OpAccessChain %_ptr_Function_FHitProxyVSToDS %param_var_I %264
883 %266 = OpLoad %FHitProxyVSToDS %265
884 %267 = OpCompositeExtract %FVertexFactoryInterpolantsVSToDS %266 0
885 %268 = OpCompositeExtract %FVertexFactoryInterpolantsVSToPS %267 0
886 %269 = OpCompositeExtract %v4float %268 0
887 %270 = OpCompositeExtract %v4float %268 1
888 %271 = OpVectorShuffle %v3float %269 %269 0 1 2
889 %272 = OpCompositeExtract %float %270 0
890 %273 = OpCompositeExtract %float %270 1
891 %274 = OpCompositeExtract %float %270 2
892 %275 = OpCompositeConstruct %v4float %272 %273 %274 %float_0
893 %276 = OpAccessChain %_ptr_Function_FHitProxyVSToDS %param_var_I %250
894 %277 = OpLoad %FHitProxyVSToDS %276
895 %278 = OpCompositeExtract %uint %277 2
896 %279 = OpAccessChain %_ptr_Function_FHitProxyVSToDS %param_var_I %260
897 %280 = OpLoad %FHitProxyVSToDS %279
898 %281 = OpCompositeExtract %uint %280 2
899 %282 = OpAccessChain %_ptr_Function_FHitProxyVSToDS %param_var_I %262
900 %283 = OpLoad %FHitProxyVSToDS %282
901 %284 = OpCompositeExtract %uint %283 2
902 %285 = OpAccessChain %_ptr_Function_FHitProxyVSToDS %param_var_I %263
903 %286 = OpLoad %FHitProxyVSToDS %285
904 %287 = OpCompositeExtract %uint %286 2
905 %288 = OpCompositeExtract %FVertexFactoryInterpolantsVSToDS %277 0
906 %289 = OpCompositeExtract %FVertexFactoryInterpolantsVSToPS %288 0
907 %290 = OpCompositeExtract %v4float %289 0
908 %291 = OpCompositeExtract %v4float %289 1
909 %292 = OpCompositeExtract %FVertexFactoryInterpolantsVSToDS %280 0
910 %293 = OpCompositeExtract %FVertexFactoryInterpolantsVSToPS %292 0
911 %294 = OpCompositeExtract %v4float %293 0
912 %295 = OpCompositeExtract %v4float %293 1
913 %296 = OpULessThan %bool %284 %278
914 %297 = OpIEqual %bool %284 %278
915 %298 = OpULessThan %bool %287 %281
916 %299 = OpLogicalAnd %bool %297 %298
917 %300 = OpLogicalOr %bool %296 %299
918 OpSelectionMerge %301 None
919 OpBranchConditional %300 %302 %301
920 %302 = OpLabel
921 %303 = OpCompositeExtract %FVertexFactoryInterpolantsVSToDS %283 0
922 %304 = OpCompositeExtract %FVertexFactoryInterpolantsVSToPS %303 0
923 %305 = OpCompositeExtract %v4float %304 0
924 %306 = OpCompositeExtract %v4float %304 1
925 %307 = OpCompositeExtract %FVertexFactoryInterpolantsVSToDS %286 0
926 %308 = OpCompositeExtract %FVertexFactoryInterpolantsVSToPS %307 0
927 %309 = OpCompositeExtract %v4float %308 0
928 %310 = OpCompositeExtract %v4float %308 1
929 OpBranch %301
930 %301 = OpLabel
931 %311 = OpPhi %v4float %294 %137 %309 %302
932 %312 = OpPhi %v4float %295 %137 %310 %302
933 %313 = OpPhi %v4float %290 %137 %305 %302
934 %314 = OpPhi %v4float %291 %137 %306 %302
935 %315 = OpVectorShuffle %v3float %313 %313 0 1 2
936 %316 = OpVectorShuffle %v3float %311 %311 0 1 2
937 %317 = OpCompositeExtract %float %314 0
938 %318 = OpCompositeExtract %float %314 1
939 %319 = OpCompositeExtract %float %314 2
940 %320 = OpCompositeConstruct %v4float %317 %318 %319 %float_0
941 %321 = OpCompositeExtract %float %312 0
942 %322 = OpCompositeExtract %float %312 1
943 %323 = OpCompositeExtract %float %312 2
944 %324 = OpCompositeConstruct %v4float %321 %322 %323 %float_0
945 %325 = OpAccessChain %_ptr_Function_FVertexFactoryInterpolantsVSToDS %param_var_I %250 %int_0
946 %326 = OpLoad %FVertexFactoryInterpolantsVSToDS %325
947 %327 = OpCompositeExtract %FVertexFactoryInterpolantsVSToPS %326 0
948 %328 = OpCompositeExtract %v4float %327 1
949 %329 = OpCompositeExtract %float %328 0
950 %330 = OpCompositeExtract %float %328 1
951 %331 = OpCompositeExtract %float %328 2
952 %332 = OpCompositeConstruct %v4float %329 %330 %331 %float_0
953 %333 = OpAccessChain %_ptr_Function_FVertexFactoryInterpolantsVSToDS %param_var_I %252 %int_0
954 %334 = OpLoad %FVertexFactoryInterpolantsVSToDS %333
955 %335 = OpCompositeExtract %FVertexFactoryInterpolantsVSToPS %334 0
956 %336 = OpCompositeExtract %v4float %335 1
957 %337 = OpCompositeExtract %float %336 0
958 %338 = OpCompositeExtract %float %336 1
959 %339 = OpCompositeExtract %float %336 2
960 %340 = OpCompositeConstruct %v4float %337 %338 %339 %float_0
961 %341 = OpAccessChain %_ptr_Function_FVertexFactoryInterpolantsVSToDS %param_var_I %253 %int_0
962 %342 = OpLoad %FVertexFactoryInterpolantsVSToDS %341
963 %343 = OpCompositeExtract %FVertexFactoryInterpolantsVSToPS %342 0
964 %344 = OpCompositeExtract %v4float %343 1
965 %345 = OpCompositeExtract %float %344 0
966 %346 = OpCompositeExtract %float %344 1
967 %347 = OpCompositeExtract %float %344 2
968 %348 = OpCompositeConstruct %v4float %345 %346 %347 %float_0
969 %349 = OpLoad %v4float %256
970 %350 = OpAccessChain %_ptr_Function_v4float %param_var_I %250 %int_1
971 %351 = OpLoad %v4float %350
972 %352 = OpFMul %v4float %63 %349
973 %353 = OpFAdd %v4float %352 %351
974 %354 = OpFSub %v4float %351 %349
975 %355 = OpDot %float %354 %243
976 %356 = OpCompositeConstruct %v4float %355 %355 %355 %355
977 %357 = OpFMul %v4float %356 %243
978 %358 = OpFSub %v4float %353 %357
979 %359 = OpFMul %v4float %358 %132
980 %360 = OpAccessChain %_ptr_Function_v4float %param_var_I %252 %int_1
981 %361 = OpLoad %v4float %360
982 %362 = OpAccessChain %_ptr_Function_v4float %param_var_I %253 %int_1
983 %363 = OpLoad %v4float %362
984 %364 = OpFMul %v4float %63 %361
985 %365 = OpFAdd %v4float %364 %363
986 %366 = OpFSub %v4float %363 %361
987 %367 = OpDot %float %366 %340
988 %368 = OpCompositeConstruct %v4float %367 %367 %367 %367
989 %369 = OpFMul %v4float %368 %340
990 %370 = OpFSub %v4float %365 %369
991 %371 = OpFMul %v4float %370 %132
992 %372 = OpFAdd %v4float %359 %371
993 %373 = OpFMul %v4float %372 %133
994 %374 = OpLoad %v4float %350
995 %375 = OpLoad %v4float %256
996 %376 = OpFMul %v4float %63 %374
997 %377 = OpFAdd %v4float %376 %375
998 %378 = OpFSub %v4float %375 %374
999 %379 = OpDot %float %378 %332
1000 %380 = OpCompositeConstruct %v4float %379 %379 %379 %379
1001 %381 = OpFMul %v4float %380 %332
1002 %382 = OpFSub %v4float %377 %381
1003 %383 = OpFMul %v4float %382 %132
1004 %384 = OpLoad %v4float %362
1005 %385 = OpLoad %v4float %360
1006 %386 = OpFMul %v4float %63 %384
1007 %387 = OpFAdd %v4float %386 %385
1008 %388 = OpFSub %v4float %385 %384
1009 %389 = OpDot %float %388 %348
1010 %390 = OpCompositeConstruct %v4float %389 %389 %389 %389
1011 %391 = OpFMul %v4float %390 %348
1012 %392 = OpFSub %v4float %387 %391
1013 %393 = OpFMul %v4float %392 %132
1014 %394 = OpFAdd %v4float %383 %393
1015 %395 = OpFMul %v4float %394 %133
1016 %396 = OpCompositeConstruct %FHullShaderConstantDominantEdgeData %130 %130 %320 %324 %315 %316
1017 %397 = OpCompositeConstruct %FHullShaderConstantDominantVertexData %130 %275 %271
1018 %398 = OpCompositeConstruct %_arr_v4float_uint_3 %257 %373 %395
1019 %399 = OpCompositeConstruct %FPNTessellationHSToDS %255 %398 %247 %float_1 %float_1 %397 %396
1020 %400 = OpCompositeExtract %FVertexFactoryInterpolantsVSToDS %255 0
1021 %401 = OpCompositeExtract %FVertexFactoryInterpolantsVSToPS %400 0
1022 %402 = OpCompositeExtract %v4float %401 0
1023 %403 = OpAccessChain %_ptr_Output_v4float %out_var_TEXCOORD10_centroid %227
1024 OpStore %403 %402
1025 %404 = OpCompositeExtract %v4float %401 1
1026 %405 = OpAccessChain %_ptr_Output_v4float %out_var_TEXCOORD11_centroid %227
1027 OpStore %405 %404
1028 %406 = OpCompositeExtract %v4float %255 1
1029 %407 = OpAccessChain %_ptr_Output_v4float %out_var_VS_To_DS_Position %227
1030 OpStore %407 %406
1031 %408 = OpCompositeExtract %uint %255 2
1032 %409 = OpAccessChain %_ptr_Output_uint %out_var_VS_To_DS_VertexID %227
1033 OpStore %409 %408
1034 %410 = OpAccessChain %_ptr_Output__arr_v4float_uint_3 %out_var_PN_POSITION %227
1035 OpStore %410 %398
1036 %411 = OpAccessChain %_ptr_Output_v3float %out_var_PN_DisplacementScales %227
1037 OpStore %411 %247
1038 %412 = OpAccessChain %_ptr_Output_float %out_var_PN_TessellationMultiplier %227
1039 OpStore %412 %float_1
1040 %413 = OpAccessChain %_ptr_Output_float %out_var_PN_WorldDisplacementMultiplier %227
1041 OpStore %413 %float_1
1042 %414 = OpAccessChain %_ptr_Output_v2float %out_var_PN_DominantVertex %227
1043 OpStore %414 %130
1044 %415 = OpAccessChain %_ptr_Output_v4float %out_var_PN_DominantVertex1 %227
1045 OpStore %415 %275
1046 %416 = OpAccessChain %_ptr_Output_v3float %out_var_PN_DominantVertex2 %227
1047 OpStore %416 %271
1048 %417 = OpAccessChain %_ptr_Output_v2float %out_var_PN_DominantEdge %227
1049 OpStore %417 %130
1050 %418 = OpAccessChain %_ptr_Output_v2float %out_var_PN_DominantEdge1 %227
1051 OpStore %418 %130
1052 %419 = OpAccessChain %_ptr_Output_v4float %out_var_PN_DominantEdge2 %227
1053 OpStore %419 %320
1054 %420 = OpAccessChain %_ptr_Output_v4float %out_var_PN_DominantEdge3 %227
1055 OpStore %420 %324
1056 %421 = OpAccessChain %_ptr_Output_v3float %out_var_PN_DominantEdge4 %227
1057 OpStore %421 %315
1058 %422 = OpAccessChain %_ptr_Output_v3float %out_var_PN_DominantEdge5 %227
1059 OpStore %422 %316
1060 %423 = OpAccessChain %_ptr_Workgroup_FPNTessellationHSToDS %temp_var_hullMainRetVal %227
1061 OpStore %423 %399
1062 OpControlBarrier %uint_2 %uint_4 %uint_0
1063 %424 = OpIEqual %bool %227 %uint_0
1064 OpSelectionMerge %if_merge None
1065 OpBranchConditional %424 %425 %if_merge
1066 %425 = OpLabel
1067 %426 = OpAccessChain %_ptr_Uniform_mat4v4float %View %int_0
1068 %427 = OpLoad %mat4v4float %426
1069 %428 = OpAccessChain %_ptr_Uniform_mat4v4float %View %int_7
1070 %429 = OpLoad %mat4v4float %428
1071 %430 = OpAccessChain %_ptr_Uniform_v3float %View %int_28
1072 %431 = OpLoad %v3float %430
1073 %432 = OpAccessChain %_ptr_Uniform_float %View %int_78
1074 %433 = OpLoad %float %432
1075 %434 = OpAccessChain %_ptr_Workgroup_v4float %temp_var_hullMainRetVal %uint_0 %int_1 %int_0
1076 %435 = OpLoad %v4float %434
1077 %436 = OpAccessChain %_ptr_Workgroup_v4float %temp_var_hullMainRetVal %uint_0 %int_1 %int_1
1078 %437 = OpLoad %v4float %436
1079 %438 = OpAccessChain %_ptr_Workgroup_v4float %temp_var_hullMainRetVal %uint_0 %int_1 %int_2
1080 %439 = OpLoad %v4float %438
1081 %440 = OpAccessChain %_ptr_Workgroup_v4float %temp_var_hullMainRetVal %uint_1 %int_1 %int_0
1082 %441 = OpLoad %v4float %440
1083 %442 = OpAccessChain %_ptr_Workgroup_v4float %temp_var_hullMainRetVal %uint_1 %int_1 %int_1
1084 %443 = OpLoad %v4float %442
1085 %444 = OpAccessChain %_ptr_Workgroup_v4float %temp_var_hullMainRetVal %uint_1 %int_1 %int_2
1086 %445 = OpLoad %v4float %444
1087 %446 = OpAccessChain %_ptr_Workgroup_v4float %temp_var_hullMainRetVal %uint_2 %int_1 %int_0
1088 %447 = OpLoad %v4float %446
1089 %448 = OpAccessChain %_ptr_Workgroup_v4float %temp_var_hullMainRetVal %uint_2 %int_1 %int_1
1090 %449 = OpLoad %v4float %448
1091 %450 = OpAccessChain %_ptr_Workgroup_v4float %temp_var_hullMainRetVal %uint_2 %int_1 %int_2
1092 %451 = OpLoad %v4float %450
1093 %452 = OpFAdd %v4float %437 %439
1094 %453 = OpFAdd %v4float %452 %443
1095 %454 = OpFAdd %v4float %453 %445
1096 %455 = OpFAdd %v4float %454 %449
1097 %456 = OpFAdd %v4float %455 %451
1098 %457 = OpFMul %v4float %456 %135
1099 %458 = OpFAdd %v4float %447 %441
1100 %459 = OpFAdd %v4float %458 %435
1101 %460 = OpFMul %v4float %459 %132
1102 %461 = OpFSub %v4float %457 %460
1103 %462 = OpFMul %v4float %461 %133
1104 %463 = OpFAdd %v4float %457 %462
1105 %464 = OpAccessChain %_ptr_Workgroup_float %temp_var_hullMainRetVal %uint_1 %int_3
1106 %465 = OpLoad %float %464
1107 %466 = OpAccessChain %_ptr_Workgroup_float %temp_var_hullMainRetVal %uint_2 %int_3
1108 %467 = OpLoad %float %466
1109 %468 = OpFAdd %float %465 %467
1110 %469 = OpFMul %float %float_0_5 %468
1111 %470 = OpCompositeInsert %v4float %469 %136 0
1112 %471 = OpLoad %float %466
1113 %472 = OpAccessChain %_ptr_Workgroup_float %temp_var_hullMainRetVal %uint_0 %int_3
1114 %473 = OpLoad %float %472
1115 %474 = OpFAdd %float %471 %473
1116 %475 = OpFMul %float %float_0_5 %474
1117 %476 = OpCompositeInsert %v4float %475 %470 1
1118 %477 = OpLoad %float %472
1119 %478 = OpLoad %float %464
1120 %479 = OpFAdd %float %477 %478
1121 %480 = OpFMul %float %float_0_5 %479
1122 %481 = OpCompositeInsert %v4float %480 %476 2
1123 %482 = OpLoad %float %472
1124 %483 = OpLoad %float %464
1125 %484 = OpFAdd %float %482 %483
1126 %485 = OpLoad %float %466
1127 %486 = OpFAdd %float %484 %485
1128 %487 = OpFMul %float %float_0_333000004 %486
1129 %488 = OpCompositeInsert %v4float %487 %481 3
1130 %489 = OpVectorShuffle %v3float %435 %435 0 1 2
1131 %490 = OpVectorShuffle %v3float %441 %441 0 1 2
1132 %491 = OpVectorShuffle %v3float %447 %447 0 1 2
1133 OpBranch %492
1134 %492 = OpLabel
1135 OpLoopMerge %493 %494 None
1136 OpBranch %495
1137 %495 = OpLabel
1138 %496 = OpMatrixTimesVector %v4float %429 %77
1139 %497 = OpCompositeExtract %float %435 0
1140 %498 = OpCompositeExtract %float %435 1
1141 %499 = OpCompositeExtract %float %435 2
1142 %500 = OpCompositeConstruct %v4float %497 %498 %499 %float_1
1143 %501 = OpMatrixTimesVector %v4float %427 %500
1144 %502 = OpVectorShuffle %v3float %501 %501 0 1 2
1145 %503 = OpVectorShuffle %v3float %496 %496 0 1 2
1146 %504 = OpFSub %v3float %502 %503
1147 %505 = OpCompositeExtract %float %501 3
1148 %506 = OpCompositeExtract %float %496 3
1149 %507 = OpFAdd %float %505 %506
1150 %508 = OpCompositeConstruct %v3float %507 %507 %507
1151 %509 = OpFOrdLessThan %v3bool %504 %508
1152 %510 = OpSelect %v3int %509 %83 %74
1153 %511 = OpFAdd %v3float %502 %503
1154 %512 = OpFNegate %float %505
1155 %513 = OpFSub %float %512 %506
1156 %514 = OpCompositeConstruct %v3float %513 %513 %513
1157 %515 = OpFOrdGreaterThan %v3bool %511 %514
1158 %516 = OpSelect %v3int %515 %83 %74
1159 %517 = OpIMul %v3int %84 %516
1160 %518 = OpIAdd %v3int %510 %517
1161 %519 = OpCompositeExtract %float %441 0
1162 %520 = OpCompositeExtract %float %441 1
1163 %521 = OpCompositeExtract %float %441 2
1164 %522 = OpCompositeConstruct %v4float %519 %520 %521 %float_1
1165 %523 = OpMatrixTimesVector %v4float %427 %522
1166 %524 = OpVectorShuffle %v3float %523 %523 0 1 2
1167 %525 = OpFSub %v3float %524 %503
1168 %526 = OpCompositeExtract %float %523 3
1169 %527 = OpFAdd %float %526 %506
1170 %528 = OpCompositeConstruct %v3float %527 %527 %527
1171 %529 = OpFOrdLessThan %v3bool %525 %528
1172 %530 = OpSelect %v3int %529 %83 %74
1173 %531 = OpFAdd %v3float %524 %503
1174 %532 = OpFNegate %float %526
1175 %533 = OpFSub %float %532 %506
1176 %534 = OpCompositeConstruct %v3float %533 %533 %533
1177 %535 = OpFOrdGreaterThan %v3bool %531 %534
1178 %536 = OpSelect %v3int %535 %83 %74
1179 %537 = OpIMul %v3int %84 %536
1180 %538 = OpIAdd %v3int %530 %537
1181 %539 = OpBitwiseOr %v3int %518 %538
1182 %540 = OpCompositeExtract %float %447 0
1183 %541 = OpCompositeExtract %float %447 1
1184 %542 = OpCompositeExtract %float %447 2
1185 %543 = OpCompositeConstruct %v4float %540 %541 %542 %float_1
1186 %544 = OpMatrixTimesVector %v4float %427 %543
1187 %545 = OpVectorShuffle %v3float %544 %544 0 1 2
1188 %546 = OpFSub %v3float %545 %503
1189 %547 = OpCompositeExtract %float %544 3
1190 %548 = OpFAdd %float %547 %506
1191 %549 = OpCompositeConstruct %v3float %548 %548 %548
1192 %550 = OpFOrdLessThan %v3bool %546 %549
1193 %551 = OpSelect %v3int %550 %83 %74
1194 %552 = OpFAdd %v3float %545 %503
1195 %553 = OpFNegate %float %547
1196 %554 = OpFSub %float %553 %506
1197 %555 = OpCompositeConstruct %v3float %554 %554 %554
1198 %556 = OpFOrdGreaterThan %v3bool %552 %555
1199 %557 = OpSelect %v3int %556 %83 %74
1200 %558 = OpIMul %v3int %84 %557
1201 %559 = OpIAdd %v3int %551 %558
1202 %560 = OpBitwiseOr %v3int %539 %559
1203 %561 = OpINotEqual %v3bool %560 %75
1204 %562 = OpAny %bool %561
1205 OpSelectionMerge %563 None
1206 OpBranchConditional %562 %564 %563
1207 %564 = OpLabel
1208 OpBranch %493
1209 %563 = OpLabel
1210 %565 = OpFSub %v3float %489 %490
1211 %566 = OpFSub %v3float %490 %491
1212 %567 = OpFSub %v3float %491 %489
1213 %568 = OpFAdd %v3float %489 %490
1214 %569 = OpFMul %v3float %78 %568
1215 %570 = OpFSub %v3float %569 %431
1216 %571 = OpFAdd %v3float %490 %491
1217 %572 = OpFMul %v3float %78 %571
1218 %573 = OpFSub %v3float %572 %431
1219 %574 = OpFAdd %v3float %491 %489
1220 %575 = OpFMul %v3float %78 %574
1221 %576 = OpFSub %v3float %575 %431
1222 %577 = OpDot %float %566 %566
1223 %578 = OpDot %float %573 %573
1224 %579 = OpFDiv %float %577 %578
1225 %580 = OpExtInst %float %1 Sqrt %579
1226 %581 = OpDot %float %567 %567
1227 %582 = OpDot %float %576 %576
1228 %583 = OpFDiv %float %581 %582
1229 %584 = OpExtInst %float %1 Sqrt %583
1230 %585 = OpDot %float %565 %565
1231 %586 = OpDot %float %570 %570
1232 %587 = OpFDiv %float %585 %586
1233 %588 = OpExtInst %float %1 Sqrt %587
1234 %589 = OpCompositeConstruct %v4float %580 %584 %588 %float_1
1235 %590 = OpFAdd %float %580 %584
1236 %591 = OpFAdd %float %590 %588
1237 %592 = OpFMul %float %float_0_333000004 %591
1238 %593 = OpCompositeInsert %v4float %592 %589 3
1239 %594 = OpCompositeConstruct %v4float %433 %433 %433 %433
1240 %595 = OpFMul %v4float %594 %593
1241 OpBranch %493
1242 %494 = OpLabel
1243 OpBranch %492
1244 %493 = OpLabel
1245 %596 = OpPhi %v4float %77 %564 %595 %563
1246 %597 = OpFMul %v4float %488 %596
1247 %598 = OpExtInst %v4float %1 FClamp %597 %68 %70
1248 %599 = OpCompositeExtract %float %598 0
1249 %600 = OpCompositeExtract %float %598 1
1250 %601 = OpCompositeExtract %float %598 2
1251 %602 = OpCompositeExtract %float %598 3
1252 %603 = OpAccessChain %_ptr_Output_float %gl_TessLevelOuter %uint_0
1253 OpStore %603 %599
1254 %604 = OpAccessChain %_ptr_Output_float %gl_TessLevelOuter %uint_1
1255 OpStore %604 %600
1256 %605 = OpAccessChain %_ptr_Output_float %gl_TessLevelOuter %uint_2
1257 OpStore %605 %601
1258 %606 = OpAccessChain %_ptr_Output_float %gl_TessLevelInner %uint_0
1259 OpStore %606 %602
1260 OpStore %out_var_PN_POSITION9 %463
1261 OpBranch %if_merge
1262 %if_merge = OpLabel
1263 OpReturn
1264 OpFunctionEnd