yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
5073d93e
main
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 Decorate 12(Vertices) BufferBlock 23 MemberDecorate 12(Vertices) 0 NonWritable 24 MemberDecorate 12(Vertices) 0 Offset 0 25 Decorate 14 NonWritable 26 Decorate 14 Binding 0 27 Decorate 14 DescriptorSet 0 28 Decorate 18(gl_VertexIndex) BuiltIn VertexIndex 29 2: TypeVoid 30 3: TypeFunction 2 31 6: TypeFloat 32 32 7: TypeVector 6(float) 4 33 8: TypePointer Output 7(fvec4) 34 9(color): 8(ptr) Variable Output 35 10: TypeInt 8 0 36 11: TypeRuntimeArray 10(int8_t) 37 12(Vertices): TypeStruct 11 38 13: TypePointer Uniform 12(Vertices) 39 14: 13(ptr) Variable Uniform 40 15: TypeInt 32 1 41 16: 15(int) Constant 0 42 17: TypePointer Input 15(int) 4318(gl_VertexIndex): 17(ptr) Variable Input 44 20: TypePointer Uniform 10(int8_t) 45 23: TypeInt 32 0 46 4(main): 2 Function None 3 47 5: Label 48 19: 15(int) Load 18(gl_VertexIndex) 49 21: 20(ptr) AccessChain 14 16 19 50 22: 10(int8_t) Load 21 51 24: 23(int) UConvert 22 52 25: 15(int) Bitcast 24 53 26: 6(float) ConvertSToF 25 54 27: 7(fvec4) CompositeConstruct 26 26 26 26 55 Store 9(color) 27 56 Return 57 FunctionEnd