SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2.

This commit is contained in:
John Kessenich
2015-11-15 21:33:39 -07:00
parent 1c77f3a8d2
commit 55e7d11ce8
117 changed files with 6740 additions and 5997 deletions

View File

@@ -3,16 +3,16 @@ spv.precision.frag
Linked fragment stage:
// Module Version 99
// Generated by (magic number): 51a00bb
// Id's are bound by 110
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 112
Source ESSL 300
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main" 57 59 23 71
ExecutionMode 4 OriginLowerLeft
Source ESSL 300
Name 4 "main"
Name 12 "foo(vf3;"
Name 11 "mv3"
@@ -31,9 +31,8 @@ Linked fragment stage:
Name 63 "global_highp"
Name 67 "local_highp"
Name 71 "mediumfout"
Name 100 "ub2"
Name 101 "param"
Decorate 23(highfin) Smooth
Name 102 "ub2"
Name 103 "param"
Decorate 36(sum) RelaxedPrecision
Decorate 38(uniform_medium) RelaxedPrecision
Decorate 46(uniform_low) RelaxedPrecision
@@ -41,9 +40,7 @@ Linked fragment stage:
Decorate 53(arg2) RelaxedPrecision
Decorate 55(d) RelaxedPrecision
Decorate 57(lowfin) RelaxedPrecision
Decorate 57(lowfin) Smooth
Decorate 59(mediumfin) RelaxedPrecision
Decorate 59(mediumfin) Smooth
Decorate 71(mediumfout) RelaxedPrecision
2: TypeVoid
3: TypeFunction 2
@@ -74,16 +71,18 @@ Linked fragment stage:
56: TypePointer Input 6(float)
57(lowfin): 56(ptr) Variable Input
59(mediumfin): 56(ptr) Variable Input
62: TypePointer PrivateGlobal 6(float)
63(global_highp): 62(ptr) Variable PrivateGlobal
62: TypePointer Private 6(float)
63(global_highp): 62(ptr) Variable Private
66: TypePointer Function 21(fvec4)
70: TypePointer Output 21(fvec4)
71(mediumfout): 70(ptr) Variable Output
80: 34(int) Constant 4
82: TypeVector 34(int) 2
99: TypePointer UniformConstant 15(bvec2)
100(ub2): 99(ptr) Variable UniformConstant
107: 6(float) Constant 1065353216
90: TypeInt 32 0
91: 90(int) Constant 0
101: TypePointer UniformConstant 15(bvec2)
102(ub2): 101(ptr) Variable UniformConstant
109: 6(float) Constant 1065353216
4(main): 2 Function None 3
5: Label
36(sum): 35(ptr) Variable Function
@@ -91,7 +90,7 @@ Linked fragment stage:
53(arg2): 50(ptr) Variable Function
55(d): 50(ptr) Variable Function
67(local_highp): 66(ptr) Variable Function
101(param): 16(ptr) Variable Function
103(param): 16(ptr) Variable Function
39: 34(int) Load 38(uniform_medium)
41: 34(int) Load 40(uniform_high)
42: 34(int) IAdd 39 41
@@ -108,10 +107,10 @@ Linked fragment stage:
Store 53(arg2) 54
58: 6(float) Load 57(lowfin)
60: 6(float) Load 59(mediumfin)
61: 6(float) ExtInst 1(GLSL.std.450) 66(Distance) 58 60
61: 6(float) ExtInst 1(GLSL.std.450) 67(Distance) 58 60
Store 55(d) 61
64: 21(fvec4) Load 23(highfin)
65: 6(float) ExtInst 1(GLSL.std.450) 65(Length) 64
65: 6(float) ExtInst 1(GLSL.std.450) 66(Length) 64
Store 63(global_highp) 65
68: 6(float) Load 63(global_highp)
69: 21(fvec4) CompositeConstruct 68 68 68 68
@@ -133,29 +132,29 @@ Linked fragment stage:
87: 34(int) Load 40(uniform_high)
88: 82(ivec2) CompositeConstruct 87 87
89: 82(ivec2) IAdd 86 88
90: 34(int) CompositeExtract 89 0
91: 34(int) IAdd 80 90
92: 34(int) Load 36(sum)
93: 34(int) IAdd 92 91
Store 36(sum) 93
92: 34(int) CompositeExtract 89 0
93: 34(int) IAdd 80 92
94: 34(int) Load 36(sum)
95: 6(float) ConvertSToF 94
96: 21(fvec4) CompositeConstruct 95 95 95 95
97: 21(fvec4) Load 71(mediumfout)
98: 21(fvec4) FAdd 97 96
Store 71(mediumfout) 98
102: 15(bvec2) Load 100(ub2)
Store 101(param) 102
103: 14(bool) FunctionCall 19(boolfun(vb2;) 101(param)
SelectionMerge 105 None
BranchConditional 103 104 105
104: Label
106: 21(fvec4) Load 71(mediumfout)
108: 21(fvec4) CompositeConstruct 107 107 107 107
109: 21(fvec4) FAdd 106 108
Store 71(mediumfout) 109
Branch 105
105: Label
95: 34(int) IAdd 94 93
Store 36(sum) 95
96: 34(int) Load 36(sum)
97: 6(float) ConvertSToF 96
98: 21(fvec4) CompositeConstruct 97 97 97 97
99: 21(fvec4) Load 71(mediumfout)
100: 21(fvec4) FAdd 99 98
Store 71(mediumfout) 100
104: 15(bvec2) Load 102(ub2)
Store 103(param) 104
105: 14(bool) FunctionCall 19(boolfun(vb2;) 103(param)
SelectionMerge 107 None
BranchConditional 105 106 107
106: Label
108: 21(fvec4) Load 71(mediumfout)
110: 21(fvec4) CompositeConstruct 109 109 109 109
111: 21(fvec4) FAdd 108 110
Store 71(mediumfout) 111
Branch 107
107: Label
Return
FunctionEnd
12(foo(vf3;): 9(fvec2) Function None 10