1spv.nonuniform4.frag 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 24 5 6 Capability Shader 7 Capability ImageBuffer 8 Capability ShaderNonUniformEXT 9 Capability RuntimeDescriptorArrayEXT 10 Capability StorageTexelBufferArrayNonUniformIndexingEXT 11 Extension "SPV_EXT_descriptor_indexing" 12 1: ExtInstImport "GLSL.std.450" 13 MemoryModel Logical GLSL450 14 EntryPoint Fragment 4 "main" 13 15 ExecutionMode 4 OriginUpperLeft 16 Source GLSL 450 17 SourceExtension "GL_EXT_nonuniform_qualifier" 18 Name 4 "main" 19 Name 10 "data" 20 Name 13 "rIndex" 21 Decorate 10(data) DescriptorSet 0 22 Decorate 10(data) Binding 4 23 Decorate 13(rIndex) Flat 24 Decorate 13(rIndex) Location 3 25 Decorate 15 DecorationNonUniformEXT 26 Decorate 17 DecorationNonUniformEXT 27 Decorate 21 DecorationNonUniformEXT 28 2: TypeVoid 29 3: TypeFunction 2 30 6: TypeInt 32 0 31 7: TypeImage 6(int) Buffer nonsampled format:R32ui 32 8: TypeRuntimeArray 7 33 9: TypePointer UniformConstant 8 34 10(data): 9(ptr) Variable UniformConstant 35 11: TypeInt 32 1 36 12: TypePointer Input 11(int) 37 13(rIndex): 12(ptr) Variable Input 38 16: TypePointer UniformConstant 7 39 18: 11(int) Constant 0 40 19: 6(int) Constant 0 41 20: TypePointer Image 6(int) 42 22: 6(int) Constant 1 43 4(main): 2 Function None 3 44 5: Label 45 14: 11(int) Load 13(rIndex) 46 15: 11(int) CopyObject 14 47 17: 16(ptr) AccessChain 10(data) 15 48 21: 20(ptr) ImageTexelPointer 17 18 19 49 23: 6(int) AtomicIAdd 21 22 19 19 50 Return 51 FunctionEnd 52