blob: 2be71676791e3c4a0386130ba6b33d7f2e69b3fe [file] [edit]
spv.longVectorBuiltinsfp64.comp
// Module Version 10300
// Generated by (magic number): 8000b
// Id's are bound by 186
Capability Shader
Capability Float64
Capability Int64
Capability LongVectorEXT
Extension "SPV_EXT_long_vector"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint GLCompute 4 "main"
ExecutionMode 4 LocalSize 64 1 1
Source GLSL 450
SourceExtension "GL_EXT_buffer_reference"
SourceExtension "GL_EXT_expect_assume"
SourceExtension "GL_EXT_long_vector"
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
SourceExtension "GL_KHR_memory_scope_semantics"
Name 4 "main"
Name 9 "vf"
Name 32 "f"
Name 39 "tempReturn"
Name 41 "tempArg"
Name 42 "ResType"
Name 86 "vb"
Name 113 "vi"
Name 119 "vu"
Name 134 "vi32"
Name 135 "ResType"
Decorate 185 BuiltIn WorkgroupSize
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 64
7: TypeVector 6(float64_t) 5
8: TypePointer Function 7(f64vec)
31: TypePointer Function 6(float64_t)
42(ResType): TypeStruct 7(f64vec) 7(f64vec)
83: TypeBool
84: TypeVector 83(bool) 5
85: TypePointer Function 84(bvec)
110: TypeInt 64 1
111: TypeVector 110(int64_t) 5
112: TypePointer Function 111(i64vec)
116: TypeInt 64 0
117: TypeVector 116(int64_t) 5
118: TypePointer Function 117(i64vec)
131: TypeInt 32 1
132: TypeVector 131(int) 5
133: TypePointer Function 132(ivec)
135(ResType): TypeStruct 7(f64vec) 132(ivec)
181: TypeInt 32 0
182: TypeVector 181(int) 3
183: 181(int) Constant 64
184: 181(int) Constant 1
185: 182(ivec3) ConstantComposite 183 184 184
4(main): 2 Function None 3
5: Label
9(vf): 8(ptr) Variable Function
32(f): 31(ptr) Variable Function
39(tempReturn): 8(ptr) Variable Function
41(tempArg): 8(ptr) Variable Function
86(vb): 85(ptr) Variable Function
113(vi): 112(ptr) Variable Function
119(vu): 118(ptr) Variable Function
134(vi32): 133(ptr) Variable Function
10: 7(f64vec) Load 9(vf)
11: 7(f64vec) ExtInst 1(GLSL.std.450) 31(Sqrt) 10
Store 9(vf) 11
12: 7(f64vec) Load 9(vf)
13: 7(f64vec) ExtInst 1(GLSL.std.450) 32(InverseSqrt) 12
Store 9(vf) 13
14: 7(f64vec) Load 9(vf)
15: 7(f64vec) ExtInst 1(GLSL.std.450) 4(FAbs) 14
Store 9(vf) 15
16: 7(f64vec) Load 9(vf)
17: 7(f64vec) ExtInst 1(GLSL.std.450) 6(FSign) 16
Store 9(vf) 17
18: 7(f64vec) Load 9(vf)
19: 7(f64vec) ExtInst 1(GLSL.std.450) 8(Floor) 18
Store 9(vf) 19
20: 7(f64vec) Load 9(vf)
21: 7(f64vec) ExtInst 1(GLSL.std.450) 3(Trunc) 20
Store 9(vf) 21
22: 7(f64vec) Load 9(vf)
23: 7(f64vec) ExtInst 1(GLSL.std.450) 1(Round) 22
Store 9(vf) 23
24: 7(f64vec) Load 9(vf)
25: 7(f64vec) ExtInst 1(GLSL.std.450) 2(RoundEven) 24
Store 9(vf) 25
26: 7(f64vec) Load 9(vf)
27: 7(f64vec) ExtInst 1(GLSL.std.450) 9(Ceil) 26
Store 9(vf) 27
28: 7(f64vec) Load 9(vf)
29: 7(f64vec) ExtInst 1(GLSL.std.450) 10(Fract) 28
Store 9(vf) 29
30: 7(f64vec) Load 9(vf)
33:6(float64_t) Load 32(f)
34: 7(f64vec) CompositeConstruct 33 33 33 33 33
35: 7(f64vec) FMod 30 34
Store 9(vf) 35
36: 7(f64vec) Load 9(vf)
37: 7(f64vec) Load 9(vf)
38: 7(f64vec) FMod 36 37
Store 9(vf) 38
40: 7(f64vec) Load 9(vf)
43: 42(ResType) ExtInst 1(GLSL.std.450) 36(ModfStruct) 40
44: 7(f64vec) CompositeExtract 43 1
Store 41(tempArg) 44
45: 7(f64vec) CompositeExtract 43 0
Store 39(tempReturn) 45
46: 7(f64vec) Load 41(tempArg)
Store 9(vf) 46
47: 7(f64vec) Load 39(tempReturn)
Store 9(vf) 47
48: 7(f64vec) Load 9(vf)
49:6(float64_t) Load 32(f)
50: 7(f64vec) CompositeConstruct 49 49 49 49 49
51: 7(f64vec) ExtInst 1(GLSL.std.450) 37(FMin) 48 50
Store 9(vf) 51
52: 7(f64vec) Load 9(vf)
53: 7(f64vec) Load 9(vf)
54: 7(f64vec) ExtInst 1(GLSL.std.450) 37(FMin) 52 53
Store 9(vf) 54
55: 7(f64vec) Load 9(vf)
56:6(float64_t) Load 32(f)
57: 7(f64vec) CompositeConstruct 56 56 56 56 56
58: 7(f64vec) ExtInst 1(GLSL.std.450) 40(FMax) 55 57
Store 9(vf) 58
59: 7(f64vec) Load 9(vf)
60: 7(f64vec) Load 9(vf)
61: 7(f64vec) ExtInst 1(GLSL.std.450) 40(FMax) 59 60
Store 9(vf) 61
62: 7(f64vec) Load 9(vf)
63:6(float64_t) Load 32(f)
64:6(float64_t) Load 32(f)
65: 7(f64vec) CompositeConstruct 63 63 63 63 63
66: 7(f64vec) CompositeConstruct 64 64 64 64 64
67: 7(f64vec) ExtInst 1(GLSL.std.450) 43(FClamp) 62 65 66
Store 9(vf) 67
68: 7(f64vec) Load 9(vf)
69: 7(f64vec) Load 9(vf)
70: 7(f64vec) Load 9(vf)
71: 7(f64vec) ExtInst 1(GLSL.std.450) 43(FClamp) 68 69 70
Store 9(vf) 71
72: 7(f64vec) Load 9(vf)
73: 7(f64vec) Load 9(vf)
74:6(float64_t) Load 32(f)
75: 7(f64vec) CompositeConstruct 74 74 74 74 74
76: 7(f64vec) ExtInst 1(GLSL.std.450) 46(FMix) 72 73 75
Store 9(vf) 76
77: 7(f64vec) Load 9(vf)
78: 7(f64vec) Load 9(vf)
79: 7(f64vec) Load 9(vf)
80: 7(f64vec) ExtInst 1(GLSL.std.450) 46(FMix) 77 78 79
Store 9(vf) 80
81: 7(f64vec) Load 9(vf)
82: 7(f64vec) Load 9(vf)
87: 84(bvec) Load 86(vb)
88: 7(f64vec) Select 87 82 81
Store 9(vf) 88
89: 7(f64vec) Load 9(vf)
90: 7(f64vec) Load 9(vf)
91: 7(f64vec) ExtInst 1(GLSL.std.450) 48(Step) 89 90
Store 9(vf) 91
92:6(float64_t) Load 32(f)
93: 7(f64vec) Load 9(vf)
94: 7(f64vec) CompositeConstruct 92 92 92 92 92
95: 7(f64vec) ExtInst 1(GLSL.std.450) 48(Step) 94 93
Store 9(vf) 95
96: 7(f64vec) Load 9(vf)
97: 7(f64vec) Load 9(vf)
98: 7(f64vec) Load 9(vf)
99: 7(f64vec) ExtInst 1(GLSL.std.450) 49(SmoothStep) 96 97 98
Store 9(vf) 99
100:6(float64_t) Load 32(f)
101:6(float64_t) Load 32(f)
102: 7(f64vec) Load 9(vf)
103: 7(f64vec) CompositeConstruct 100 100 100 100 100
104: 7(f64vec) CompositeConstruct 101 101 101 101 101
105: 7(f64vec) ExtInst 1(GLSL.std.450) 49(SmoothStep) 103 104 102
Store 9(vf) 105
106: 7(f64vec) Load 9(vf)
107: 84(bvec) IsNan 106
Store 86(vb) 107
108: 7(f64vec) Load 9(vf)
109: 84(bvec) IsInf 108
Store 86(vb) 109
114: 7(f64vec) Load 9(vf)
115: 111(i64vec) Bitcast 114
Store 113(vi) 115
120: 7(f64vec) Load 9(vf)
121: 117(i64vec) Bitcast 120
Store 119(vu) 121
122: 111(i64vec) Load 113(vi)
123: 7(f64vec) Bitcast 122
Store 9(vf) 123
124: 117(i64vec) Load 119(vu)
125: 7(f64vec) Bitcast 124
Store 9(vf) 125
126: 7(f64vec) Load 9(vf)
127: 7(f64vec) Load 9(vf)
128: 7(f64vec) Load 9(vf)
129: 7(f64vec) ExtInst 1(GLSL.std.450) 50(Fma) 126 127 128
Store 9(vf) 129
130: 7(f64vec) Load 9(vf)
136:135(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 130
137: 132(ivec) CompositeExtract 136 1
Store 134(vi32) 137
138: 7(f64vec) CompositeExtract 136 0
Store 9(vf) 138
139: 7(f64vec) Load 9(vf)
140: 132(ivec) Load 134(vi32)
141: 7(f64vec) ExtInst 1(GLSL.std.450) 53(Ldexp) 139 140
Store 9(vf) 141
142: 7(f64vec) Load 9(vf)
143:6(float64_t) ExtInst 1(GLSL.std.450) 66(Length) 142
Store 32(f) 143
144: 7(f64vec) Load 9(vf)
145: 7(f64vec) Load 9(vf)
146:6(float64_t) ExtInst 1(GLSL.std.450) 67(Distance) 144 145
Store 32(f) 146
147: 7(f64vec) Load 9(vf)
148: 7(f64vec) Load 9(vf)
149:6(float64_t) Dot 147 148
Store 32(f) 149
150: 7(f64vec) Load 9(vf)
151: 7(f64vec) ExtInst 1(GLSL.std.450) 69(Normalize) 150
Store 9(vf) 151
152: 7(f64vec) Load 9(vf)
153: 7(f64vec) Load 9(vf)
154: 7(f64vec) Load 9(vf)
155: 7(f64vec) ExtInst 1(GLSL.std.450) 70(FaceForward) 152 153 154
Store 9(vf) 155
156: 7(f64vec) Load 9(vf)
157: 7(f64vec) Load 9(vf)
158: 7(f64vec) ExtInst 1(GLSL.std.450) 71(Reflect) 156 157
Store 9(vf) 158
159: 7(f64vec) Load 9(vf)
160: 7(f64vec) Load 9(vf)
161:6(float64_t) Load 32(f)
162: 7(f64vec) ExtInst 1(GLSL.std.450) 72(Refract) 159 160 161
Store 9(vf) 162
163: 7(f64vec) Load 9(vf)
164: 7(f64vec) Load 9(vf)
165: 84(bvec) FOrdLessThan 163 164
Store 86(vb) 165
166: 7(f64vec) Load 9(vf)
167: 7(f64vec) Load 9(vf)
168: 84(bvec) FOrdLessThanEqual 166 167
Store 86(vb) 168
169: 7(f64vec) Load 9(vf)
170: 7(f64vec) Load 9(vf)
171: 84(bvec) FOrdGreaterThan 169 170
Store 86(vb) 171
172: 7(f64vec) Load 9(vf)
173: 7(f64vec) Load 9(vf)
174: 84(bvec) FOrdGreaterThanEqual 172 173
Store 86(vb) 174
175: 7(f64vec) Load 9(vf)
176: 7(f64vec) Load 9(vf)
177: 84(bvec) FOrdEqual 175 176
Store 86(vb) 177
178: 7(f64vec) Load 9(vf)
179: 7(f64vec) Load 9(vf)
180: 84(bvec) FUnordNotEqual 178 179
Store 86(vb) 180
Return
FunctionEnd