yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
5073d93e
main
1spv.1.3.8bitstorage-ubo.vert 2// Module Version 10300 3// Generated by (magic number): 8000b 4// Id's are bound by 29 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 20 12 Source GLSL 450 13 SourceExtension "GL_EXT_shader_8bit_storage" 14 Name 4 "main" 15 Name 9 "color" 16 Name 14 "Vertices" 17 MemberName 14(Vertices) 0 "vertices" 18 Name 16 "" 19 Name 20 "gl_VertexIndex" 20 Decorate 9(color) Location 0 21 Decorate 13 ArrayStride 16 22 Decorate 14(Vertices) Block 23 MemberDecorate 14(Vertices) 0 Offset 0 24 Decorate 16 NonWritable 25 Decorate 16 Binding 0 26 Decorate 16 DescriptorSet 0 27 Decorate 20(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: TypeInt 32 0 36 12: 11(int) Constant 512 37 13: TypeArray 10(int8_t) 12 38 14(Vertices): TypeStruct 13 39 15: TypePointer Uniform 14(Vertices) 40 16: 15(ptr) Variable Uniform 41 17: TypeInt 32 1 42 18: 17(int) Constant 0 43 19: TypePointer Input 17(int) 4420(gl_VertexIndex): 19(ptr) Variable Input 45 22: TypePointer Uniform 10(int8_t) 46 4(main): 2 Function None 3 47 5: Label 48 21: 17(int) Load 20(gl_VertexIndex) 49 23: 22(ptr) AccessChain 16 18 21 50 24: 10(int8_t) Load 23 51 25: 11(int) UConvert 24 52 26: 17(int) Bitcast 25 53 27: 6(float) ConvertSToF 26 54 28: 7(fvec4) CompositeConstruct 27 27 27 27 55 Store 9(color) 28 56 Return 57 FunctionEnd