--- source: tests/snapshots.rs expression: dis --- ; SPIR-V ; Version: 1.5 ; Generator: rspirv ; Bound: 46 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %23 "main" %5 %20 OpExecutionMode %23 OriginUpperLeft OpSource GLSL 450 OpName %5 "tex_coord" OpName %9 "texture0" OpName %12 "texture1" OpName %13 "sampler" OpName %17 "PushConstants" OpMemberName %17 0 "index" OpName %16 "pc" OpName %20 "color" OpName %23 "main" OpName %23 "main" OpDecorate %5 Location 0 OpDecorate %9 DescriptorSet 0 OpDecorate %9 Binding 0 OpDecorate %12 DescriptorSet 0 OpDecorate %12 Binding 1 OpDecorate %13 DescriptorSet 0 OpDecorate %13 Binding 2 OpDecorate %17 Block OpMemberDecorate %17 0 Offset 0 OpDecorate %20 Location 1 %2 = OpTypeVoid %4 = OpTypeInt 32 1 %3 = OpConstant %4 0 %7 = OpTypeFloat 32 %6 = OpTypeVector %7 2 %8 = OpTypePointer Input %6 %5 = OpVariable %8 Input %10 = OpTypeImage %7 2D 0 0 0 1 Unknown %11 = OpTypePointer UniformConstant %10 %9 = OpVariable %11 UniformConstant %12 = OpVariable %11 UniformConstant %14 = OpTypeSampler %15 = OpTypePointer UniformConstant %14 %13 = OpVariable %15 UniformConstant %18 = OpTypeInt 32 0 %17 = OpTypeStruct %18 %19 = OpTypePointer PushConstant %17 %16 = OpVariable %19 PushConstant %21 = OpTypeVector %7 4 %22 = OpTypePointer Output %21 %20 = OpVariable %22 Output %24 = OpTypeFunction %2 %30 = OpConstant %4 0 %32 = OpTypePointer PushConstant %18 %34 = OpTypeBool %40 = OpTypeSampledImage %10 %23 = OpFunction %2 None %24 %25 = OpLabel %26 = OpLoad %10 %9 %27 = OpLoad %10 %12 %28 = OpLoad %14 %13 OpBranch %29 %29 = OpLabel %31 = OpAccessChain %32 %16 %30 %33 = OpLoad %18 %31 %35 = OpIEqual %34 %33 %3 OpSelectionMerge %36 None OpBranchConditional %35 %37 %38 %37 = OpLabel %39 = OpLoad %6 %5 %41 = OpSampledImage %40 %26 %28 %42 = OpImageSampleImplicitLod %21 %41 %39 OpStore %20 %42 OpReturn %38 = OpLabel %43 = OpLoad %6 %5 %44 = OpSampledImage %40 %27 %28 %45 = OpImageSampleImplicitLod %21 %44 %43 OpStore %20 %45 OpReturn %36 = OpLabel OpReturn OpFunctionEnd