SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2.
This commit is contained in:
parent
1c77f3a8d2
commit
55e7d11ce8
117 changed files with 6740 additions and 5997 deletions
|
|
@ -3,30 +3,23 @@ spv.150.vert
|
|||
Linked vertex stage:
|
||||
|
||||
|
||||
// Module Version 99
|
||||
// Generated by (magic number): 51a00bb
|
||||
// Id's are bound by 52
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 50
|
||||
|
||||
Source GLSL 150
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main"
|
||||
EntryPoint Vertex 4 "main" 17 39 48 49
|
||||
Source GLSL 150
|
||||
Name 4 "main"
|
||||
Name 13 "gl_PerVertex"
|
||||
MemberName 13(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 13(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 13(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
MemberName 13(gl_PerVertex) 3 "gl_ClipVertex"
|
||||
MemberName 13(gl_PerVertex) 4 "gl_FrontColor"
|
||||
MemberName 13(gl_PerVertex) 5 "gl_BackColor"
|
||||
MemberName 13(gl_PerVertex) 6 "gl_FrontSecondaryColor"
|
||||
MemberName 13(gl_PerVertex) 7 "gl_BackSecondaryColor"
|
||||
MemberName 13(gl_PerVertex) 8 "gl_TexCoord"
|
||||
MemberName 13(gl_PerVertex) 9 "gl_FogFragCoord"
|
||||
Name 15 ""
|
||||
Name 19 "iv4"
|
||||
Name 25 "ps"
|
||||
Name 11 "gl_PerVertex"
|
||||
MemberName 11(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 11(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 11(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
Name 13 ""
|
||||
Name 17 "iv4"
|
||||
Name 23 "ps"
|
||||
Name 35 "s1"
|
||||
MemberName 35(s1) 0 "a"
|
||||
MemberName 35(s1) 1 "a2"
|
||||
|
|
@ -36,19 +29,16 @@ Linked vertex stage:
|
|||
MemberName 37(s2) 1 "d"
|
||||
Name 39 "s2out"
|
||||
Name 41 "i"
|
||||
Name 48 "ui"
|
||||
Name 50 "gl_VertexID"
|
||||
Name 51 "gl_InstanceID"
|
||||
MemberDecorate 13(gl_PerVertex) 0 Invariant
|
||||
MemberDecorate 13(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 13(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 13(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
Decorate 13(gl_PerVertex) Block
|
||||
Decorate 48(ui) NoStaticUse
|
||||
Decorate 50(gl_VertexID) BuiltIn VertexId
|
||||
Decorate 50(gl_VertexID) NoStaticUse
|
||||
Decorate 51(gl_InstanceID) BuiltIn InstanceId
|
||||
Decorate 51(gl_InstanceID) NoStaticUse
|
||||
Name 46 "ui"
|
||||
Name 48 "gl_VertexID"
|
||||
Name 49 "gl_InstanceID"
|
||||
MemberDecorate 11(gl_PerVertex) 0 Invariant
|
||||
MemberDecorate 11(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 11(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 11(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
Decorate 11(gl_PerVertex) Block
|
||||
Decorate 48(gl_VertexID) BuiltIn VertexId
|
||||
Decorate 49(gl_InstanceID) BuiltIn InstanceId
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
|
|
@ -56,52 +46,50 @@ Linked vertex stage:
|
|||
8: TypeInt 32 0
|
||||
9: 8(int) Constant 4
|
||||
10: TypeArray 6(float) 9
|
||||
11: 8(int) Constant 1
|
||||
12: TypeArray 7(fvec4) 11
|
||||
13(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 10 7(fvec4) 7(fvec4) 7(fvec4) 7(fvec4) 7(fvec4) 12 6(float)
|
||||
14: TypePointer Output 13(gl_PerVertex)
|
||||
15: 14(ptr) Variable Output
|
||||
16: TypeInt 32 1
|
||||
17: 16(int) Constant 0
|
||||
18: TypePointer Input 7(fvec4)
|
||||
19(iv4): 18(ptr) Variable Input
|
||||
21: TypePointer Output 7(fvec4)
|
||||
23: 16(int) Constant 1
|
||||
24: TypePointer UniformConstant 6(float)
|
||||
25(ps): 24(ptr) Variable UniformConstant
|
||||
27: TypePointer Output 6(float)
|
||||
29: 16(int) Constant 2
|
||||
11(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 10
|
||||
12: TypePointer Output 11(gl_PerVertex)
|
||||
13: 12(ptr) Variable Output
|
||||
14: TypeInt 32 1
|
||||
15: 14(int) Constant 0
|
||||
16: TypePointer Input 7(fvec4)
|
||||
17(iv4): 16(ptr) Variable Input
|
||||
19: TypePointer Output 7(fvec4)
|
||||
21: 14(int) Constant 1
|
||||
22: TypePointer UniformConstant 6(float)
|
||||
23(ps): 22(ptr) Variable UniformConstant
|
||||
25: TypePointer Output 6(float)
|
||||
27: 14(int) Constant 2
|
||||
28: 8(int) Constant 0
|
||||
29: TypePointer Input 6(float)
|
||||
33: 8(int) Constant 3
|
||||
34: TypeArray 7(fvec4) 33
|
||||
35(s1): TypeStruct 16(int) 16(int) 34
|
||||
35(s1): TypeStruct 14(int) 14(int) 34
|
||||
36: TypeArray 35(s1) 9
|
||||
37(s2): TypeStruct 16(int) 36
|
||||
37(s2): TypeStruct 14(int) 36
|
||||
38: TypePointer Output 37(s2)
|
||||
39(s2out): 38(ptr) Variable Output
|
||||
40: TypePointer Function 16(int)
|
||||
47: TypePointer UniformConstant 16(int)
|
||||
48(ui): 47(ptr) Variable UniformConstant
|
||||
49: TypePointer Input 16(int)
|
||||
50(gl_VertexID): 49(ptr) Variable Input
|
||||
51(gl_InstanceID): 49(ptr) Variable Input
|
||||
40: TypePointer Function 14(int)
|
||||
45: TypePointer UniformConstant 14(int)
|
||||
46(ui): 45(ptr) Variable UniformConstant
|
||||
47: TypePointer Input 14(int)
|
||||
48(gl_VertexID): 47(ptr) Variable Input
|
||||
49(gl_InstanceID): 47(ptr) Variable Input
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
41(i): 40(ptr) Variable Function
|
||||
20: 7(fvec4) Load 19(iv4)
|
||||
22: 21(ptr) AccessChain 15 17
|
||||
Store 22 20
|
||||
26: 6(float) Load 25(ps)
|
||||
28: 27(ptr) AccessChain 15 23
|
||||
Store 28 26
|
||||
30: 7(fvec4) Load 19(iv4)
|
||||
31: 6(float) CompositeExtract 30 0
|
||||
32: 27(ptr) AccessChain 15 29 29
|
||||
18: 7(fvec4) Load 17(iv4)
|
||||
20: 19(ptr) AccessChain 13 15
|
||||
Store 20 18
|
||||
24: 6(float) Load 23(ps)
|
||||
26: 25(ptr) AccessChain 13 21
|
||||
Store 26 24
|
||||
30: 29(ptr) AccessChain 17(iv4) 28
|
||||
31: 6(float) Load 30
|
||||
32: 25(ptr) AccessChain 13 27 27
|
||||
Store 32 31
|
||||
42: 16(int) Load 41(i)
|
||||
43: 6(float) Load 25(ps)
|
||||
44: 21(ptr) AccessChain 39(s2out) 23 42 29 29
|
||||
45: 7(fvec4) Load 44
|
||||
46: 7(fvec4) CompositeInsert 43 45 3
|
||||
Store 44 46
|
||||
42: 14(int) Load 41(i)
|
||||
43: 6(float) Load 23(ps)
|
||||
44: 25(ptr) AccessChain 39(s2out) 21 42 27 27 33
|
||||
Store 44 43
|
||||
Return
|
||||
FunctionEnd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue