• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.vulkan110.storageBuffer.vert
2// Module Version 10300
3// Generated by (magic number): 8000a
4// Id's are bound by 31
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Vertex 4  "main" 13
10                              Source GLSL 450
11                              Name 4  "main"
12                              Name 11  "gl_PerVertex"
13                              MemberName 11(gl_PerVertex) 0  "gl_Position"
14                              MemberName 11(gl_PerVertex) 1  "gl_PointSize"
15                              MemberName 11(gl_PerVertex) 2  "gl_ClipDistance"
16                              MemberName 11(gl_PerVertex) 3  "gl_CullDistance"
17                              Name 13  ""
18                              Name 16  "ub"
19                              MemberName 16(ub) 0  "a"
20                              Name 18  "ubi"
21                              Name 22  "bb"
22                              MemberName 22(bb) 0  "b"
23                              Name 24  "bbi"
24                              MemberDecorate 11(gl_PerVertex) 0 BuiltIn Position
25                              MemberDecorate 11(gl_PerVertex) 1 BuiltIn PointSize
26                              MemberDecorate 11(gl_PerVertex) 2 BuiltIn ClipDistance
27                              MemberDecorate 11(gl_PerVertex) 3 BuiltIn CullDistance
28                              Decorate 11(gl_PerVertex) Block
29                              MemberDecorate 16(ub) 0 Offset 0
30                              Decorate 16(ub) Block
31                              Decorate 18(ubi) DescriptorSet 0
32                              Decorate 18(ubi) Binding 0
33                              MemberDecorate 22(bb) 0 Offset 0
34                              Decorate 22(bb) Block
35                              Decorate 24(bbi) DescriptorSet 0
36                              Decorate 24(bbi) Binding 1
37               2:             TypeVoid
38               3:             TypeFunction 2
39               6:             TypeFloat 32
40               7:             TypeVector 6(float) 4
41               8:             TypeInt 32 0
42               9:      8(int) Constant 1
43              10:             TypeArray 6(float) 9
4411(gl_PerVertex):             TypeStruct 7(fvec4) 6(float) 10 10
45              12:             TypePointer Output 11(gl_PerVertex)
46              13:     12(ptr) Variable Output
47              14:             TypeInt 32 1
48              15:     14(int) Constant 0
49          16(ub):             TypeStruct 7(fvec4)
50              17:             TypePointer Uniform 16(ub)
51         18(ubi):     17(ptr) Variable Uniform
52              19:             TypePointer Uniform 7(fvec4)
53          22(bb):             TypeStruct 7(fvec4)
54              23:             TypePointer StorageBuffer 22(bb)
55         24(bbi):     23(ptr) Variable StorageBuffer
56              25:             TypePointer StorageBuffer 7(fvec4)
57              29:             TypePointer Output 7(fvec4)
58         4(main):           2 Function None 3
59               5:             Label
60              20:     19(ptr) AccessChain 18(ubi) 15
61              21:    7(fvec4) Load 20
62              26:     25(ptr) AccessChain 24(bbi) 15
63              27:    7(fvec4) Load 26
64              28:    7(fvec4) FAdd 21 27
65              30:     29(ptr) AccessChain 13 15
66                              Store 30 28
67                              Return
68                              FunctionEnd
69