| spv.descriptorHeap.AtomicImage.comp |
| // Module Version 10400 |
| // Generated by (magic number): 8000b |
| // Id's are bound by 21 |
| |
| Capability Shader |
| Capability Image1D |
| Capability UntypedPointersKHR |
| Capability DescriptorHeapEXT |
| Extension "SPV_EXT_descriptor_heap" |
| Extension "SPV_KHR_untyped_pointers" |
| 1: ExtInstImport "GLSL.std.450" |
| MemoryModel Logical GLSL450 |
| EntryPoint GLCompute 4 "main" 7 |
| ExecutionMode 4 LocalSize 1 1 1 |
| Source GLSL 460 |
| SourceExtension "GL_EXT_descriptor_heap" |
| Name 4 "main" |
| Name 7 "resource_heap" |
| Decorate 7(resource_heap) BuiltIn ResourceHeapEXT |
| DecorateId 13 DecorationArrayStrideIdEXT 12 |
| 2: TypeVoid |
| 3: TypeFunction 2 |
| 6: TypeUntypedPointerKHR UniformConstant |
| 7(resource_heap): 6(ptr) UntypedVariableKHR UniformConstant |
| 8: TypeInt 32 1 |
| 9: 8(int) Constant 1 |
| 10: TypeImage 8(int) 1D nonsampled format:R32i |
| 12: 8(int) ConstantSizeOfEXT 10 |
| 13: TypeRuntimeArray 10 |
| 14: TypeInt 32 0 |
| 15: 14(int) Constant 0 |
| 16: TypePointer Image 8(int) |
| 17: TypeUntypedPointerKHR Image |
| 19: 14(int) Constant 1 |
| 4(main): 2 Function None 3 |
| 5: Label |
| 11: 6(ptr) UntypedAccessChainKHR 13 7(resource_heap) 9 |
| 18: 17(ptr) UntypedImageTexelPointerEXT 10 11 9 15 |
| 20: 8(int) AtomicIAdd 18 19 15 9 |
| Return |
| FunctionEnd |