Debian Codegraph @

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

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