yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
2345014d
main
1spv.structuredDescriptorHeap.es.frag 2// Module Version 10400 3// Generated by (magic number): 8000b 4// Id's are bound by 57 5 6 Capability Shader 7 Capability UntypedPointersKHR 8 Capability DescriptorHeapEXT 9 Extension "SPV_EXT_descriptor_heap" 10 Extension "SPV_KHR_untyped_pointers" 11 1: ExtInstImport "GLSL.std.450" 12 MemoryModel Logical GLSL450 13 EntryPoint Fragment 4 "main" 11 29 9 45 14 ExecutionMode 4 OriginUpperLeft 15 Source ESSL 310 16 SourceExtension "GL_EXT_descriptor_heap" 17 SourceExtension "GL_EXT_structured_descriptor_heap" 18 Name 4 "main" 19 Name 9 "fragColor" 20 Name 11 "resource_heap" 21 Name 23 "ResourceHeap" 22 Name 29 "sampler_heap" 23 Name 38 "SamplerHeap" 24 Name 45 "uvs" 25 Decorate 9(fragColor) Location 0 26 Decorate 11(resource_heap) BuiltIn ResourceHeapEXT 27 DecorateId 15 ArrayStrideIdEXT 14 28 Decorate 23(ResourceHeap) Block 29 MemberDecorateIdEXT 23(ResourceHeap) 0 OffsetIdEXT 16 30 MemberDecorateIdEXT 23(ResourceHeap) 1 OffsetIdEXT 22 31 Decorate 29(sampler_heap) BuiltIn SamplerHeapEXT 32 DecorateId 32 ArrayStrideIdEXT 31 33 Decorate 38(SamplerHeap) Block 34 MemberDecorateIdEXT 38(SamplerHeap) 0 OffsetIdEXT 16 35 MemberDecorateIdEXT 38(SamplerHeap) 1 OffsetIdEXT 37 36 Decorate 45(uvs) Location 0 37 Decorate 50 RelaxedPrecision 38 Decorate 51 RelaxedPrecision 39 2: TypeVoid 40 3: TypeFunction 2 41 6: TypeFloat 32 42 7: TypeVector 6(float) 4 43 8: TypePointer Output 7(fvec4) 44 9(fragColor): 8(ptr) Variable Output 45 10: TypeUntypedPointerKHR UniformConstant 4611(resource_heap): 10(ptr) UntypedVariableKHR UniformConstant 47 12: TypeInt 32 0 48 13: TypeImage 6(float) 2D sampled format:Unknown 49 14: 12(int) ConstantSizeOfEXT 13 50 15: TypeRuntimeArray 13 51 16: 12(int) Constant 0 52 17: 12(int) Constant 4 53 18: 12(int) SpecConstantOp 128 16 17 54 19: 12(int) SpecConstantOp 137 18 14 55 20: 12(int) SpecConstantOp 130 14 19 56 21: 12(int) SpecConstantOp 137 20 14 57 22: 12(int) SpecConstantOp 128 18 21 5823(ResourceHeap): TypeStruct 12(int) 15 59 24: TypeInt 32 1 60 25: 24(int) Constant 1 61 26: 24(int) Constant 2 6229(sampler_heap): 10(ptr) UntypedVariableKHR UniformConstant 63 30: TypeSampler 64 31: 12(int) ConstantSizeOfEXT 30 65 32: TypeRuntimeArray 30 66 33: 12(int) SpecConstantOp 128 16 31 67 34: 12(int) SpecConstantOp 137 33 31 68 35: 12(int) SpecConstantOp 130 31 34 69 36: 12(int) SpecConstantOp 137 35 31 70 37: 12(int) SpecConstantOp 128 33 36 71 38(SamplerHeap): TypeStruct 30 32 72 41: TypeSampledImage 13 73 43: TypeVector 6(float) 2 74 44: TypePointer Input 43(fvec2) 75 45(uvs): 44(ptr) Variable Input 76 48: 24(int) Constant 0 77 52: TypePointer Output 6(float) 78 4(main): 2 Function None 3 79 5: Label 80 27: 10(ptr) UntypedAccessChainKHR 23(ResourceHeap) 11(resource_heap) 25 26 81 28: 13 Load 27 82 39: 10(ptr) UntypedAccessChainKHR 38(SamplerHeap) 29(sampler_heap) 25 25 83 40: 30 Load 39 84 42: 41 SampledImage 28 40 85 46: 43(fvec2) Load 45(uvs) 86 47: 7(fvec4) ImageSampleImplicitLod 42 46 87 Store 9(fragColor) 47 88 49: 10(ptr) UntypedAccessChainKHR 23(ResourceHeap) 11(resource_heap) 48 89 50: 12(int) Load 49 90 51: 6(float) ConvertUToF 50 91 53: 52(ptr) AccessChain 9(fragColor) 16 92 54: 6(float) Load 53 93 55: 6(float) FAdd 54 51 94 56: 52(ptr) AccessChain 9(fragColor) 16 95 Store 56 55 96 Return 97 FunctionEnd