SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2.
This commit is contained in:
@@ -3,16 +3,16 @@ spv.forLoop.frag
|
||||
Linked fragment stage:
|
||||
|
||||
|
||||
// Module Version 99
|
||||
// Generated by (magic number): 51a00bb
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 122
|
||||
|
||||
Source GLSL 130
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main"
|
||||
EntryPoint Fragment 4 "main" 11 97
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
Name 9 "color"
|
||||
Name 11 "BaseColor"
|
||||
@@ -23,15 +23,12 @@ Linked fragment stage:
|
||||
Name 38 "sum"
|
||||
Name 40 "i"
|
||||
Name 50 "v4"
|
||||
Name 59 "i"
|
||||
Name 65 "tv4"
|
||||
Name 60 "i"
|
||||
Name 66 "tv4"
|
||||
Name 83 "r"
|
||||
Name 89 "i"
|
||||
Name 97 "f"
|
||||
Name 110 "i"
|
||||
Decorate 11(BaseColor) Smooth
|
||||
Decorate 35(gl_FragColor) BuiltIn FragColor
|
||||
Decorate 97(f) Smooth
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
@@ -57,10 +54,12 @@ Linked fragment stage:
|
||||
48: TypeVector 47(int) 4
|
||||
49: TypePointer UniformConstant 48(ivec4)
|
||||
50(v4): 49(ptr) Variable UniformConstant
|
||||
70: 47(int) Constant 4
|
||||
52: TypePointer UniformConstant 47(int)
|
||||
71: 47(int) Constant 4
|
||||
84: TypeVector 6(float) 3
|
||||
96: TypePointer Input 6(float)
|
||||
97(f): 96(ptr) Variable Input
|
||||
99: 47(int) Constant 3
|
||||
115: 13(int) Constant 16
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
@@ -68,8 +67,8 @@ Linked fragment stage:
|
||||
15(i): 14(ptr) Variable Function
|
||||
38(sum): 37(ptr) Variable Function
|
||||
40(i): 14(ptr) Variable Function
|
||||
59(i): 14(ptr) Variable Function
|
||||
65(tv4): 8(ptr) Variable Function
|
||||
60(i): 14(ptr) Variable Function
|
||||
66(tv4): 8(ptr) Variable Function
|
||||
83(r): 8(ptr) Variable Function
|
||||
89(i): 14(ptr) Variable Function
|
||||
110(i): 14(ptr) Variable Function
|
||||
@@ -81,7 +80,7 @@ Linked fragment stage:
|
||||
20: 13(int) Load 15(i)
|
||||
23: 13(int) Load 22(Count)
|
||||
25: 24(bool) SLessThan 20 23
|
||||
LoopMerge 18 None
|
||||
LoopMerge 18 17 None
|
||||
BranchConditional 25 19 18
|
||||
19: Label
|
||||
28: 7(fvec4) Load 27(bigColor)
|
||||
@@ -101,46 +100,45 @@ Linked fragment stage:
|
||||
41: Label
|
||||
44: 13(int) Load 40(i)
|
||||
46: 24(bool) SLessThan 44 45
|
||||
LoopMerge 42 None
|
||||
LoopMerge 42 41 None
|
||||
BranchConditional 46 43 42
|
||||
43: Label
|
||||
51: 13(int) Load 40(i)
|
||||
52: 48(ivec4) Load 50(v4)
|
||||
53: 47(int) VectorExtractDynamic 52 51
|
||||
54: 6(float) ConvertUToF 53
|
||||
55: 6(float) Load 38(sum)
|
||||
56: 6(float) FAdd 55 54
|
||||
Store 38(sum) 56
|
||||
57: 13(int) Load 40(i)
|
||||
58: 13(int) IAdd 57 32
|
||||
Store 40(i) 58
|
||||
53: 52(ptr) AccessChain 50(v4) 51
|
||||
54: 47(int) Load 53
|
||||
55: 6(float) ConvertUToF 54
|
||||
56: 6(float) Load 38(sum)
|
||||
57: 6(float) FAdd 56 55
|
||||
Store 38(sum) 57
|
||||
58: 13(int) Load 40(i)
|
||||
59: 13(int) IAdd 58 32
|
||||
Store 40(i) 59
|
||||
Branch 41
|
||||
42: Label
|
||||
Store 59(i) 16
|
||||
Branch 60
|
||||
60: Label
|
||||
63: 13(int) Load 59(i)
|
||||
64: 24(bool) SLessThan 63 45
|
||||
LoopMerge 61 None
|
||||
BranchConditional 64 62 61
|
||||
62: Label
|
||||
66: 13(int) Load 59(i)
|
||||
67: 13(int) Load 59(i)
|
||||
68: 48(ivec4) Load 50(v4)
|
||||
69: 47(int) VectorExtractDynamic 68 67
|
||||
71: 47(int) IMul 69 70
|
||||
72: 6(float) ConvertUToF 71
|
||||
73: 7(fvec4) Load 65(tv4)
|
||||
74: 7(fvec4) VectorInsertDynamic 73 72 66
|
||||
Store 65(tv4) 74
|
||||
75: 13(int) Load 59(i)
|
||||
76: 13(int) IAdd 75 32
|
||||
Store 59(i) 76
|
||||
Branch 60
|
||||
Store 60(i) 16
|
||||
Branch 61
|
||||
61: Label
|
||||
64: 13(int) Load 60(i)
|
||||
65: 24(bool) SLessThan 64 45
|
||||
LoopMerge 62 61 None
|
||||
BranchConditional 65 63 62
|
||||
63: Label
|
||||
67: 13(int) Load 60(i)
|
||||
68: 13(int) Load 60(i)
|
||||
69: 52(ptr) AccessChain 50(v4) 68
|
||||
70: 47(int) Load 69
|
||||
72: 47(int) IMul 70 71
|
||||
73: 6(float) ConvertUToF 72
|
||||
74: 37(ptr) AccessChain 66(tv4) 67
|
||||
Store 74 73
|
||||
75: 13(int) Load 60(i)
|
||||
76: 13(int) IAdd 75 32
|
||||
Store 60(i) 76
|
||||
Branch 61
|
||||
62: Label
|
||||
77: 6(float) Load 38(sum)
|
||||
78: 7(fvec4) CompositeConstruct 77 77 77 77
|
||||
79: 7(fvec4) Load 65(tv4)
|
||||
79: 7(fvec4) Load 66(tv4)
|
||||
80: 7(fvec4) FAdd 78 79
|
||||
81: 7(fvec4) Load 35(gl_FragColor)
|
||||
82: 7(fvec4) FAdd 81 80
|
||||
@@ -156,13 +154,12 @@ Linked fragment stage:
|
||||
93: 13(int) Load 89(i)
|
||||
94: 13(int) Load 22(Count)
|
||||
95: 24(bool) SLessThan 93 94
|
||||
LoopMerge 91 None
|
||||
LoopMerge 91 90 None
|
||||
BranchConditional 95 92 91
|
||||
92: Label
|
||||
98: 6(float) Load 97(f)
|
||||
99: 7(fvec4) Load 83(r)
|
||||
100: 7(fvec4) CompositeInsert 98 99 3
|
||||
Store 83(r) 100
|
||||
100: 37(ptr) AccessChain 83(r) 99
|
||||
Store 100 98
|
||||
101: 13(int) Load 89(i)
|
||||
102: 13(int) IAdd 101 32
|
||||
Store 89(i) 102
|
||||
@@ -181,7 +178,7 @@ Linked fragment stage:
|
||||
111: Label
|
||||
114: 13(int) Load 110(i)
|
||||
116: 24(bool) SLessThan 114 115
|
||||
LoopMerge 112 None
|
||||
LoopMerge 112 111 None
|
||||
BranchConditional 116 113 112
|
||||
113: Label
|
||||
117: 6(float) Load 97(f)
|
||||
|
||||
Reference in New Issue
Block a user