1spv.nonuniform5.frag 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 23 5 6 Capability Shader 7 Capability ShaderNonUniformEXT 8 Capability RuntimeDescriptorArrayEXT 9 Capability UniformBufferArrayNonUniformIndexingEXT 10 Extension "SPV_EXT_descriptor_indexing" 11 1: ExtInstImport "GLSL.std.450" 12 MemoryModel Logical GLSL450 13 EntryPoint Fragment 4 "main" 9 16 14 ExecutionMode 4 OriginUpperLeft 15 Source GLSL 450 16 SourceExtension "GL_EXT_nonuniform_qualifier" 17 Name 4 "main" 18 Name 9 "FragColor" 19 Name 10 "UBO" 20 MemberName 10(UBO) 0 "v" 21 Name 13 "ubos" 22 Name 16 "Index" 23 Decorate 9(FragColor) Location 0 24 MemberDecorate 10(UBO) 0 Offset 0 25 Decorate 10(UBO) Block 26 Decorate 13(ubos) DescriptorSet 0 27 Decorate 13(ubos) Binding 0 28 Decorate 16(Index) Flat 29 Decorate 16(Index) Location 0 30 Decorate 18 DecorationNonUniformEXT 31 Decorate 21 DecorationNonUniformEXT 32 Decorate 22 DecorationNonUniformEXT 33 2: TypeVoid 34 3: TypeFunction 2 35 6: TypeFloat 32 36 7: TypeVector 6(float) 4 37 8: TypePointer Output 7(fvec4) 38 9(FragColor): 8(ptr) Variable Output 39 10(UBO): TypeStruct 7(fvec4) 40 11: TypeRuntimeArray 10(UBO) 41 12: TypePointer Uniform 11 42 13(ubos): 12(ptr) Variable Uniform 43 14: TypeInt 32 1 44 15: TypePointer Input 14(int) 45 16(Index): 15(ptr) Variable Input 46 19: 14(int) Constant 0 47 20: TypePointer Uniform 7(fvec4) 48 4(main): 2 Function None 3 49 5: Label 50 17: 14(int) Load 16(Index) 51 18: 14(int) CopyObject 17 52 21: 20(ptr) AccessChain 13(ubos) 18 19 53 22: 7(fvec4) Load 21 54 Store 9(FragColor) 22 55 Return 56 FunctionEnd 57