1; SPIR-V 2; Version: 1.3 3; Generator: Khronos Glslang Reference Front End; 7 4; Bound: 72 5; Schema: 0 6 OpCapability Tessellation 7 %1 = OpExtInstImport "GLSL.std.450" 8 OpMemoryModel Logical GLSL450 9 OpEntryPoint TessellationEvaluation %main "main" %_ %gl_TessCoord %gl_TessLevelInner %gl_TessLevelOuter 10 OpExecutionMode %main Quads 11 OpExecutionMode %main SpacingFractionalEven 12 OpExecutionMode %main VertexOrderCw 13 OpSource ESSL 310 14 OpSourceExtension "GL_EXT_shader_io_blocks" 15 OpSourceExtension "GL_EXT_tessellation_shader" 16 OpMemberDecorate %gl_PerVertex 0 BuiltIn Position 17 OpMemberDecorate %gl_PerVertex 1 BuiltIn PointSize 18 OpDecorate %gl_PerVertex Block 19 OpDecorate %gl_TessCoord BuiltIn TessCoord 20 OpDecorate %gl_TessLevelInner Patch 21 OpDecorate %gl_TessLevelInner BuiltIn TessLevelInner 22 OpDecorate %gl_TessLevelOuter Patch 23 OpDecorate %gl_TessLevelOuter BuiltIn TessLevelOuter 24 %void = OpTypeVoid 25 %3 = OpTypeFunction %void 26 %float = OpTypeFloat 32 27 %v4float = OpTypeVector %float 4 28%gl_PerVertex = OpTypeStruct %v4float %float 29%_ptr_Output_gl_PerVertex = OpTypePointer Output %gl_PerVertex 30 %_ = OpVariable %_ptr_Output_gl_PerVertex Output 31 %int = OpTypeInt 32 1 32 %int_0 = OpConstant %int 0 33 %v3float = OpTypeVector %float 3 34%_ptr_Input_v3float = OpTypePointer Input %v3float 35%gl_TessCoord = OpVariable %_ptr_Input_v3float Input 36 %uint = OpTypeInt 32 0 37 %uint_0 = OpConstant %uint 0 38%_ptr_Input_float = OpTypePointer Input %float 39 %uint_2 = OpConstant %uint 2 40%_arr_float_uint_2 = OpTypeArray %float %uint_2 41%_ptr_Input__arr_float_uint_2 = OpTypePointer Input %_arr_float_uint_2 42%gl_TessLevelInner = OpVariable %_ptr_Input__arr_float_uint_2 Input 43 %uint_4 = OpConstant %uint 4 44%_arr_float_uint_4 = OpTypeArray %float %uint_4 45%_ptr_Input__arr_float_uint_4 = OpTypePointer Input %_arr_float_uint_4 46%gl_TessLevelOuter = OpVariable %_ptr_Input__arr_float_uint_4 Input 47 %float_1 = OpConstant %float 1 48 %int_2 = OpConstant %int 2 49 %uint_1 = OpConstant %uint 1 50 %int_1 = OpConstant %int 1 51 %int_3 = OpConstant %int 3 52 %float_0 = OpConstant %float 0 53%_ptr_Output_v4float = OpTypePointer Output %v4float 54 %main = OpFunction %void None %3 55 %5 = OpLabel 56 %19 = OpAccessChain %_ptr_Input_float %gl_TessCoord %uint_0 57 %20 = OpLoad %float %19 58 %25 = OpAccessChain %_ptr_Input_float %gl_TessLevelInner %int_0 59 %26 = OpLoad %float %25 60 %27 = OpFMul %float %20 %26 61 %32 = OpAccessChain %_ptr_Input_float %gl_TessLevelOuter %int_0 62 %33 = OpLoad %float %32 63 %34 = OpFMul %float %27 %33 64 %36 = OpAccessChain %_ptr_Input_float %gl_TessCoord %uint_0 65 %37 = OpLoad %float %36 66 %38 = OpFSub %float %float_1 %37 67 %39 = OpAccessChain %_ptr_Input_float %gl_TessLevelInner %int_0 68 %40 = OpLoad %float %39 69 %41 = OpFMul %float %38 %40 70 %43 = OpAccessChain %_ptr_Input_float %gl_TessLevelOuter %int_2 71 %44 = OpLoad %float %43 72 %45 = OpFMul %float %41 %44 73 %46 = OpFAdd %float %34 %45 74 %48 = OpAccessChain %_ptr_Input_float %gl_TessCoord %uint_1 75 %49 = OpLoad %float %48 76 %51 = OpAccessChain %_ptr_Input_float %gl_TessLevelInner %int_1 77 %52 = OpLoad %float %51 78 %53 = OpFMul %float %49 %52 79 %54 = OpAccessChain %_ptr_Input_float %gl_TessLevelOuter %int_1 80 %55 = OpLoad %float %54 81 %56 = OpFMul %float %53 %55 82 %57 = OpAccessChain %_ptr_Input_float %gl_TessCoord %uint_1 83 %58 = OpLoad %float %57 84 %59 = OpFSub %float %float_1 %58 85 %60 = OpAccessChain %_ptr_Input_float %gl_TessLevelInner %int_1 86 %61 = OpLoad %float %60 87 %62 = OpFMul %float %59 %61 88 %64 = OpAccessChain %_ptr_Input_float %gl_TessLevelOuter %int_3 89 %65 = OpLoad %float %64 90 %66 = OpFMul %float %62 %65 91 %67 = OpFAdd %float %56 %66 92 %69 = OpCompositeConstruct %v4float %46 %67 %float_0 %float_1 93 %71 = OpAccessChain %_ptr_Output_v4float %_ %int_0 94 OpStore %71 %69 95 OpReturn 96 OpFunctionEnd 97