1 spv.8bitstorage-ubo.vert
2 // Module Version 10000
3 // Generated by (magic number): 80007
4 // Id's are bound by 29
7 Capability CapabilityUniformAndStorageBuffer8BitAccess
8 Extension "SPV_KHR_8bit_storage"
9 1: ExtInstImport "GLSL.std.450"
10 MemoryModel Logical GLSL450
11 EntryPoint Vertex 4 "main" 9 20
13 SourceExtension "GL_EXT_shader_8bit_storage"
17 MemberName 14(Vertices) 0 "vertices"
19 Name 20 "gl_VertexIndex"
20 Decorate 9(color) Location 0
21 Decorate 13 ArrayStride 16
22 MemberDecorate 14(Vertices) 0 Offset 0
23 Decorate 14(Vertices) Block
24 Decorate 16 DescriptorSet 0
26 Decorate 20(gl_VertexIndex) BuiltIn VertexIndex
30 7: TypeVector 6(float) 4
31 8: TypePointer Output 7(fvec4)
32 9(color): 8(ptr) Variable Output
35 12: 11(int) Constant 512
36 13: TypeArray 10(int8_t) 12
37 14(Vertices): TypeStruct 13
38 15: TypePointer Uniform 14(Vertices)
39 16: 15(ptr) Variable Uniform
41 18: 17(int) Constant 0
42 19: TypePointer Input 17(int)
43 20(gl_VertexIndex): 19(ptr) Variable Input
44 22: TypePointer Uniform 10(int8_t)
45 4(main): 2 Function None 3
47 21: 17(int) Load 20(gl_VertexIndex)
48 23: 22(ptr) AccessChain 16 18 21
49 24: 10(int8_t) Load 23
50 25: 11(int) UConvert 24
51 26: 17(int) Bitcast 25
52 27: 6(float) ConvertSToF 26
53 28: 7(fvec4) CompositeConstruct 27 27 27 27