blob: d2741c2805c0a3316a186833e0f3cca963d56cbd [file] [edit]
spv.pushConstantBank.vert
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 75
Capability Shader
Capability PushConstantBanksNV
Extension "SPV_NV_push_constant_bank"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 70
Source GLSL 460
SourceExtension "GL_NV_push_constant_bank"
Name 4 "main"
Name 9 "ResultData"
MemberName 9(ResultData) 0 "bank"
Name 11 "resultData"
Name 14 "PushConstantBank0"
MemberName 14(PushConstantBank0) 0 "data"
Name 16 "bank0"
Name 23 "PushConstantBank1"
MemberName 23(PushConstantBank1) 0 "data"
Name 25 "bank1"
Name 30 "PushConstantBank2"
MemberName 30(PushConstantBank2) 0 "data"
Name 32 "bank2"
Name 37 "PushConstantBank3"
MemberName 37(PushConstantBank3) 0 "data"
Name 39 "bank3"
Name 44 "PushConstantBank4"
MemberName 44(PushConstantBank4) 0 "data"
Name 46 "bank4"
Name 51 "PushConstantBank5"
MemberName 51(PushConstantBank5) 0 "data"
Name 53 "bank5"
Name 58 "PushConstantBank6"
MemberName 58(PushConstantBank6) 0 "data"
Name 60 "bank6_offset"
Name 68 "gl_PerVertex"
MemberName 68(gl_PerVertex) 0 "gl_Position"
MemberName 68(gl_PerVertex) 1 "gl_PointSize"
MemberName 68(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 68(gl_PerVertex) 3 "gl_CullDistance"
Name 70 ""
Decorate 8 ArrayStride 4
Decorate 9(ResultData) BufferBlock
MemberDecorate 9(ResultData) 0 Offset 0
Decorate 11(resultData) Binding 0
Decorate 11(resultData) DescriptorSet 0
Decorate 14(PushConstantBank0) Block
MemberDecorate 14(PushConstantBank0) 0 Offset 0
Decorate 23(PushConstantBank1) Block
Decorate 23(PushConstantBank1) BankNV 1
MemberDecorate 23(PushConstantBank1) 0 Offset 0
Decorate 25(bank1) BankNV 1
Decorate 30(PushConstantBank2) Block
Decorate 30(PushConstantBank2) BankNV 2
MemberDecorate 30(PushConstantBank2) 0 Offset 0
Decorate 32(bank2) BankNV 2
Decorate 37(PushConstantBank3) Block
Decorate 37(PushConstantBank3) BankNV 3
MemberDecorate 37(PushConstantBank3) 0 Offset 0
Decorate 39(bank3) BankNV 3
Decorate 44(PushConstantBank4) Block
Decorate 44(PushConstantBank4) BankNV 4
MemberDecorate 44(PushConstantBank4) 0 Offset 0
Decorate 46(bank4) BankNV 4
Decorate 51(PushConstantBank5) Block
Decorate 51(PushConstantBank5) BankNV 5
MemberDecorate 51(PushConstantBank5) 0 Offset 0
Decorate 53(bank5) BankNV 5
Decorate 58(PushConstantBank6) Block
Decorate 58(PushConstantBank6) BankNV 6
MemberDecorate 58(PushConstantBank6) 0 Offset 0
Decorate 60(bank6_offset) MemberOffsetNV 64
Decorate 60(bank6_offset) BankNV 6
Decorate 68(gl_PerVertex) Block
MemberDecorate 68(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 68(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 68(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 68(gl_PerVertex) 3 BuiltIn CullDistance
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 0
7: 6(int) Constant 8
8: TypeArray 6(int) 7
9(ResultData): TypeStruct 8
10: TypePointer Uniform 9(ResultData)
11(resultData): 10(ptr) Variable Uniform
12: TypeInt 32 1
13: 12(int) Constant 0
14(PushConstantBank0): TypeStruct 6(int)
15: TypePointer PushConstant 14(PushConstantBank0)
16(bank0): 15(ptr) Variable PushConstant
17: TypePointer PushConstant 6(int)
20: TypePointer Uniform 6(int)
22: 12(int) Constant 1
23(PushConstantBank1): TypeStruct 6(int)
24: TypePointer PushConstant 23(PushConstantBank1)
25(bank1): 24(ptr) Variable PushConstant
29: 12(int) Constant 2
30(PushConstantBank2): TypeStruct 6(int)
31: TypePointer PushConstant 30(PushConstantBank2)
32(bank2): 31(ptr) Variable PushConstant
36: 12(int) Constant 3
37(PushConstantBank3): TypeStruct 6(int)
38: TypePointer PushConstant 37(PushConstantBank3)
39(bank3): 38(ptr) Variable PushConstant
43: 12(int) Constant 4
44(PushConstantBank4): TypeStruct 6(int)
45: TypePointer PushConstant 44(PushConstantBank4)
46(bank4): 45(ptr) Variable PushConstant
50: 12(int) Constant 5
51(PushConstantBank5): TypeStruct 6(int)
52: TypePointer PushConstant 51(PushConstantBank5)
53(bank5): 52(ptr) Variable PushConstant
57: 12(int) Constant 6
58(PushConstantBank6): TypeStruct 6(int)
59: TypePointer PushConstant 58(PushConstantBank6)
60(bank6_offset): 59(ptr) Variable PushConstant
64: TypeFloat 32
65: TypeVector 64(float) 4
66: 6(int) Constant 1
67: TypeArray 64(float) 66
68(gl_PerVertex): TypeStruct 65(fvec4) 64(float) 67 67
69: TypePointer Output 68(gl_PerVertex)
70: 69(ptr) Variable Output
71: 64(float) Constant 0
72: 65(fvec4) ConstantComposite 71 71 71 71
73: TypePointer Output 65(fvec4)
4(main): 2 Function None 3
5: Label
18: 17(ptr) AccessChain 16(bank0) 13
19: 6(int) Load 18
21: 20(ptr) AccessChain 11(resultData) 13 13
Store 21 19
26: 17(ptr) AccessChain 25(bank1) 13
27: 6(int) Load 26
28: 20(ptr) AccessChain 11(resultData) 13 22
Store 28 27
33: 17(ptr) AccessChain 32(bank2) 13
34: 6(int) Load 33
35: 20(ptr) AccessChain 11(resultData) 13 29
Store 35 34
40: 17(ptr) AccessChain 39(bank3) 13
41: 6(int) Load 40
42: 20(ptr) AccessChain 11(resultData) 13 36
Store 42 41
47: 17(ptr) AccessChain 46(bank4) 13
48: 6(int) Load 47
49: 20(ptr) AccessChain 11(resultData) 13 43
Store 49 48
54: 17(ptr) AccessChain 53(bank5) 13
55: 6(int) Load 54
56: 20(ptr) AccessChain 11(resultData) 13 50
Store 56 55
61: 17(ptr) AccessChain 60(bank6_offset) 13
62: 6(int) Load 61
63: 20(ptr) AccessChain 11(resultData) 13 57
Store 63 62
74: 73(ptr) AccessChain 70 13
Store 74 72
Return
FunctionEnd