1spv.8bitstorage-ssbo.vert 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 28 5 6 Capability Shader 7 Capability UniformAndStorageBuffer8BitAccess 8 Extension "SPV_KHR_8bit_storage" 9 1: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint Vertex 4 "main" 9 18 12 Source GLSL 450 13 SourceExtension "GL_EXT_shader_8bit_storage" 14 Name 4 "main" 15 Name 9 "color" 16 Name 12 "Vertices" 17 MemberName 12(Vertices) 0 "vertices" 18 Name 14 "" 19 Name 18 "gl_VertexIndex" 20 Decorate 9(color) Location 0 21 Decorate 11 ArrayStride 1 22 MemberDecorate 12(Vertices) 0 NonWritable 23 MemberDecorate 12(Vertices) 0 Offset 0 24 Decorate 12(Vertices) BufferBlock 25 Decorate 14 DescriptorSet 0 26 Decorate 14 Binding 0 27 Decorate 18(gl_VertexIndex) BuiltIn VertexIndex 28 2: TypeVoid 29 3: TypeFunction 2 30 6: TypeFloat 32 31 7: TypeVector 6(float) 4 32 8: TypePointer Output 7(fvec4) 33 9(color): 8(ptr) Variable Output 34 10: TypeInt 8 0 35 11: TypeRuntimeArray 10(int8_t) 36 12(Vertices): TypeStruct 11 37 13: TypePointer Uniform 12(Vertices) 38 14: 13(ptr) Variable Uniform 39 15: TypeInt 32 1 40 16: 15(int) Constant 0 41 17: TypePointer Input 15(int) 4218(gl_VertexIndex): 17(ptr) Variable Input 43 20: TypePointer Uniform 10(int8_t) 44 23: TypeInt 32 0 45 4(main): 2 Function None 3 46 5: Label 47 19: 15(int) Load 18(gl_VertexIndex) 48 21: 20(ptr) AccessChain 14 16 19 49 22: 10(int8_t) Load 21 50 24: 23(int) UConvert 22 51 25: 15(int) Bitcast 24 52 26: 6(float) ConvertSToF 25 53 27: 7(fvec4) CompositeConstruct 26 26 26 26 54 Store 9(color) 27 55 Return 56 FunctionEnd 57