1176 lines
67 KiB
GLSL
1176 lines
67 KiB
GLSL
; SPIR-V
|
|
; Version: 1.0
|
|
; Generator: Google spiregg; 0
|
|
; Bound: 581
|
|
; Schema: 0
|
|
OpCapability Tessellation
|
|
OpCapability ClipDistance
|
|
OpCapability SampledBuffer
|
|
OpExtension "SPV_GOOGLE_hlsl_functionality1"
|
|
%1 = OpExtInstImport "GLSL.std.450"
|
|
OpMemoryModel Logical GLSL450
|
|
OpEntryPoint TessellationEvaluation %MainDomain "main" %gl_ClipDistance %in_var_TEXCOORD6 %in_var_TEXCOORD8 %in_var_TEXCOORD10_centroid %in_var_TEXCOORD11_centroid %in_var_VS_To_DS_Position %in_var_VS_To_DS_VertexID %in_var_PN_POSITION %in_var_PN_DisplacementScales %in_var_PN_TessellationMultiplier %in_var_PN_WorldDisplacementMultiplier %in_var_PN_DominantVertex %in_var_PN_DominantVertex1 %in_var_PN_DominantVertex2 %in_var_PN_DominantEdge %in_var_PN_DominantEdge1 %in_var_PN_DominantEdge2 %in_var_PN_DominantEdge3 %in_var_PN_DominantEdge4 %in_var_PN_DominantEdge5 %gl_TessLevelOuter %gl_TessLevelInner %in_var_PN_POSITION9 %gl_TessCoord %gl_Position %out_var_TEXCOORD6 %out_var_TEXCOORD7 %out_var_TEXCOORD10_centroid %out_var_TEXCOORD11_centroid
|
|
OpExecutionMode %MainDomain Triangles
|
|
OpExecutionMode %MainDomain SpacingFractionalOdd
|
|
OpExecutionMode %MainDomain VertexOrderCw
|
|
OpSource HLSL 600
|
|
OpName %type_View "type.View"
|
|
OpMemberName %type_View 0 "View_TranslatedWorldToClip"
|
|
OpMemberName %type_View 1 "View_WorldToClip"
|
|
OpMemberName %type_View 2 "View_ClipToWorld"
|
|
OpMemberName %type_View 3 "View_TranslatedWorldToView"
|
|
OpMemberName %type_View 4 "View_ViewToTranslatedWorld"
|
|
OpMemberName %type_View 5 "View_TranslatedWorldToCameraView"
|
|
OpMemberName %type_View 6 "View_CameraViewToTranslatedWorld"
|
|
OpMemberName %type_View 7 "View_ViewToClip"
|
|
OpMemberName %type_View 8 "View_ViewToClipNoAA"
|
|
OpMemberName %type_View 9 "View_ClipToView"
|
|
OpMemberName %type_View 10 "View_ClipToTranslatedWorld"
|
|
OpMemberName %type_View 11 "View_SVPositionToTranslatedWorld"
|
|
OpMemberName %type_View 12 "View_ScreenToWorld"
|
|
OpMemberName %type_View 13 "View_ScreenToTranslatedWorld"
|
|
OpMemberName %type_View 14 "View_ViewForward"
|
|
OpMemberName %type_View 15 "PrePadding_View_908"
|
|
OpMemberName %type_View 16 "View_ViewUp"
|
|
OpMemberName %type_View 17 "PrePadding_View_924"
|
|
OpMemberName %type_View 18 "View_ViewRight"
|
|
OpMemberName %type_View 19 "PrePadding_View_940"
|
|
OpMemberName %type_View 20 "View_HMDViewNoRollUp"
|
|
OpMemberName %type_View 21 "PrePadding_View_956"
|
|
OpMemberName %type_View 22 "View_HMDViewNoRollRight"
|
|
OpMemberName %type_View 23 "PrePadding_View_972"
|
|
OpMemberName %type_View 24 "View_InvDeviceZToWorldZTransform"
|
|
OpMemberName %type_View 25 "View_ScreenPositionScaleBias"
|
|
OpMemberName %type_View 26 "View_WorldCameraOrigin"
|
|
OpMemberName %type_View 27 "PrePadding_View_1020"
|
|
OpMemberName %type_View 28 "View_TranslatedWorldCameraOrigin"
|
|
OpMemberName %type_View 29 "PrePadding_View_1036"
|
|
OpMemberName %type_View 30 "View_WorldViewOrigin"
|
|
OpMemberName %type_View 31 "PrePadding_View_1052"
|
|
OpMemberName %type_View 32 "View_PreViewTranslation"
|
|
OpMemberName %type_View 33 "PrePadding_View_1068"
|
|
OpMemberName %type_View 34 "View_PrevProjection"
|
|
OpMemberName %type_View 35 "View_PrevViewProj"
|
|
OpMemberName %type_View 36 "View_PrevViewRotationProj"
|
|
OpMemberName %type_View 37 "View_PrevViewToClip"
|
|
OpMemberName %type_View 38 "View_PrevClipToView"
|
|
OpMemberName %type_View 39 "View_PrevTranslatedWorldToClip"
|
|
OpMemberName %type_View 40 "View_PrevTranslatedWorldToView"
|
|
OpMemberName %type_View 41 "View_PrevViewToTranslatedWorld"
|
|
OpMemberName %type_View 42 "View_PrevTranslatedWorldToCameraView"
|
|
OpMemberName %type_View 43 "View_PrevCameraViewToTranslatedWorld"
|
|
OpMemberName %type_View 44 "View_PrevWorldCameraOrigin"
|
|
OpMemberName %type_View 45 "PrePadding_View_1724"
|
|
OpMemberName %type_View 46 "View_PrevWorldViewOrigin"
|
|
OpMemberName %type_View 47 "PrePadding_View_1740"
|
|
OpMemberName %type_View 48 "View_PrevPreViewTranslation"
|
|
OpMemberName %type_View 49 "PrePadding_View_1756"
|
|
OpMemberName %type_View 50 "View_PrevInvViewProj"
|
|
OpMemberName %type_View 51 "View_PrevScreenToTranslatedWorld"
|
|
OpMemberName %type_View 52 "View_ClipToPrevClip"
|
|
OpMemberName %type_View 53 "View_TemporalAAJitter"
|
|
OpMemberName %type_View 54 "View_GlobalClippingPlane"
|
|
OpMemberName %type_View 55 "View_FieldOfViewWideAngles"
|
|
OpMemberName %type_View 56 "View_PrevFieldOfViewWideAngles"
|
|
OpMemberName %type_View 57 "View_ViewRectMin"
|
|
OpMemberName %type_View 58 "View_ViewSizeAndInvSize"
|
|
OpMemberName %type_View 59 "View_BufferSizeAndInvSize"
|
|
OpMemberName %type_View 60 "View_BufferBilinearUVMinMax"
|
|
OpMemberName %type_View 61 "View_NumSceneColorMSAASamples"
|
|
OpMemberName %type_View 62 "View_PreExposure"
|
|
OpMemberName %type_View 63 "View_OneOverPreExposure"
|
|
OpMemberName %type_View 64 "PrePadding_View_2076"
|
|
OpMemberName %type_View 65 "View_DiffuseOverrideParameter"
|
|
OpMemberName %type_View 66 "View_SpecularOverrideParameter"
|
|
OpMemberName %type_View 67 "View_NormalOverrideParameter"
|
|
OpMemberName %type_View 68 "View_RoughnessOverrideParameter"
|
|
OpMemberName %type_View 69 "View_PrevFrameGameTime"
|
|
OpMemberName %type_View 70 "View_PrevFrameRealTime"
|
|
OpMemberName %type_View 71 "View_OutOfBoundsMask"
|
|
OpMemberName %type_View 72 "PrePadding_View_2148"
|
|
OpMemberName %type_View 73 "PrePadding_View_2152"
|
|
OpMemberName %type_View 74 "PrePadding_View_2156"
|
|
OpMemberName %type_View 75 "View_WorldCameraMovementSinceLastFrame"
|
|
OpMemberName %type_View 76 "View_CullingSign"
|
|
OpMemberName %type_View 77 "View_NearPlane"
|
|
OpMemberName %type_View 78 "View_AdaptiveTessellationFactor"
|
|
OpMemberName %type_View 79 "View_GameTime"
|
|
OpMemberName %type_View 80 "View_RealTime"
|
|
OpMemberName %type_View 81 "View_DeltaTime"
|
|
OpMemberName %type_View 82 "View_MaterialTextureMipBias"
|
|
OpMemberName %type_View 83 "View_MaterialTextureDerivativeMultiply"
|
|
OpMemberName %type_View 84 "View_Random"
|
|
OpMemberName %type_View 85 "View_FrameNumber"
|
|
OpMemberName %type_View 86 "View_StateFrameIndexMod8"
|
|
OpMemberName %type_View 87 "View_StateFrameIndex"
|
|
OpMemberName %type_View 88 "View_CameraCut"
|
|
OpMemberName %type_View 89 "View_UnlitViewmodeMask"
|
|
OpMemberName %type_View 90 "PrePadding_View_2228"
|
|
OpMemberName %type_View 91 "PrePadding_View_2232"
|
|
OpMemberName %type_View 92 "PrePadding_View_2236"
|
|
OpMemberName %type_View 93 "View_DirectionalLightColor"
|
|
OpMemberName %type_View 94 "View_DirectionalLightDirection"
|
|
OpMemberName %type_View 95 "PrePadding_View_2268"
|
|
OpMemberName %type_View 96 "View_TranslucencyLightingVolumeMin"
|
|
OpMemberName %type_View 97 "View_TranslucencyLightingVolumeInvSize"
|
|
OpMemberName %type_View 98 "View_TemporalAAParams"
|
|
OpMemberName %type_View 99 "View_CircleDOFParams"
|
|
OpMemberName %type_View 100 "View_DepthOfFieldSensorWidth"
|
|
OpMemberName %type_View 101 "View_DepthOfFieldFocalDistance"
|
|
OpMemberName %type_View 102 "View_DepthOfFieldScale"
|
|
OpMemberName %type_View 103 "View_DepthOfFieldFocalLength"
|
|
OpMemberName %type_View 104 "View_DepthOfFieldFocalRegion"
|
|
OpMemberName %type_View 105 "View_DepthOfFieldNearTransitionRegion"
|
|
OpMemberName %type_View 106 "View_DepthOfFieldFarTransitionRegion"
|
|
OpMemberName %type_View 107 "View_MotionBlurNormalizedToPixel"
|
|
OpMemberName %type_View 108 "View_bSubsurfacePostprocessEnabled"
|
|
OpMemberName %type_View 109 "View_GeneralPurposeTweak"
|
|
OpMemberName %type_View 110 "View_DemosaicVposOffset"
|
|
OpMemberName %type_View 111 "PrePadding_View_2412"
|
|
OpMemberName %type_View 112 "View_IndirectLightingColorScale"
|
|
OpMemberName %type_View 113 "View_HDR32bppEncodingMode"
|
|
OpMemberName %type_View 114 "View_AtmosphericFogSunDirection"
|
|
OpMemberName %type_View 115 "View_AtmosphericFogSunPower"
|
|
OpMemberName %type_View 116 "View_AtmosphericFogPower"
|
|
OpMemberName %type_View 117 "View_AtmosphericFogDensityScale"
|
|
OpMemberName %type_View 118 "View_AtmosphericFogDensityOffset"
|
|
OpMemberName %type_View 119 "View_AtmosphericFogGroundOffset"
|
|
OpMemberName %type_View 120 "View_AtmosphericFogDistanceScale"
|
|
OpMemberName %type_View 121 "View_AtmosphericFogAltitudeScale"
|
|
OpMemberName %type_View 122 "View_AtmosphericFogHeightScaleRayleigh"
|
|
OpMemberName %type_View 123 "View_AtmosphericFogStartDistance"
|
|
OpMemberName %type_View 124 "View_AtmosphericFogDistanceOffset"
|
|
OpMemberName %type_View 125 "View_AtmosphericFogSunDiscScale"
|
|
OpMemberName %type_View 126 "View_AtmosphericFogSunDiscHalfApexAngleRadian"
|
|
OpMemberName %type_View 127 "PrePadding_View_2492"
|
|
OpMemberName %type_View 128 "View_AtmosphericFogSunDiscLuminance"
|
|
OpMemberName %type_View 129 "View_AtmosphericFogRenderMask"
|
|
OpMemberName %type_View 130 "View_AtmosphericFogInscatterAltitudeSampleNum"
|
|
OpMemberName %type_View 131 "PrePadding_View_2520"
|
|
OpMemberName %type_View 132 "PrePadding_View_2524"
|
|
OpMemberName %type_View 133 "View_AtmosphericFogSunColor"
|
|
OpMemberName %type_View 134 "View_NormalCurvatureToRoughnessScaleBias"
|
|
OpMemberName %type_View 135 "View_RenderingReflectionCaptureMask"
|
|
OpMemberName %type_View 136 "View_AmbientCubemapTint"
|
|
OpMemberName %type_View 137 "View_AmbientCubemapIntensity"
|
|
OpMemberName %type_View 138 "View_SkyLightParameters"
|
|
OpMemberName %type_View 139 "PrePadding_View_2584"
|
|
OpMemberName %type_View 140 "PrePadding_View_2588"
|
|
OpMemberName %type_View 141 "View_SkyLightColor"
|
|
OpMemberName %type_View 142 "View_SkyIrradianceEnvironmentMap"
|
|
OpMemberName %type_View 143 "View_MobilePreviewMode"
|
|
OpMemberName %type_View 144 "View_HMDEyePaddingOffset"
|
|
OpMemberName %type_View 145 "View_ReflectionCubemapMaxMip"
|
|
OpMemberName %type_View 146 "View_ShowDecalsMask"
|
|
OpMemberName %type_View 147 "View_DistanceFieldAOSpecularOcclusionMode"
|
|
OpMemberName %type_View 148 "View_IndirectCapsuleSelfShadowingIntensity"
|
|
OpMemberName %type_View 149 "PrePadding_View_2744"
|
|
OpMemberName %type_View 150 "PrePadding_View_2748"
|
|
OpMemberName %type_View 151 "View_ReflectionEnvironmentRoughnessMixingScaleBiasAndLargestWeight"
|
|
OpMemberName %type_View 152 "View_StereoPassIndex"
|
|
OpMemberName %type_View 153 "View_GlobalVolumeCenterAndExtent"
|
|
OpMemberName %type_View 154 "View_GlobalVolumeWorldToUVAddAndMul"
|
|
OpMemberName %type_View 155 "View_GlobalVolumeDimension"
|
|
OpMemberName %type_View 156 "View_GlobalVolumeTexelSize"
|
|
OpMemberName %type_View 157 "View_MaxGlobalDistance"
|
|
OpMemberName %type_View 158 "PrePadding_View_2908"
|
|
OpMemberName %type_View 159 "View_CursorPosition"
|
|
OpMemberName %type_View 160 "View_bCheckerboardSubsurfaceProfileRendering"
|
|
OpMemberName %type_View 161 "PrePadding_View_2924"
|
|
OpMemberName %type_View 162 "View_VolumetricFogInvGridSize"
|
|
OpMemberName %type_View 163 "PrePadding_View_2940"
|
|
OpMemberName %type_View 164 "View_VolumetricFogGridZParams"
|
|
OpMemberName %type_View 165 "PrePadding_View_2956"
|
|
OpMemberName %type_View 166 "View_VolumetricFogSVPosToVolumeUV"
|
|
OpMemberName %type_View 167 "View_VolumetricFogMaxDistance"
|
|
OpMemberName %type_View 168 "PrePadding_View_2972"
|
|
OpMemberName %type_View 169 "View_VolumetricLightmapWorldToUVScale"
|
|
OpMemberName %type_View 170 "PrePadding_View_2988"
|
|
OpMemberName %type_View 171 "View_VolumetricLightmapWorldToUVAdd"
|
|
OpMemberName %type_View 172 "PrePadding_View_3004"
|
|
OpMemberName %type_View 173 "View_VolumetricLightmapIndirectionTextureSize"
|
|
OpMemberName %type_View 174 "View_VolumetricLightmapBrickSize"
|
|
OpMemberName %type_View 175 "View_VolumetricLightmapBrickTexelSize"
|
|
OpMemberName %type_View 176 "View_StereoIPD"
|
|
OpMemberName %type_View 177 "View_IndirectLightingCacheShowFlag"
|
|
OpMemberName %type_View 178 "View_EyeToPixelSpreadAngle"
|
|
OpMemberName %type_View 179 "PrePadding_View_3048"
|
|
OpMemberName %type_View 180 "PrePadding_View_3052"
|
|
OpMemberName %type_View 181 "View_WorldToVirtualTexture"
|
|
OpMemberName %type_View 182 "View_VirtualTextureParams"
|
|
OpMemberName %type_View 183 "View_XRPassthroughCameraUVs"
|
|
OpName %View "View"
|
|
OpName %type_sampler "type.sampler"
|
|
OpName %type_3d_image "type.3d.image"
|
|
OpName %View_GlobalDistanceFieldTexture0 "View_GlobalDistanceFieldTexture0"
|
|
OpName %View_GlobalDistanceFieldSampler0 "View_GlobalDistanceFieldSampler0"
|
|
OpName %View_GlobalDistanceFieldTexture1 "View_GlobalDistanceFieldTexture1"
|
|
OpName %View_GlobalDistanceFieldTexture2 "View_GlobalDistanceFieldTexture2"
|
|
OpName %View_GlobalDistanceFieldTexture3 "View_GlobalDistanceFieldTexture3"
|
|
OpName %type_Material "type.Material"
|
|
OpMemberName %type_Material 0 "Material_VectorExpressions"
|
|
OpMemberName %type_Material 1 "Material_ScalarExpressions"
|
|
OpName %Material "Material"
|
|
OpName %in_var_TEXCOORD6 "in.var.TEXCOORD6"
|
|
OpName %in_var_TEXCOORD8 "in.var.TEXCOORD8"
|
|
OpName %in_var_TEXCOORD10_centroid "in.var.TEXCOORD10_centroid"
|
|
OpName %in_var_TEXCOORD11_centroid "in.var.TEXCOORD11_centroid"
|
|
OpName %in_var_VS_To_DS_Position "in.var.VS_To_DS_Position"
|
|
OpName %in_var_VS_To_DS_VertexID "in.var.VS_To_DS_VertexID"
|
|
OpName %in_var_PN_POSITION "in.var.PN_POSITION"
|
|
OpName %in_var_PN_DisplacementScales "in.var.PN_DisplacementScales"
|
|
OpName %in_var_PN_TessellationMultiplier "in.var.PN_TessellationMultiplier"
|
|
OpName %in_var_PN_WorldDisplacementMultiplier "in.var.PN_WorldDisplacementMultiplier"
|
|
OpName %in_var_PN_DominantVertex "in.var.PN_DominantVertex"
|
|
OpName %in_var_PN_DominantVertex1 "in.var.PN_DominantVertex1"
|
|
OpName %in_var_PN_DominantVertex2 "in.var.PN_DominantVertex2"
|
|
OpName %in_var_PN_DominantEdge "in.var.PN_DominantEdge"
|
|
OpName %in_var_PN_DominantEdge1 "in.var.PN_DominantEdge1"
|
|
OpName %in_var_PN_DominantEdge2 "in.var.PN_DominantEdge2"
|
|
OpName %in_var_PN_DominantEdge3 "in.var.PN_DominantEdge3"
|
|
OpName %in_var_PN_DominantEdge4 "in.var.PN_DominantEdge4"
|
|
OpName %in_var_PN_DominantEdge5 "in.var.PN_DominantEdge5"
|
|
OpName %in_var_PN_POSITION9 "in.var.PN_POSITION9"
|
|
OpName %out_var_TEXCOORD6 "out.var.TEXCOORD6"
|
|
OpName %out_var_TEXCOORD7 "out.var.TEXCOORD7"
|
|
OpName %out_var_TEXCOORD10_centroid "out.var.TEXCOORD10_centroid"
|
|
OpName %out_var_TEXCOORD11_centroid "out.var.TEXCOORD11_centroid"
|
|
OpName %MainDomain "MainDomain"
|
|
OpName %type_sampled_image "type.sampled.image"
|
|
OpDecorate %gl_ClipDistance BuiltIn ClipDistance
|
|
OpDecorateString %gl_ClipDistance UserSemantic "SV_ClipDistance"
|
|
OpDecorateString %in_var_TEXCOORD6 UserSemantic "TEXCOORD6"
|
|
OpDecorateString %in_var_TEXCOORD8 UserSemantic "TEXCOORD8"
|
|
OpDecorateString %in_var_TEXCOORD10_centroid UserSemantic "TEXCOORD10_centroid"
|
|
OpDecorateString %in_var_TEXCOORD11_centroid UserSemantic "TEXCOORD11_centroid"
|
|
OpDecorateString %in_var_VS_To_DS_Position UserSemantic "VS_To_DS_Position"
|
|
OpDecorateString %in_var_VS_To_DS_VertexID UserSemantic "VS_To_DS_VertexID"
|
|
OpDecorateString %in_var_PN_POSITION UserSemantic "PN_POSITION"
|
|
OpDecorateString %in_var_PN_DisplacementScales UserSemantic "PN_DisplacementScales"
|
|
OpDecorateString %in_var_PN_TessellationMultiplier UserSemantic "PN_TessellationMultiplier"
|
|
OpDecorateString %in_var_PN_WorldDisplacementMultiplier UserSemantic "PN_WorldDisplacementMultiplier"
|
|
OpDecorateString %in_var_PN_DominantVertex UserSemantic "PN_DominantVertex"
|
|
OpDecorateString %in_var_PN_DominantVertex1 UserSemantic "PN_DominantVertex"
|
|
OpDecorateString %in_var_PN_DominantVertex2 UserSemantic "PN_DominantVertex"
|
|
OpDecorateString %in_var_PN_DominantEdge UserSemantic "PN_DominantEdge"
|
|
OpDecorateString %in_var_PN_DominantEdge1 UserSemantic "PN_DominantEdge"
|
|
OpDecorateString %in_var_PN_DominantEdge2 UserSemantic "PN_DominantEdge"
|
|
OpDecorateString %in_var_PN_DominantEdge3 UserSemantic "PN_DominantEdge"
|
|
OpDecorateString %in_var_PN_DominantEdge4 UserSemantic "PN_DominantEdge"
|
|
OpDecorateString %in_var_PN_DominantEdge5 UserSemantic "PN_DominantEdge"
|
|
OpDecorate %gl_TessLevelOuter BuiltIn TessLevelOuter
|
|
OpDecorateString %gl_TessLevelOuter UserSemantic "SV_TessFactor"
|
|
OpDecorate %gl_TessLevelOuter Patch
|
|
OpDecorate %gl_TessLevelInner BuiltIn TessLevelInner
|
|
OpDecorateString %gl_TessLevelInner UserSemantic "SV_InsideTessFactor"
|
|
OpDecorate %gl_TessLevelInner Patch
|
|
OpDecorateString %in_var_PN_POSITION9 UserSemantic "PN_POSITION9"
|
|
OpDecorate %in_var_PN_POSITION9 Patch
|
|
OpDecorate %gl_TessCoord BuiltIn TessCoord
|
|
OpDecorateString %gl_TessCoord UserSemantic "SV_DomainLocation"
|
|
OpDecorate %gl_TessCoord Patch
|
|
OpDecorate %gl_Position BuiltIn Position
|
|
OpDecorateString %gl_Position UserSemantic "SV_POSITION"
|
|
OpDecorateString %out_var_TEXCOORD6 UserSemantic "TEXCOORD6"
|
|
OpDecorateString %out_var_TEXCOORD7 UserSemantic "TEXCOORD7"
|
|
OpDecorateString %out_var_TEXCOORD10_centroid UserSemantic "TEXCOORD10_centroid"
|
|
OpDecorateString %out_var_TEXCOORD11_centroid UserSemantic "TEXCOORD11_centroid"
|
|
OpDecorate %in_var_PN_DisplacementScales Location 0
|
|
OpDecorate %in_var_PN_DominantEdge Location 1
|
|
OpDecorate %in_var_PN_DominantEdge1 Location 2
|
|
OpDecorate %in_var_PN_DominantEdge2 Location 3
|
|
OpDecorate %in_var_PN_DominantEdge3 Location 4
|
|
OpDecorate %in_var_PN_DominantEdge4 Location 5
|
|
OpDecorate %in_var_PN_DominantEdge5 Location 6
|
|
OpDecorate %in_var_PN_DominantVertex Location 7
|
|
OpDecorate %in_var_PN_DominantVertex1 Location 8
|
|
OpDecorate %in_var_PN_DominantVertex2 Location 9
|
|
OpDecorate %in_var_PN_POSITION Location 10
|
|
OpDecorate %in_var_PN_POSITION9 Location 13
|
|
OpDecorate %in_var_PN_TessellationMultiplier Location 14
|
|
OpDecorate %in_var_PN_WorldDisplacementMultiplier Location 15
|
|
OpDecorate %in_var_TEXCOORD10_centroid Location 16
|
|
OpDecorate %in_var_TEXCOORD11_centroid Location 17
|
|
OpDecorate %in_var_TEXCOORD6 Location 18
|
|
OpDecorate %in_var_TEXCOORD8 Location 19
|
|
OpDecorate %in_var_VS_To_DS_Position Location 20
|
|
OpDecorate %in_var_VS_To_DS_VertexID Location 21
|
|
OpDecorate %out_var_TEXCOORD6 Location 0
|
|
OpDecorate %out_var_TEXCOORD7 Location 1
|
|
OpDecorate %out_var_TEXCOORD10_centroid Location 2
|
|
OpDecorate %out_var_TEXCOORD11_centroid Location 3
|
|
OpDecorate %View DescriptorSet 0
|
|
OpDecorate %View Binding 0
|
|
OpDecorate %View_GlobalDistanceFieldTexture0 DescriptorSet 0
|
|
OpDecorate %View_GlobalDistanceFieldTexture0 Binding 0
|
|
OpDecorate %View_GlobalDistanceFieldSampler0 DescriptorSet 0
|
|
OpDecorate %View_GlobalDistanceFieldSampler0 Binding 0
|
|
OpDecorate %View_GlobalDistanceFieldTexture1 DescriptorSet 0
|
|
OpDecorate %View_GlobalDistanceFieldTexture1 Binding 1
|
|
OpDecorate %View_GlobalDistanceFieldTexture2 DescriptorSet 0
|
|
OpDecorate %View_GlobalDistanceFieldTexture2 Binding 2
|
|
OpDecorate %View_GlobalDistanceFieldTexture3 DescriptorSet 0
|
|
OpDecorate %View_GlobalDistanceFieldTexture3 Binding 3
|
|
OpDecorate %Material DescriptorSet 0
|
|
OpDecorate %Material Binding 1
|
|
OpDecorate %_arr_v4float_uint_2 ArrayStride 16
|
|
OpDecorate %_arr_v4float_uint_7 ArrayStride 16
|
|
OpDecorate %_arr_v4float_uint_4 ArrayStride 16
|
|
OpMemberDecorate %type_View 0 Offset 0
|
|
OpMemberDecorate %type_View 0 MatrixStride 16
|
|
OpMemberDecorate %type_View 0 ColMajor
|
|
OpMemberDecorate %type_View 1 Offset 64
|
|
OpMemberDecorate %type_View 1 MatrixStride 16
|
|
OpMemberDecorate %type_View 1 ColMajor
|
|
OpMemberDecorate %type_View 2 Offset 128
|
|
OpMemberDecorate %type_View 2 MatrixStride 16
|
|
OpMemberDecorate %type_View 2 ColMajor
|
|
OpMemberDecorate %type_View 3 Offset 192
|
|
OpMemberDecorate %type_View 3 MatrixStride 16
|
|
OpMemberDecorate %type_View 3 ColMajor
|
|
OpMemberDecorate %type_View 4 Offset 256
|
|
OpMemberDecorate %type_View 4 MatrixStride 16
|
|
OpMemberDecorate %type_View 4 ColMajor
|
|
OpMemberDecorate %type_View 5 Offset 320
|
|
OpMemberDecorate %type_View 5 MatrixStride 16
|
|
OpMemberDecorate %type_View 5 ColMajor
|
|
OpMemberDecorate %type_View 6 Offset 384
|
|
OpMemberDecorate %type_View 6 MatrixStride 16
|
|
OpMemberDecorate %type_View 6 ColMajor
|
|
OpMemberDecorate %type_View 7 Offset 448
|
|
OpMemberDecorate %type_View 7 MatrixStride 16
|
|
OpMemberDecorate %type_View 7 ColMajor
|
|
OpMemberDecorate %type_View 8 Offset 512
|
|
OpMemberDecorate %type_View 8 MatrixStride 16
|
|
OpMemberDecorate %type_View 8 ColMajor
|
|
OpMemberDecorate %type_View 9 Offset 576
|
|
OpMemberDecorate %type_View 9 MatrixStride 16
|
|
OpMemberDecorate %type_View 9 ColMajor
|
|
OpMemberDecorate %type_View 10 Offset 640
|
|
OpMemberDecorate %type_View 10 MatrixStride 16
|
|
OpMemberDecorate %type_View 10 ColMajor
|
|
OpMemberDecorate %type_View 11 Offset 704
|
|
OpMemberDecorate %type_View 11 MatrixStride 16
|
|
OpMemberDecorate %type_View 11 ColMajor
|
|
OpMemberDecorate %type_View 12 Offset 768
|
|
OpMemberDecorate %type_View 12 MatrixStride 16
|
|
OpMemberDecorate %type_View 12 ColMajor
|
|
OpMemberDecorate %type_View 13 Offset 832
|
|
OpMemberDecorate %type_View 13 MatrixStride 16
|
|
OpMemberDecorate %type_View 13 ColMajor
|
|
OpMemberDecorate %type_View 14 Offset 896
|
|
OpMemberDecorate %type_View 15 Offset 908
|
|
OpMemberDecorate %type_View 16 Offset 912
|
|
OpMemberDecorate %type_View 17 Offset 924
|
|
OpMemberDecorate %type_View 18 Offset 928
|
|
OpMemberDecorate %type_View 19 Offset 940
|
|
OpMemberDecorate %type_View 20 Offset 944
|
|
OpMemberDecorate %type_View 21 Offset 956
|
|
OpMemberDecorate %type_View 22 Offset 960
|
|
OpMemberDecorate %type_View 23 Offset 972
|
|
OpMemberDecorate %type_View 24 Offset 976
|
|
OpMemberDecorate %type_View 25 Offset 992
|
|
OpMemberDecorate %type_View 26 Offset 1008
|
|
OpMemberDecorate %type_View 27 Offset 1020
|
|
OpMemberDecorate %type_View 28 Offset 1024
|
|
OpMemberDecorate %type_View 29 Offset 1036
|
|
OpMemberDecorate %type_View 30 Offset 1040
|
|
OpMemberDecorate %type_View 31 Offset 1052
|
|
OpMemberDecorate %type_View 32 Offset 1056
|
|
OpMemberDecorate %type_View 33 Offset 1068
|
|
OpMemberDecorate %type_View 34 Offset 1072
|
|
OpMemberDecorate %type_View 34 MatrixStride 16
|
|
OpMemberDecorate %type_View 34 ColMajor
|
|
OpMemberDecorate %type_View 35 Offset 1136
|
|
OpMemberDecorate %type_View 35 MatrixStride 16
|
|
OpMemberDecorate %type_View 35 ColMajor
|
|
OpMemberDecorate %type_View 36 Offset 1200
|
|
OpMemberDecorate %type_View 36 MatrixStride 16
|
|
OpMemberDecorate %type_View 36 ColMajor
|
|
OpMemberDecorate %type_View 37 Offset 1264
|
|
OpMemberDecorate %type_View 37 MatrixStride 16
|
|
OpMemberDecorate %type_View 37 ColMajor
|
|
OpMemberDecorate %type_View 38 Offset 1328
|
|
OpMemberDecorate %type_View 38 MatrixStride 16
|
|
OpMemberDecorate %type_View 38 ColMajor
|
|
OpMemberDecorate %type_View 39 Offset 1392
|
|
OpMemberDecorate %type_View 39 MatrixStride 16
|
|
OpMemberDecorate %type_View 39 ColMajor
|
|
OpMemberDecorate %type_View 40 Offset 1456
|
|
OpMemberDecorate %type_View 40 MatrixStride 16
|
|
OpMemberDecorate %type_View 40 ColMajor
|
|
OpMemberDecorate %type_View 41 Offset 1520
|
|
OpMemberDecorate %type_View 41 MatrixStride 16
|
|
OpMemberDecorate %type_View 41 ColMajor
|
|
OpMemberDecorate %type_View 42 Offset 1584
|
|
OpMemberDecorate %type_View 42 MatrixStride 16
|
|
OpMemberDecorate %type_View 42 ColMajor
|
|
OpMemberDecorate %type_View 43 Offset 1648
|
|
OpMemberDecorate %type_View 43 MatrixStride 16
|
|
OpMemberDecorate %type_View 43 ColMajor
|
|
OpMemberDecorate %type_View 44 Offset 1712
|
|
OpMemberDecorate %type_View 45 Offset 1724
|
|
OpMemberDecorate %type_View 46 Offset 1728
|
|
OpMemberDecorate %type_View 47 Offset 1740
|
|
OpMemberDecorate %type_View 48 Offset 1744
|
|
OpMemberDecorate %type_View 49 Offset 1756
|
|
OpMemberDecorate %type_View 50 Offset 1760
|
|
OpMemberDecorate %type_View 50 MatrixStride 16
|
|
OpMemberDecorate %type_View 50 ColMajor
|
|
OpMemberDecorate %type_View 51 Offset 1824
|
|
OpMemberDecorate %type_View 51 MatrixStride 16
|
|
OpMemberDecorate %type_View 51 ColMajor
|
|
OpMemberDecorate %type_View 52 Offset 1888
|
|
OpMemberDecorate %type_View 52 MatrixStride 16
|
|
OpMemberDecorate %type_View 52 ColMajor
|
|
OpMemberDecorate %type_View 53 Offset 1952
|
|
OpMemberDecorate %type_View 54 Offset 1968
|
|
OpMemberDecorate %type_View 55 Offset 1984
|
|
OpMemberDecorate %type_View 56 Offset 1992
|
|
OpMemberDecorate %type_View 57 Offset 2000
|
|
OpMemberDecorate %type_View 58 Offset 2016
|
|
OpMemberDecorate %type_View 59 Offset 2032
|
|
OpMemberDecorate %type_View 60 Offset 2048
|
|
OpMemberDecorate %type_View 61 Offset 2064
|
|
OpMemberDecorate %type_View 62 Offset 2068
|
|
OpMemberDecorate %type_View 63 Offset 2072
|
|
OpMemberDecorate %type_View 64 Offset 2076
|
|
OpMemberDecorate %type_View 65 Offset 2080
|
|
OpMemberDecorate %type_View 66 Offset 2096
|
|
OpMemberDecorate %type_View 67 Offset 2112
|
|
OpMemberDecorate %type_View 68 Offset 2128
|
|
OpMemberDecorate %type_View 69 Offset 2136
|
|
OpMemberDecorate %type_View 70 Offset 2140
|
|
OpMemberDecorate %type_View 71 Offset 2144
|
|
OpMemberDecorate %type_View 72 Offset 2148
|
|
OpMemberDecorate %type_View 73 Offset 2152
|
|
OpMemberDecorate %type_View 74 Offset 2156
|
|
OpMemberDecorate %type_View 75 Offset 2160
|
|
OpMemberDecorate %type_View 76 Offset 2172
|
|
OpMemberDecorate %type_View 77 Offset 2176
|
|
OpMemberDecorate %type_View 78 Offset 2180
|
|
OpMemberDecorate %type_View 79 Offset 2184
|
|
OpMemberDecorate %type_View 80 Offset 2188
|
|
OpMemberDecorate %type_View 81 Offset 2192
|
|
OpMemberDecorate %type_View 82 Offset 2196
|
|
OpMemberDecorate %type_View 83 Offset 2200
|
|
OpMemberDecorate %type_View 84 Offset 2204
|
|
OpMemberDecorate %type_View 85 Offset 2208
|
|
OpMemberDecorate %type_View 86 Offset 2212
|
|
OpMemberDecorate %type_View 87 Offset 2216
|
|
OpMemberDecorate %type_View 88 Offset 2220
|
|
OpMemberDecorate %type_View 89 Offset 2224
|
|
OpMemberDecorate %type_View 90 Offset 2228
|
|
OpMemberDecorate %type_View 91 Offset 2232
|
|
OpMemberDecorate %type_View 92 Offset 2236
|
|
OpMemberDecorate %type_View 93 Offset 2240
|
|
OpMemberDecorate %type_View 94 Offset 2256
|
|
OpMemberDecorate %type_View 95 Offset 2268
|
|
OpMemberDecorate %type_View 96 Offset 2272
|
|
OpMemberDecorate %type_View 97 Offset 2304
|
|
OpMemberDecorate %type_View 98 Offset 2336
|
|
OpMemberDecorate %type_View 99 Offset 2352
|
|
OpMemberDecorate %type_View 100 Offset 2368
|
|
OpMemberDecorate %type_View 101 Offset 2372
|
|
OpMemberDecorate %type_View 102 Offset 2376
|
|
OpMemberDecorate %type_View 103 Offset 2380
|
|
OpMemberDecorate %type_View 104 Offset 2384
|
|
OpMemberDecorate %type_View 105 Offset 2388
|
|
OpMemberDecorate %type_View 106 Offset 2392
|
|
OpMemberDecorate %type_View 107 Offset 2396
|
|
OpMemberDecorate %type_View 108 Offset 2400
|
|
OpMemberDecorate %type_View 109 Offset 2404
|
|
OpMemberDecorate %type_View 110 Offset 2408
|
|
OpMemberDecorate %type_View 111 Offset 2412
|
|
OpMemberDecorate %type_View 112 Offset 2416
|
|
OpMemberDecorate %type_View 113 Offset 2428
|
|
OpMemberDecorate %type_View 114 Offset 2432
|
|
OpMemberDecorate %type_View 115 Offset 2444
|
|
OpMemberDecorate %type_View 116 Offset 2448
|
|
OpMemberDecorate %type_View 117 Offset 2452
|
|
OpMemberDecorate %type_View 118 Offset 2456
|
|
OpMemberDecorate %type_View 119 Offset 2460
|
|
OpMemberDecorate %type_View 120 Offset 2464
|
|
OpMemberDecorate %type_View 121 Offset 2468
|
|
OpMemberDecorate %type_View 122 Offset 2472
|
|
OpMemberDecorate %type_View 123 Offset 2476
|
|
OpMemberDecorate %type_View 124 Offset 2480
|
|
OpMemberDecorate %type_View 125 Offset 2484
|
|
OpMemberDecorate %type_View 126 Offset 2488
|
|
OpMemberDecorate %type_View 127 Offset 2492
|
|
OpMemberDecorate %type_View 128 Offset 2496
|
|
OpMemberDecorate %type_View 129 Offset 2512
|
|
OpMemberDecorate %type_View 130 Offset 2516
|
|
OpMemberDecorate %type_View 131 Offset 2520
|
|
OpMemberDecorate %type_View 132 Offset 2524
|
|
OpMemberDecorate %type_View 133 Offset 2528
|
|
OpMemberDecorate %type_View 134 Offset 2544
|
|
OpMemberDecorate %type_View 135 Offset 2556
|
|
OpMemberDecorate %type_View 136 Offset 2560
|
|
OpMemberDecorate %type_View 137 Offset 2576
|
|
OpMemberDecorate %type_View 138 Offset 2580
|
|
OpMemberDecorate %type_View 139 Offset 2584
|
|
OpMemberDecorate %type_View 140 Offset 2588
|
|
OpMemberDecorate %type_View 141 Offset 2592
|
|
OpMemberDecorate %type_View 142 Offset 2608
|
|
OpMemberDecorate %type_View 143 Offset 2720
|
|
OpMemberDecorate %type_View 144 Offset 2724
|
|
OpMemberDecorate %type_View 145 Offset 2728
|
|
OpMemberDecorate %type_View 146 Offset 2732
|
|
OpMemberDecorate %type_View 147 Offset 2736
|
|
OpMemberDecorate %type_View 148 Offset 2740
|
|
OpMemberDecorate %type_View 149 Offset 2744
|
|
OpMemberDecorate %type_View 150 Offset 2748
|
|
OpMemberDecorate %type_View 151 Offset 2752
|
|
OpMemberDecorate %type_View 152 Offset 2764
|
|
OpMemberDecorate %type_View 153 Offset 2768
|
|
OpMemberDecorate %type_View 154 Offset 2832
|
|
OpMemberDecorate %type_View 155 Offset 2896
|
|
OpMemberDecorate %type_View 156 Offset 2900
|
|
OpMemberDecorate %type_View 157 Offset 2904
|
|
OpMemberDecorate %type_View 158 Offset 2908
|
|
OpMemberDecorate %type_View 159 Offset 2912
|
|
OpMemberDecorate %type_View 160 Offset 2920
|
|
OpMemberDecorate %type_View 161 Offset 2924
|
|
OpMemberDecorate %type_View 162 Offset 2928
|
|
OpMemberDecorate %type_View 163 Offset 2940
|
|
OpMemberDecorate %type_View 164 Offset 2944
|
|
OpMemberDecorate %type_View 165 Offset 2956
|
|
OpMemberDecorate %type_View 166 Offset 2960
|
|
OpMemberDecorate %type_View 167 Offset 2968
|
|
OpMemberDecorate %type_View 168 Offset 2972
|
|
OpMemberDecorate %type_View 169 Offset 2976
|
|
OpMemberDecorate %type_View 170 Offset 2988
|
|
OpMemberDecorate %type_View 171 Offset 2992
|
|
OpMemberDecorate %type_View 172 Offset 3004
|
|
OpMemberDecorate %type_View 173 Offset 3008
|
|
OpMemberDecorate %type_View 174 Offset 3020
|
|
OpMemberDecorate %type_View 175 Offset 3024
|
|
OpMemberDecorate %type_View 176 Offset 3036
|
|
OpMemberDecorate %type_View 177 Offset 3040
|
|
OpMemberDecorate %type_View 178 Offset 3044
|
|
OpMemberDecorate %type_View 179 Offset 3048
|
|
OpMemberDecorate %type_View 180 Offset 3052
|
|
OpMemberDecorate %type_View 181 Offset 3056
|
|
OpMemberDecorate %type_View 181 MatrixStride 16
|
|
OpMemberDecorate %type_View 181 ColMajor
|
|
OpMemberDecorate %type_View 182 Offset 3120
|
|
OpMemberDecorate %type_View 183 Offset 3136
|
|
OpDecorate %type_View Block
|
|
OpDecorate %_arr_v4float_uint_5 ArrayStride 16
|
|
OpMemberDecorate %type_Material 0 Offset 0
|
|
OpMemberDecorate %type_Material 1 Offset 80
|
|
OpDecorate %type_Material Block
|
|
%float = OpTypeFloat 32
|
|
%v4float = OpTypeVector %float 4
|
|
%mat4v4float = OpTypeMatrix %v4float 4
|
|
%v3float = OpTypeVector %float 3
|
|
%v2float = OpTypeVector %float 2
|
|
%int = OpTypeInt 32 1
|
|
%uint = OpTypeInt 32 0
|
|
%uint_2 = OpConstant %uint 2
|
|
%uint_7 = OpConstant %uint 7
|
|
%uint_4 = OpConstant %uint 4
|
|
%v2int = OpTypeVector %int 2
|
|
%float_0_00100000005 = OpConstant %float 0.00100000005
|
|
%uint_0 = OpConstant %uint 0
|
|
%int_0 = OpConstant %int 0
|
|
%int_1 = OpConstant %int 1
|
|
%int_2 = OpConstant %int 2
|
|
%float_3 = OpConstant %float 3
|
|
%uint_1 = OpConstant %uint 1
|
|
%float_6 = OpConstant %float 6
|
|
%67 = OpConstantComposite %v4float %float_6 %float_6 %float_6 %float_6
|
|
%float_1 = OpConstant %float 1
|
|
%float_0 = OpConstant %float 0
|
|
%int_3 = OpConstant %int 3
|
|
%float_2 = OpConstant %float 2
|
|
%int_26 = OpConstant %int 26
|
|
%int_32 = OpConstant %int 32
|
|
%int_54 = OpConstant %int 54
|
|
%int_153 = OpConstant %int 153
|
|
%int_154 = OpConstant %int 154
|
|
%int_156 = OpConstant %int 156
|
|
%int_157 = OpConstant %int 157
|
|
%float_10 = OpConstant %float 10
|
|
%uint_3 = OpConstant %uint 3
|
|
%81 = OpConstantComposite %v3float %float_0 %float_0 %float_0
|
|
%_arr_v4float_uint_2 = OpTypeArray %v4float %uint_2
|
|
%_arr_v4float_uint_7 = OpTypeArray %v4float %uint_7
|
|
%_arr_v4float_uint_4 = OpTypeArray %v4float %uint_4
|
|
%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 %float %float %mat4v4float %v4float %_arr_v4float_uint_2
|
|
%_ptr_Uniform_type_View = OpTypePointer Uniform %type_View
|
|
%type_sampler = OpTypeSampler
|
|
%_ptr_UniformConstant_type_sampler = OpTypePointer UniformConstant %type_sampler
|
|
%type_3d_image = OpTypeImage %float 3D 2 0 0 1 Unknown
|
|
%_ptr_UniformConstant_type_3d_image = OpTypePointer UniformConstant %type_3d_image
|
|
%uint_5 = OpConstant %uint 5
|
|
%_arr_v4float_uint_5 = OpTypeArray %v4float %uint_5
|
|
%type_Material = OpTypeStruct %_arr_v4float_uint_5 %_arr_v4float_uint_2
|
|
%_ptr_Uniform_type_Material = OpTypePointer Uniform %type_Material
|
|
%_arr_float_uint_1 = OpTypeArray %float %uint_1
|
|
%_ptr_Output__arr_float_uint_1 = OpTypePointer Output %_arr_float_uint_1
|
|
%_arr_v4float_uint_3 = OpTypeArray %v4float %uint_3
|
|
%_ptr_Input__arr_v4float_uint_3 = OpTypePointer Input %_arr_v4float_uint_3
|
|
%_arr_uint_uint_3 = OpTypeArray %uint %uint_3
|
|
%_ptr_Input__arr_uint_uint_3 = OpTypePointer Input %_arr_uint_uint_3
|
|
%_arr__arr_v4float_uint_3_uint_3 = OpTypeArray %_arr_v4float_uint_3 %uint_3
|
|
%_ptr_Input__arr__arr_v4float_uint_3_uint_3 = OpTypePointer Input %_arr__arr_v4float_uint_3_uint_3
|
|
%_arr_v3float_uint_3 = OpTypeArray %v3float %uint_3
|
|
%_ptr_Input__arr_v3float_uint_3 = OpTypePointer Input %_arr_v3float_uint_3
|
|
%_arr_float_uint_3 = OpTypeArray %float %uint_3
|
|
%_ptr_Input__arr_float_uint_3 = OpTypePointer Input %_arr_float_uint_3
|
|
%_arr_v2float_uint_3 = OpTypeArray %v2float %uint_3
|
|
%_ptr_Input__arr_v2float_uint_3 = OpTypePointer Input %_arr_v2float_uint_3
|
|
%_arr_float_uint_4 = OpTypeArray %float %uint_4
|
|
%_ptr_Input__arr_float_uint_4 = OpTypePointer Input %_arr_float_uint_4
|
|
%_arr_float_uint_2 = OpTypeArray %float %uint_2
|
|
%_ptr_Input__arr_float_uint_2 = OpTypePointer Input %_arr_float_uint_2
|
|
%_ptr_Input_v4float = OpTypePointer Input %v4float
|
|
%_ptr_Input_v3float = OpTypePointer Input %v3float
|
|
%_ptr_Output_v4float = OpTypePointer Output %v4float
|
|
%void = OpTypeVoid
|
|
%109 = OpTypeFunction %void
|
|
%_ptr_Output_float = OpTypePointer Output %float
|
|
%mat3v3float = OpTypeMatrix %v3float 3
|
|
%bool = OpTypeBool
|
|
%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float
|
|
%_ptr_Uniform_float = OpTypePointer Uniform %float
|
|
%_ptr_Uniform_mat4v4float = OpTypePointer Uniform %mat4v4float
|
|
%_ptr_Uniform_v3float = OpTypePointer Uniform %v3float
|
|
%type_sampled_image = OpTypeSampledImage %type_3d_image
|
|
%View = OpVariable %_ptr_Uniform_type_View Uniform
|
|
%View_GlobalDistanceFieldTexture0 = OpVariable %_ptr_UniformConstant_type_3d_image UniformConstant
|
|
%View_GlobalDistanceFieldSampler0 = OpVariable %_ptr_UniformConstant_type_sampler UniformConstant
|
|
%View_GlobalDistanceFieldTexture1 = OpVariable %_ptr_UniformConstant_type_3d_image UniformConstant
|
|
%View_GlobalDistanceFieldTexture2 = OpVariable %_ptr_UniformConstant_type_3d_image UniformConstant
|
|
%View_GlobalDistanceFieldTexture3 = OpVariable %_ptr_UniformConstant_type_3d_image UniformConstant
|
|
%Material = OpVariable %_ptr_Uniform_type_Material Uniform
|
|
%gl_ClipDistance = OpVariable %_ptr_Output__arr_float_uint_1 Output
|
|
%in_var_TEXCOORD6 = OpVariable %_ptr_Input__arr_v4float_uint_3 Input
|
|
%in_var_TEXCOORD8 = OpVariable %_ptr_Input__arr_v4float_uint_3 Input
|
|
%in_var_TEXCOORD10_centroid = OpVariable %_ptr_Input__arr_v4float_uint_3 Input
|
|
%in_var_TEXCOORD11_centroid = OpVariable %_ptr_Input__arr_v4float_uint_3 Input
|
|
%in_var_VS_To_DS_Position = OpVariable %_ptr_Input__arr_v4float_uint_3 Input
|
|
%in_var_VS_To_DS_VertexID = OpVariable %_ptr_Input__arr_uint_uint_3 Input
|
|
%in_var_PN_POSITION = OpVariable %_ptr_Input__arr__arr_v4float_uint_3_uint_3 Input
|
|
%in_var_PN_DisplacementScales = OpVariable %_ptr_Input__arr_v3float_uint_3 Input
|
|
%in_var_PN_TessellationMultiplier = OpVariable %_ptr_Input__arr_float_uint_3 Input
|
|
%in_var_PN_WorldDisplacementMultiplier = OpVariable %_ptr_Input__arr_float_uint_3 Input
|
|
%in_var_PN_DominantVertex = OpVariable %_ptr_Input__arr_v2float_uint_3 Input
|
|
%in_var_PN_DominantVertex1 = OpVariable %_ptr_Input__arr_v4float_uint_3 Input
|
|
%in_var_PN_DominantVertex2 = OpVariable %_ptr_Input__arr_v3float_uint_3 Input
|
|
%in_var_PN_DominantEdge = OpVariable %_ptr_Input__arr_v2float_uint_3 Input
|
|
%in_var_PN_DominantEdge1 = OpVariable %_ptr_Input__arr_v2float_uint_3 Input
|
|
%in_var_PN_DominantEdge2 = OpVariable %_ptr_Input__arr_v4float_uint_3 Input
|
|
%in_var_PN_DominantEdge3 = OpVariable %_ptr_Input__arr_v4float_uint_3 Input
|
|
%in_var_PN_DominantEdge4 = OpVariable %_ptr_Input__arr_v3float_uint_3 Input
|
|
%in_var_PN_DominantEdge5 = OpVariable %_ptr_Input__arr_v3float_uint_3 Input
|
|
%gl_TessLevelOuter = OpVariable %_ptr_Input__arr_float_uint_4 Input
|
|
%gl_TessLevelInner = OpVariable %_ptr_Input__arr_float_uint_2 Input
|
|
%in_var_PN_POSITION9 = OpVariable %_ptr_Input_v4float Input
|
|
%gl_TessCoord = OpVariable %_ptr_Input_v3float Input
|
|
%gl_Position = OpVariable %_ptr_Output_v4float Output
|
|
%out_var_TEXCOORD6 = OpVariable %_ptr_Output_v4float Output
|
|
%out_var_TEXCOORD7 = OpVariable %_ptr_Output_v4float Output
|
|
%out_var_TEXCOORD10_centroid = OpVariable %_ptr_Output_v4float Output
|
|
%out_var_TEXCOORD11_centroid = OpVariable %_ptr_Output_v4float Output
|
|
%117 = OpConstantNull %v4float
|
|
%118 = OpUndef %v4float
|
|
%MainDomain = OpFunction %void None %109
|
|
%119 = OpLabel
|
|
%120 = OpLoad %_arr_v4float_uint_3 %in_var_TEXCOORD6
|
|
%121 = OpLoad %_arr_v4float_uint_3 %in_var_TEXCOORD8
|
|
%122 = OpCompositeExtract %v4float %120 0
|
|
%123 = OpCompositeExtract %v4float %121 0
|
|
%124 = OpCompositeExtract %v4float %120 1
|
|
%125 = OpCompositeExtract %v4float %121 1
|
|
%126 = OpCompositeExtract %v4float %120 2
|
|
%127 = OpCompositeExtract %v4float %121 2
|
|
%128 = OpLoad %_arr_v4float_uint_3 %in_var_TEXCOORD10_centroid
|
|
%129 = OpLoad %_arr_v4float_uint_3 %in_var_TEXCOORD11_centroid
|
|
%130 = OpCompositeExtract %v4float %128 0
|
|
%131 = OpCompositeExtract %v4float %129 0
|
|
%132 = OpCompositeExtract %v4float %128 1
|
|
%133 = OpCompositeExtract %v4float %129 1
|
|
%134 = OpCompositeExtract %v4float %128 2
|
|
%135 = OpCompositeExtract %v4float %129 2
|
|
%136 = OpLoad %_arr__arr_v4float_uint_3_uint_3 %in_var_PN_POSITION
|
|
%137 = OpLoad %_arr_float_uint_3 %in_var_PN_WorldDisplacementMultiplier
|
|
%138 = OpLoad %_arr_v4float_uint_3 %in_var_PN_DominantVertex1
|
|
%139 = OpLoad %_arr_v3float_uint_3 %in_var_PN_DominantVertex2
|
|
%140 = OpCompositeExtract %v4float %138 0
|
|
%141 = OpCompositeExtract %v3float %139 0
|
|
%142 = OpCompositeExtract %v4float %138 1
|
|
%143 = OpCompositeExtract %v3float %139 1
|
|
%144 = OpCompositeExtract %v4float %138 2
|
|
%145 = OpCompositeExtract %v3float %139 2
|
|
%146 = OpLoad %_arr_v4float_uint_3 %in_var_PN_DominantEdge2
|
|
%147 = OpLoad %_arr_v4float_uint_3 %in_var_PN_DominantEdge3
|
|
%148 = OpLoad %_arr_v3float_uint_3 %in_var_PN_DominantEdge4
|
|
%149 = OpLoad %_arr_v3float_uint_3 %in_var_PN_DominantEdge5
|
|
%150 = OpCompositeExtract %v4float %146 0
|
|
%151 = OpCompositeExtract %v4float %147 0
|
|
%152 = OpCompositeExtract %v3float %148 0
|
|
%153 = OpCompositeExtract %v3float %149 0
|
|
%154 = OpCompositeExtract %v4float %146 1
|
|
%155 = OpCompositeExtract %v4float %147 1
|
|
%156 = OpCompositeExtract %v3float %148 1
|
|
%157 = OpCompositeExtract %v3float %149 1
|
|
%158 = OpCompositeExtract %v4float %146 2
|
|
%159 = OpCompositeExtract %v4float %147 2
|
|
%160 = OpCompositeExtract %v3float %148 2
|
|
%161 = OpCompositeExtract %v3float %149 2
|
|
%162 = OpCompositeExtract %_arr_v4float_uint_3 %136 0
|
|
%163 = OpCompositeExtract %float %137 0
|
|
%164 = OpCompositeExtract %_arr_v4float_uint_3 %136 1
|
|
%165 = OpCompositeExtract %float %137 1
|
|
%166 = OpCompositeExtract %_arr_v4float_uint_3 %136 2
|
|
%167 = OpCompositeExtract %float %137 2
|
|
%168 = OpCompositeExtract %v4float %162 0
|
|
%169 = OpCompositeExtract %v4float %162 1
|
|
%170 = OpCompositeExtract %v4float %162 2
|
|
%171 = OpCompositeExtract %v4float %164 0
|
|
%172 = OpCompositeExtract %v4float %164 1
|
|
%173 = OpCompositeExtract %v4float %164 2
|
|
%174 = OpCompositeExtract %v4float %166 0
|
|
%175 = OpCompositeExtract %v4float %166 1
|
|
%176 = OpCompositeExtract %v4float %166 2
|
|
%177 = OpLoad %v4float %in_var_PN_POSITION9
|
|
%178 = OpLoad %v3float %gl_TessCoord
|
|
%179 = OpAccessChain %_ptr_Uniform_mat4v4float %View %int_0
|
|
%180 = OpLoad %mat4v4float %179
|
|
%181 = OpAccessChain %_ptr_Uniform_v3float %View %int_26
|
|
%182 = OpLoad %v3float %181
|
|
%183 = OpAccessChain %_ptr_Uniform_v3float %View %int_32
|
|
%184 = OpLoad %v3float %183
|
|
%185 = OpAccessChain %_ptr_Uniform_v4float %View %int_54
|
|
%186 = OpLoad %v4float %185
|
|
%187 = OpCompositeExtract %float %178 0
|
|
%188 = OpCompositeExtract %float %178 1
|
|
%189 = OpCompositeExtract %float %178 2
|
|
%190 = OpFMul %float %187 %187
|
|
%191 = OpFMul %float %188 %188
|
|
%192 = OpFMul %float %189 %189
|
|
%193 = OpFMul %float %190 %float_3
|
|
%194 = OpFMul %float %191 %float_3
|
|
%195 = OpFMul %float %192 %float_3
|
|
%196 = OpCompositeConstruct %v4float %190 %190 %190 %190
|
|
%197 = OpFMul %v4float %168 %196
|
|
%198 = OpCompositeConstruct %v4float %187 %187 %187 %187
|
|
%199 = OpFMul %v4float %197 %198
|
|
%200 = OpCompositeConstruct %v4float %191 %191 %191 %191
|
|
%201 = OpFMul %v4float %171 %200
|
|
%202 = OpCompositeConstruct %v4float %188 %188 %188 %188
|
|
%203 = OpFMul %v4float %201 %202
|
|
%204 = OpFAdd %v4float %199 %203
|
|
%205 = OpCompositeConstruct %v4float %192 %192 %192 %192
|
|
%206 = OpFMul %v4float %174 %205
|
|
%207 = OpCompositeConstruct %v4float %189 %189 %189 %189
|
|
%208 = OpFMul %v4float %206 %207
|
|
%209 = OpFAdd %v4float %204 %208
|
|
%210 = OpCompositeConstruct %v4float %193 %193 %193 %193
|
|
%211 = OpFMul %v4float %169 %210
|
|
%212 = OpFMul %v4float %211 %202
|
|
%213 = OpFAdd %v4float %209 %212
|
|
%214 = OpCompositeConstruct %v4float %194 %194 %194 %194
|
|
%215 = OpFMul %v4float %170 %214
|
|
%216 = OpFMul %v4float %215 %198
|
|
%217 = OpFAdd %v4float %213 %216
|
|
%218 = OpFMul %v4float %172 %214
|
|
%219 = OpFMul %v4float %218 %207
|
|
%220 = OpFAdd %v4float %217 %219
|
|
%221 = OpCompositeConstruct %v4float %195 %195 %195 %195
|
|
%222 = OpFMul %v4float %173 %221
|
|
%223 = OpFMul %v4float %222 %202
|
|
%224 = OpFAdd %v4float %220 %223
|
|
%225 = OpFMul %v4float %175 %221
|
|
%226 = OpFMul %v4float %225 %198
|
|
%227 = OpFAdd %v4float %224 %226
|
|
%228 = OpFMul %v4float %176 %210
|
|
%229 = OpFMul %v4float %228 %207
|
|
%230 = OpFAdd %v4float %227 %229
|
|
%231 = OpFMul %v4float %177 %67
|
|
%232 = OpFMul %v4float %231 %207
|
|
%233 = OpFMul %v4float %232 %198
|
|
%234 = OpFMul %v4float %233 %202
|
|
%235 = OpFAdd %v4float %230 %234
|
|
%236 = OpVectorShuffle %v3float %130 %130 0 1 2
|
|
%237 = OpCompositeConstruct %v3float %187 %187 %187
|
|
%238 = OpFMul %v3float %236 %237
|
|
%239 = OpVectorShuffle %v3float %132 %132 0 1 2
|
|
%240 = OpCompositeConstruct %v3float %188 %188 %188
|
|
%241 = OpFMul %v3float %239 %240
|
|
%242 = OpFAdd %v3float %238 %241
|
|
%243 = OpFMul %v4float %131 %198
|
|
%244 = OpFMul %v4float %133 %202
|
|
%245 = OpFAdd %v4float %243 %244
|
|
%246 = OpFMul %v4float %122 %198
|
|
%247 = OpFMul %v4float %124 %202
|
|
%248 = OpFAdd %v4float %246 %247
|
|
%249 = OpFMul %v4float %123 %198
|
|
%250 = OpFMul %v4float %125 %202
|
|
%251 = OpFAdd %v4float %249 %250
|
|
%252 = OpVectorShuffle %v3float %242 %117 0 1 2
|
|
%253 = OpVectorShuffle %v3float %134 %134 0 1 2
|
|
%254 = OpCompositeConstruct %v3float %189 %189 %189
|
|
%255 = OpFMul %v3float %253 %254
|
|
%256 = OpFAdd %v3float %252 %255
|
|
%257 = OpVectorShuffle %v4float %118 %256 4 5 6 3
|
|
%258 = OpFMul %v4float %135 %207
|
|
%259 = OpFAdd %v4float %245 %258
|
|
%260 = OpFMul %v4float %126 %207
|
|
%261 = OpFAdd %v4float %248 %260
|
|
%262 = OpFMul %v4float %127 %207
|
|
%263 = OpFAdd %v4float %251 %262
|
|
%264 = OpVectorShuffle %v3float %235 %235 0 1 2
|
|
%265 = OpVectorShuffle %v3float %256 %117 0 1 2
|
|
%266 = OpVectorShuffle %v3float %259 %259 0 1 2
|
|
%267 = OpExtInst %v3float %1 Cross %266 %265
|
|
%268 = OpCompositeExtract %float %259 3
|
|
%269 = OpCompositeConstruct %v3float %268 %268 %268
|
|
%270 = OpFMul %v3float %267 %269
|
|
%271 = OpCompositeConstruct %mat3v3float %265 %270 %266
|
|
%272 = OpFAdd %v3float %264 %182
|
|
%273 = OpCompositeExtract %float %259 0
|
|
%274 = OpCompositeExtract %float %259 1
|
|
%275 = OpCompositeExtract %float %259 2
|
|
%276 = OpCompositeConstruct %v4float %273 %274 %275 %float_0
|
|
%277 = OpFOrdEqual %bool %187 %float_0
|
|
%278 = OpSelect %int %277 %int_1 %int_0
|
|
%279 = OpConvertSToF %float %278
|
|
%280 = OpFOrdEqual %bool %188 %float_0
|
|
%281 = OpSelect %int %280 %int_1 %int_0
|
|
%282 = OpConvertSToF %float %281
|
|
%283 = OpFOrdEqual %bool %189 %float_0
|
|
%284 = OpSelect %int %283 %int_1 %int_0
|
|
%285 = OpConvertSToF %float %284
|
|
%286 = OpFAdd %float %279 %282
|
|
%287 = OpFAdd %float %286 %285
|
|
%288 = OpFOrdEqual %bool %287 %float_2
|
|
%289 = OpSelect %int %288 %int_1 %int_0
|
|
%290 = OpConvertSToF %float %289
|
|
%291 = OpFOrdEqual %bool %287 %float_1
|
|
%292 = OpSelect %int %291 %int_1 %int_0
|
|
%293 = OpConvertSToF %float %292
|
|
%294 = OpFOrdEqual %bool %287 %float_0
|
|
%295 = OpSelect %int %294 %int_1 %int_0
|
|
%296 = OpConvertSToF %float %295
|
|
%297 = OpFOrdEqual %bool %290 %float_1
|
|
OpSelectionMerge %298 None
|
|
OpBranchConditional %297 %299 %300
|
|
%300 = OpLabel
|
|
%301 = OpFOrdNotEqual %bool %293 %float_0
|
|
OpSelectionMerge %302 None
|
|
OpBranchConditional %301 %303 %302
|
|
%303 = OpLabel
|
|
%304 = OpCompositeConstruct %v4float %279 %279 %279 %279
|
|
%305 = OpFMul %v4float %304 %150
|
|
%306 = OpCompositeConstruct %v4float %282 %282 %282 %282
|
|
%307 = OpFMul %v4float %306 %154
|
|
%308 = OpFAdd %v4float %305 %307
|
|
%309 = OpCompositeConstruct %v4float %285 %285 %285 %285
|
|
%310 = OpFMul %v4float %309 %158
|
|
%311 = OpFAdd %v4float %308 %310
|
|
%312 = OpFMul %v4float %304 %151
|
|
%313 = OpFMul %v4float %306 %155
|
|
%314 = OpFAdd %v4float %312 %313
|
|
%315 = OpFMul %v4float %309 %159
|
|
%316 = OpFAdd %v4float %314 %315
|
|
%317 = OpFMul %v4float %202 %311
|
|
%318 = OpFMul %v4float %207 %316
|
|
%319 = OpFAdd %v4float %317 %318
|
|
%320 = OpFMul %v4float %304 %319
|
|
%321 = OpFMul %v4float %207 %311
|
|
%322 = OpFMul %v4float %198 %316
|
|
%323 = OpFAdd %v4float %321 %322
|
|
%324 = OpFMul %v4float %306 %323
|
|
%325 = OpFAdd %v4float %320 %324
|
|
%326 = OpFMul %v4float %198 %311
|
|
%327 = OpFMul %v4float %202 %316
|
|
%328 = OpFAdd %v4float %326 %327
|
|
%329 = OpFMul %v4float %309 %328
|
|
%330 = OpFAdd %v4float %325 %329
|
|
%331 = OpCompositeConstruct %v3float %279 %279 %279
|
|
%332 = OpFMul %v3float %331 %152
|
|
%333 = OpCompositeConstruct %v3float %282 %282 %282
|
|
%334 = OpFMul %v3float %333 %156
|
|
%335 = OpFAdd %v3float %332 %334
|
|
%336 = OpCompositeConstruct %v3float %285 %285 %285
|
|
%337 = OpFMul %v3float %336 %160
|
|
%338 = OpFAdd %v3float %335 %337
|
|
%339 = OpFMul %v3float %331 %153
|
|
%340 = OpFMul %v3float %333 %157
|
|
%341 = OpFAdd %v3float %339 %340
|
|
%342 = OpFMul %v3float %336 %161
|
|
%343 = OpFAdd %v3float %341 %342
|
|
%344 = OpFMul %v3float %240 %338
|
|
%345 = OpFMul %v3float %254 %343
|
|
%346 = OpFAdd %v3float %344 %345
|
|
%347 = OpFMul %v3float %331 %346
|
|
%348 = OpFMul %v3float %254 %338
|
|
%349 = OpFMul %v3float %237 %343
|
|
%350 = OpFAdd %v3float %348 %349
|
|
%351 = OpFMul %v3float %333 %350
|
|
%352 = OpFAdd %v3float %347 %351
|
|
%353 = OpFMul %v3float %237 %338
|
|
%354 = OpFMul %v3float %240 %343
|
|
%355 = OpFAdd %v3float %353 %354
|
|
%356 = OpFMul %v3float %336 %355
|
|
%357 = OpFAdd %v3float %352 %356
|
|
OpBranch %302
|
|
%302 = OpLabel
|
|
%358 = OpPhi %v4float %276 %300 %330 %303
|
|
%359 = OpPhi %v3float %265 %300 %357 %303
|
|
OpBranch %298
|
|
%299 = OpLabel
|
|
%360 = OpFAdd %float %282 %285
|
|
%361 = OpFOrdEqual %bool %360 %float_2
|
|
%362 = OpSelect %int %361 %int_1 %int_0
|
|
%363 = OpConvertSToF %float %362
|
|
%364 = OpFAdd %float %285 %279
|
|
%365 = OpFOrdEqual %bool %364 %float_2
|
|
%366 = OpSelect %int %365 %int_1 %int_0
|
|
%367 = OpConvertSToF %float %366
|
|
%368 = OpFOrdEqual %bool %286 %float_2
|
|
%369 = OpSelect %int %368 %int_1 %int_0
|
|
%370 = OpConvertSToF %float %369
|
|
%371 = OpCompositeConstruct %v4float %363 %363 %363 %363
|
|
%372 = OpFMul %v4float %371 %140
|
|
%373 = OpCompositeConstruct %v4float %367 %367 %367 %367
|
|
%374 = OpFMul %v4float %373 %142
|
|
%375 = OpFAdd %v4float %372 %374
|
|
%376 = OpCompositeConstruct %v4float %370 %370 %370 %370
|
|
%377 = OpFMul %v4float %376 %144
|
|
%378 = OpFAdd %v4float %375 %377
|
|
%379 = OpCompositeConstruct %v3float %363 %363 %363
|
|
%380 = OpFMul %v3float %379 %141
|
|
%381 = OpCompositeConstruct %v3float %367 %367 %367
|
|
%382 = OpFMul %v3float %381 %143
|
|
%383 = OpFAdd %v3float %380 %382
|
|
%384 = OpCompositeConstruct %v3float %370 %370 %370
|
|
%385 = OpFMul %v3float %384 %145
|
|
%386 = OpFAdd %v3float %383 %385
|
|
OpBranch %298
|
|
%298 = OpLabel
|
|
%387 = OpPhi %v4float %378 %299 %358 %302
|
|
%388 = OpPhi %v3float %386 %299 %359 %302
|
|
%389 = OpFOrdEqual %bool %296 %float_0
|
|
OpSelectionMerge %390 None
|
|
OpBranchConditional %389 %391 %390
|
|
%391 = OpLabel
|
|
%392 = OpVectorShuffle %v3float %387 %387 0 1 2
|
|
%393 = OpExtInst %v3float %1 Cross %392 %388
|
|
%394 = OpCompositeExtract %float %387 3
|
|
%395 = OpCompositeConstruct %v3float %394 %394 %394
|
|
%396 = OpFMul %v3float %393 %395
|
|
%397 = OpCompositeConstruct %mat3v3float %388 %396 %392
|
|
OpBranch %390
|
|
%390 = OpLabel
|
|
%398 = OpPhi %mat3v3float %271 %298 %397 %391
|
|
%399 = OpAccessChain %_ptr_Uniform_float %View %int_157
|
|
%400 = OpLoad %float %399
|
|
%401 = OpAccessChain %_ptr_Uniform_v4float %View %int_153 %int_0
|
|
%402 = OpLoad %v4float %401
|
|
%403 = OpVectorShuffle %v3float %402 %402 0 1 2
|
|
%404 = OpVectorShuffle %v3float %402 %402 3 3 3
|
|
%405 = OpFSub %v3float %272 %403
|
|
%406 = OpFAdd %v3float %405 %404
|
|
%407 = OpExtInst %v3float %1 FMax %406 %81
|
|
%408 = OpFAdd %v3float %403 %404
|
|
%409 = OpFSub %v3float %408 %272
|
|
%410 = OpExtInst %v3float %1 FMax %409 %81
|
|
%411 = OpExtInst %v3float %1 FMin %407 %410
|
|
%412 = OpCompositeExtract %float %411 0
|
|
%413 = OpCompositeExtract %float %411 1
|
|
%414 = OpCompositeExtract %float %411 2
|
|
%415 = OpExtInst %float %1 FMin %413 %414
|
|
%416 = OpExtInst %float %1 FMin %412 %415
|
|
%417 = OpAccessChain %_ptr_Uniform_float %View %int_153 %int_0 %int_3
|
|
%418 = OpLoad %float %417
|
|
%419 = OpAccessChain %_ptr_Uniform_float %View %int_156
|
|
%420 = OpLoad %float %419
|
|
%421 = OpFMul %float %418 %420
|
|
%422 = OpFOrdGreaterThan %bool %416 %421
|
|
OpSelectionMerge %423 DontFlatten
|
|
OpBranchConditional %422 %424 %425
|
|
%425 = OpLabel
|
|
%426 = OpAccessChain %_ptr_Uniform_v4float %View %int_153 %int_1
|
|
%427 = OpLoad %v4float %426
|
|
%428 = OpVectorShuffle %v3float %427 %427 0 1 2
|
|
%429 = OpVectorShuffle %v3float %427 %427 3 3 3
|
|
%430 = OpFSub %v3float %272 %428
|
|
%431 = OpFAdd %v3float %430 %429
|
|
%432 = OpExtInst %v3float %1 FMax %431 %81
|
|
%433 = OpFAdd %v3float %428 %429
|
|
%434 = OpFSub %v3float %433 %272
|
|
%435 = OpExtInst %v3float %1 FMax %434 %81
|
|
%436 = OpExtInst %v3float %1 FMin %432 %435
|
|
%437 = OpCompositeExtract %float %436 0
|
|
%438 = OpCompositeExtract %float %436 1
|
|
%439 = OpCompositeExtract %float %436 2
|
|
%440 = OpExtInst %float %1 FMin %438 %439
|
|
%441 = OpExtInst %float %1 FMin %437 %440
|
|
%442 = OpAccessChain %_ptr_Uniform_float %View %int_153 %int_1 %int_3
|
|
%443 = OpLoad %float %442
|
|
%444 = OpFMul %float %443 %420
|
|
%445 = OpFOrdGreaterThan %bool %441 %444
|
|
OpSelectionMerge %446 DontFlatten
|
|
OpBranchConditional %445 %447 %448
|
|
%448 = OpLabel
|
|
%449 = OpAccessChain %_ptr_Uniform_v4float %View %int_153 %int_2
|
|
%450 = OpLoad %v4float %449
|
|
%451 = OpVectorShuffle %v3float %450 %450 0 1 2
|
|
%452 = OpVectorShuffle %v3float %450 %450 3 3 3
|
|
%453 = OpFSub %v3float %272 %451
|
|
%454 = OpFAdd %v3float %453 %452
|
|
%455 = OpExtInst %v3float %1 FMax %454 %81
|
|
%456 = OpFAdd %v3float %451 %452
|
|
%457 = OpFSub %v3float %456 %272
|
|
%458 = OpExtInst %v3float %1 FMax %457 %81
|
|
%459 = OpExtInst %v3float %1 FMin %455 %458
|
|
%460 = OpCompositeExtract %float %459 0
|
|
%461 = OpCompositeExtract %float %459 1
|
|
%462 = OpCompositeExtract %float %459 2
|
|
%463 = OpExtInst %float %1 FMin %461 %462
|
|
%464 = OpExtInst %float %1 FMin %460 %463
|
|
%465 = OpAccessChain %_ptr_Uniform_v4float %View %int_153 %int_3
|
|
%466 = OpLoad %v4float %465
|
|
%467 = OpVectorShuffle %v3float %466 %466 0 1 2
|
|
%468 = OpVectorShuffle %v3float %466 %466 3 3 3
|
|
%469 = OpFSub %v3float %272 %467
|
|
%470 = OpFAdd %v3float %469 %468
|
|
%471 = OpExtInst %v3float %1 FMax %470 %81
|
|
%472 = OpFAdd %v3float %467 %468
|
|
%473 = OpFSub %v3float %472 %272
|
|
%474 = OpExtInst %v3float %1 FMax %473 %81
|
|
%475 = OpExtInst %v3float %1 FMin %471 %474
|
|
%476 = OpCompositeExtract %float %475 0
|
|
%477 = OpCompositeExtract %float %475 1
|
|
%478 = OpCompositeExtract %float %475 2
|
|
%479 = OpExtInst %float %1 FMin %477 %478
|
|
%480 = OpExtInst %float %1 FMin %476 %479
|
|
%481 = OpAccessChain %_ptr_Uniform_float %View %int_153 %int_2 %int_3
|
|
%482 = OpLoad %float %481
|
|
%483 = OpFMul %float %482 %420
|
|
%484 = OpFOrdGreaterThan %bool %464 %483
|
|
OpSelectionMerge %485 DontFlatten
|
|
OpBranchConditional %484 %486 %487
|
|
%487 = OpLabel
|
|
%488 = OpAccessChain %_ptr_Uniform_float %View %int_153 %int_3 %int_3
|
|
%489 = OpLoad %float %488
|
|
%490 = OpFMul %float %489 %420
|
|
%491 = OpFOrdGreaterThan %bool %480 %490
|
|
OpSelectionMerge %492 None
|
|
OpBranchConditional %491 %493 %492
|
|
%493 = OpLabel
|
|
%494 = OpFMul %float %480 %float_10
|
|
%495 = OpAccessChain %_ptr_Uniform_float %View %int_154 %int_3 %int_3
|
|
%496 = OpLoad %float %495
|
|
%497 = OpFMul %float %494 %496
|
|
%498 = OpExtInst %float %1 FClamp %497 %float_0 %float_1
|
|
%499 = OpAccessChain %_ptr_Uniform_v4float %View %int_154 %uint_3
|
|
%500 = OpLoad %v4float %499
|
|
%501 = OpVectorShuffle %v3float %500 %500 3 3 3
|
|
%502 = OpFMul %v3float %272 %501
|
|
%503 = OpVectorShuffle %v3float %500 %500 0 1 2
|
|
%504 = OpFAdd %v3float %502 %503
|
|
%505 = OpLoad %type_3d_image %View_GlobalDistanceFieldTexture3
|
|
%506 = OpLoad %type_sampler %View_GlobalDistanceFieldSampler0
|
|
%507 = OpSampledImage %type_sampled_image %505 %506
|
|
%508 = OpImageSampleExplicitLod %v4float %507 %504 Lod %float_0
|
|
%509 = OpCompositeExtract %float %508 0
|
|
%510 = OpExtInst %float %1 FMix %400 %509 %498
|
|
OpBranch %492
|
|
%492 = OpLabel
|
|
%511 = OpPhi %float %400 %487 %510 %493
|
|
OpBranch %485
|
|
%486 = OpLabel
|
|
%512 = OpAccessChain %_ptr_Uniform_v4float %View %int_154 %uint_2
|
|
%513 = OpLoad %v4float %512
|
|
%514 = OpVectorShuffle %v3float %513 %513 3 3 3
|
|
%515 = OpFMul %v3float %272 %514
|
|
%516 = OpVectorShuffle %v3float %513 %513 0 1 2
|
|
%517 = OpFAdd %v3float %515 %516
|
|
%518 = OpLoad %type_3d_image %View_GlobalDistanceFieldTexture2
|
|
%519 = OpLoad %type_sampler %View_GlobalDistanceFieldSampler0
|
|
%520 = OpSampledImage %type_sampled_image %518 %519
|
|
%521 = OpImageSampleExplicitLod %v4float %520 %517 Lod %float_0
|
|
%522 = OpCompositeExtract %float %521 0
|
|
OpBranch %485
|
|
%485 = OpLabel
|
|
%523 = OpPhi %float %522 %486 %511 %492
|
|
OpBranch %446
|
|
%447 = OpLabel
|
|
%524 = OpAccessChain %_ptr_Uniform_v4float %View %int_154 %uint_1
|
|
%525 = OpLoad %v4float %524
|
|
%526 = OpVectorShuffle %v3float %525 %525 3 3 3
|
|
%527 = OpFMul %v3float %272 %526
|
|
%528 = OpVectorShuffle %v3float %525 %525 0 1 2
|
|
%529 = OpFAdd %v3float %527 %528
|
|
%530 = OpLoad %type_3d_image %View_GlobalDistanceFieldTexture1
|
|
%531 = OpLoad %type_sampler %View_GlobalDistanceFieldSampler0
|
|
%532 = OpSampledImage %type_sampled_image %530 %531
|
|
%533 = OpImageSampleExplicitLod %v4float %532 %529 Lod %float_0
|
|
%534 = OpCompositeExtract %float %533 0
|
|
OpBranch %446
|
|
%446 = OpLabel
|
|
%535 = OpPhi %float %534 %447 %523 %485
|
|
OpBranch %423
|
|
%424 = OpLabel
|
|
%536 = OpAccessChain %_ptr_Uniform_v4float %View %int_154 %uint_0
|
|
%537 = OpLoad %v4float %536
|
|
%538 = OpVectorShuffle %v3float %537 %537 3 3 3
|
|
%539 = OpFMul %v3float %272 %538
|
|
%540 = OpVectorShuffle %v3float %537 %537 0 1 2
|
|
%541 = OpFAdd %v3float %539 %540
|
|
%542 = OpLoad %type_3d_image %View_GlobalDistanceFieldTexture0
|
|
%543 = OpLoad %type_sampler %View_GlobalDistanceFieldSampler0
|
|
%544 = OpSampledImage %type_sampled_image %542 %543
|
|
%545 = OpImageSampleExplicitLod %v4float %544 %541 Lod %float_0
|
|
%546 = OpCompositeExtract %float %545 0
|
|
OpBranch %423
|
|
%423 = OpLabel
|
|
%547 = OpPhi %float %546 %424 %535 %446
|
|
%548 = OpAccessChain %_ptr_Uniform_float %Material %int_1 %int_0 %int_2
|
|
%549 = OpLoad %float %548
|
|
%550 = OpFAdd %float %547 %549
|
|
%551 = OpExtInst %float %1 FMin %550 %float_0
|
|
%552 = OpAccessChain %_ptr_Uniform_float %Material %int_1 %int_0 %int_3
|
|
%553 = OpLoad %float %552
|
|
%554 = OpFMul %float %551 %553
|
|
%555 = OpCompositeExtract %v3float %398 2
|
|
%556 = OpCompositeConstruct %v3float %554 %554 %554
|
|
%557 = OpFMul %v3float %555 %556
|
|
%558 = OpFMul %float %163 %187
|
|
%559 = OpFMul %float %165 %188
|
|
%560 = OpFAdd %float %558 %559
|
|
%561 = OpFMul %float %167 %189
|
|
%562 = OpFAdd %float %560 %561
|
|
%563 = OpCompositeConstruct %v3float %562 %562 %562
|
|
%564 = OpFMul %v3float %557 %563
|
|
%565 = OpFAdd %v3float %264 %564
|
|
%566 = OpVectorShuffle %v4float %235 %565 4 5 6 3
|
|
%567 = OpVectorShuffle %v3float %565 %117 0 1 2
|
|
%568 = OpFSub %v3float %567 %184
|
|
%569 = OpCompositeExtract %float %568 0
|
|
%570 = OpCompositeExtract %float %568 1
|
|
%571 = OpCompositeExtract %float %568 2
|
|
%572 = OpCompositeConstruct %v4float %569 %570 %571 %float_1
|
|
%573 = OpDot %float %186 %572
|
|
%574 = OpMatrixTimesVector %v4float %180 %566
|
|
%575 = OpCompositeExtract %float %574 3
|
|
%576 = OpFMul %float %float_0_00100000005 %575
|
|
%577 = OpCompositeExtract %float %574 2
|
|
%578 = OpFAdd %float %577 %576
|
|
%579 = OpCompositeInsert %v4float %578 %574 2
|
|
OpStore %gl_Position %579
|
|
OpStore %out_var_TEXCOORD6 %261
|
|
OpStore %out_var_TEXCOORD7 %263
|
|
OpStore %out_var_TEXCOORD10_centroid %257
|
|
OpStore %out_var_TEXCOORD11_centroid %259
|
|
%580 = OpAccessChain %_ptr_Output_float %gl_ClipDistance %uint_0
|
|
OpStore %580 %573
|
|
OpReturn
|
|
OpFunctionEnd
|