; SPIR-V ; Version: 1.0 ; Generator: rspirv ; Bound: 76 OpCapability Shader OpCapability SampleRateShading %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Vertex %25 "vertex" %14 %17 %19 %21 %23 OpEntryPoint Fragment %54 "fragment" %37 %40 %43 %46 %48 %50 %51 %53 OpEntryPoint GLCompute %74 "compute" %65 %68 %70 %72 OpExecutionMode %54 OriginUpperLeft OpExecutionMode %54 DepthReplacing OpExecutionMode %74 LocalSize 1 1 1 OpMemberDecorate %9 0 Offset 0 OpMemberDecorate %9 1 Offset 16 OpMemberDecorate %10 0 Offset 0 OpMemberDecorate %10 1 Offset 4 OpMemberDecorate %10 2 Offset 8 OpDecorate %14 BuiltIn VertexIndex OpDecorate %17 BuiltIn InstanceIndex OpDecorate %19 Location 10 OpDecorate %21 BuiltIn Position OpDecorate %23 Location 1 OpDecorate %37 BuiltIn FragCoord OpDecorate %40 Location 1 OpDecorate %43 BuiltIn FrontFacing OpDecorate %46 BuiltIn SampleId OpDecorate %48 BuiltIn SampleMask OpDecorate %50 BuiltIn FragDepth OpDecorate %51 BuiltIn SampleMask OpDecorate %53 Location 0 OpDecorate %65 BuiltIn GlobalInvocationId OpDecorate %68 BuiltIn LocalInvocationId OpDecorate %70 BuiltIn LocalInvocationIndex OpDecorate %72 BuiltIn WorkgroupId %2 = OpTypeVoid %4 = OpTypeFloat 32 %3 = OpConstant %4 1.0 %6 = OpTypeInt 32 0 %5 = OpConstant %6 1 %7 = OpConstant %4 0.0 %8 = OpTypeVector %4 4 %9 = OpTypeStruct %8 %4 %10 = OpTypeStruct %4 %6 %4 %11 = OpTypeBool %12 = OpTypeVector %6 3 %15 = OpTypePointer Input %6 %14 = OpVariable %15 Input %17 = OpVariable %15 Input %19 = OpVariable %15 Input %22 = OpTypePointer Output %8 %21 = OpVariable %22 Output %24 = OpTypePointer Output %4 %23 = OpVariable %24 Output %26 = OpTypeFunction %2 %38 = OpTypePointer Input %8 %37 = OpVariable %38 Input %41 = OpTypePointer Input %4 %40 = OpVariable %41 Input %44 = OpTypePointer Input %11 %43 = OpVariable %44 Input %46 = OpVariable %15 Input %48 = OpVariable %15 Input %50 = OpVariable %24 Output %52 = OpTypePointer Output %6 %51 = OpVariable %52 Output %53 = OpVariable %24 Output %66 = OpTypePointer Input %12 %65 = OpVariable %66 Input %68 = OpVariable %66 Input %70 = OpVariable %15 Input %72 = OpVariable %66 Input %25 = OpFunction %2 None %26 %13 = OpLabel %16 = OpLoad %6 %14 %18 = OpLoad %6 %17 %20 = OpLoad %6 %19 OpBranch %27 %27 = OpLabel %28 = OpIAdd %6 %16 %18 %29 = OpIAdd %6 %28 %20 %30 = OpCompositeConstruct %8 %3 %3 %3 %3 %31 = OpConvertUToF %4 %29 %32 = OpCompositeConstruct %9 %30 %31 %33 = OpCompositeExtract %8 %32 0 OpStore %21 %33 %34 = OpCompositeExtract %4 %32 1 OpStore %23 %34 OpReturn OpFunctionEnd %54 = OpFunction %2 None %26 %35 = OpLabel %39 = OpLoad %8 %37 %42 = OpLoad %4 %40 %36 = OpCompositeConstruct %9 %39 %42 %45 = OpLoad %11 %43 %47 = OpLoad %6 %46 %49 = OpLoad %6 %48 OpBranch %55 %55 = OpLabel %56 = OpShiftLeftLogical %6 %5 %47 %57 = OpBitwiseAnd %6 %49 %56 %58 = OpSelect %4 %45 %7 %3 %59 = OpCompositeExtract %4 %36 1 %60 = OpCompositeConstruct %10 %59 %57 %58 %61 = OpCompositeExtract %4 %60 0 OpStore %50 %61 %62 = OpCompositeExtract %6 %60 1 OpStore %51 %62 %63 = OpCompositeExtract %4 %60 2 OpStore %53 %63 OpReturn OpFunctionEnd %74 = OpFunction %2 None %26 %64 = OpLabel %67 = OpLoad %12 %65 %69 = OpLoad %12 %68 %71 = OpLoad %6 %70 %73 = OpLoad %12 %72 OpBranch %75 %75 = OpLabel OpReturn OpFunctionEnd