Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
1790a40c
Commit
1790a40c
authored
Feb 22, 2018
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SPV: Add missing break statements in type declarations.
This means the previously emitted code was incorrect.
parent
d481e071
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
3414 additions
and
3391 deletions
+3414
-3391
GlslangToSpv.cpp
SPIRV/GlslangToSpv.cpp
+2
-0
SPVRemapper.h
SPIRV/SPVRemapper.h
+1
-0
spv.float32.frag.out
Test/baseResults/spv.float32.frag.out
+482
-480
spv.float64.frag.out
Test/baseResults/spv.float64.frag.out
+484
-482
spv.int16.amd.frag.out
Test/baseResults/spv.int16.amd.frag.out
+645
-643
spv.int16.frag.out
Test/baseResults/spv.int16.frag.out
+628
-623
spv.int32.frag.out
Test/baseResults/spv.int32.frag.out
+511
-507
spv.int8.frag.out
Test/baseResults/spv.int8.frag.out
+661
-656
No files found.
SPIRV/GlslangToSpv.cpp
View file @
1790a40c
...
...
@@ -2471,6 +2471,7 @@ spv::Id TGlslangToSpvTraverser::convertGlslangToSpvType(const glslang::TType& ty
case
glslang
:
:
EbtUint8
:
builder
.
addCapability
(
spv
::
CapabilityInt8
);
spvType
=
builder
.
makeUintType
(
8
);
break
;
case
glslang
:
:
EbtInt16
:
builder
.
addCapability
(
spv
::
CapabilityInt16
);
#ifdef AMD_EXTENSIONS
...
...
@@ -2484,6 +2485,7 @@ spv::Id TGlslangToSpvTraverser::convertGlslangToSpvType(const glslang::TType& ty
builder
.
addExtension
(
spv
::
E_SPV_AMD_gpu_shader_int16
);
#endif
spvType
=
builder
.
makeUintType
(
16
);
break
;
case
glslang
:
:
EbtInt
:
spvType
=
builder
.
makeIntType
(
32
);
break
;
...
...
SPIRV/SPVRemapper.h
View file @
1790a40c
...
...
@@ -179,6 +179,7 @@ private:
range_t
constRange
(
spv
::
Op
opCode
)
const
;
unsigned
typeSizeInWords
(
spv
::
Id
id
)
const
;
unsigned
idTypeSizeInWords
(
spv
::
Id
id
)
const
;
spv
::
Id
&
asId
(
unsigned
word
)
{
return
spv
[
word
];
}
const
spv
::
Id
&
asId
(
unsigned
word
)
const
{
return
spv
[
word
];
}
spv
::
Op
asOpCode
(
unsigned
word
)
const
{
return
opOpCode
(
spv
[
word
]);
}
...
...
Test/baseResults/spv.float32.frag.out
View file @
1790a40c
spv.float32.frag
// Module Version 10000
// Generated by (magic number): 80004
// Id's are bound by 5
28
// Id's are bound by 5
30
Capability Shader
Capability Float16
...
...
@@ -15,7 +15,7 @@ spv.float32.frag
Extension "SPV_AMD_gpu_shader_int16"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 46
6
EntryPoint Fragment 4 "main" 46
8
ExecutionMode 4 OriginUpperLeft
Source GLSL 450
SourceExtension "GL_KHX_shader_explicit_arithmetic_types"
...
...
@@ -51,80 +51,80 @@ spv.float32.frag
Name 195 "i32v"
Name 201 "i64v"
Name 204 "u8v"
Name 208 "u16v"
Name 213 "u32v"
Name 219 "u64v"
Name 224 "f32v2"
Name 225 "f32v1"
Name 257 "f32v2"
Name 258 "f32v1"
Name 274 "f32v2"
Name 275 "f32v1"
Name 296 "f32"
Name 300 "f32v3"
Name 340 "bv"
Name 361 "b"
Name 371 "iv"
Name 372 "ResType"
Name 379 "f32"
Name 380 "f32v1"
Name 384 "f32v2"
Name 390 "f32v3"
Name 409 "f32m3"
Name 410 "f32m1"
Name 412 "f32m2"
Name 421 "f32v1"
Name 423 "f32v2"
Name 428 "f32m4"
Name 431 "f32"
Name 434 "f32m5"
Name 439 "f32m6"
Name 440 "f32m7"
Name 443 "bv"
Name 444 "f32v1"
Name 446 "f32v2"
Name 464 "f32v"
Name 466 "if32v"
Name 515 "S"
MemberName 515(S) 0 "x"
MemberName 515(S) 1 "y"
MemberName 515(S) 2 "z"
Name 517 "B1"
MemberName 517(B1) 0 "a"
MemberName 517(B1) 1 "b"
MemberName 517(B1) 2 "c"
MemberName 517(B1) 3 "d"
MemberName 517(B1) 4 "e"
MemberName 517(B1) 5 "f"
MemberName 517(B1) 6 "g"
MemberName 517(B1) 7 "h"
Name 519 ""
Name 520 "sf16"
Name 521 "sf"
Name 522 "sd"
Decorate 513 ArrayStride 16
Decorate 514 ArrayStride 32
MemberDecorate 515(S) 0 Offset 0
MemberDecorate 515(S) 1 Offset 8
MemberDecorate 515(S) 2 Offset 16
Name 210 "u16v"
Name 215 "u32v"
Name 221 "u64v"
Name 226 "f32v2"
Name 227 "f32v1"
Name 259 "f32v2"
Name 260 "f32v1"
Name 276 "f32v2"
Name 277 "f32v1"
Name 298 "f32"
Name 302 "f32v3"
Name 342 "bv"
Name 363 "b"
Name 373 "iv"
Name 374 "ResType"
Name 381 "f32"
Name 382 "f32v1"
Name 386 "f32v2"
Name 392 "f32v3"
Name 411 "f32m3"
Name 412 "f32m1"
Name 414 "f32m2"
Name 423 "f32v1"
Name 425 "f32v2"
Name 430 "f32m4"
Name 433 "f32"
Name 436 "f32m5"
Name 441 "f32m6"
Name 442 "f32m7"
Name 445 "bv"
Name 446 "f32v1"
Name 448 "f32v2"
Name 466 "f32v"
Name 468 "if32v"
Name 517 "S"
MemberName 517(S) 0 "x"
MemberName 517(S) 1 "y"
MemberName 517(S) 2 "z"
Name 519 "B1"
MemberName 519(B1) 0 "a"
MemberName 519(B1) 1 "b"
MemberName 519(B1) 2 "c"
MemberName 519(B1) 3 "d"
MemberName 519(B1) 4 "e"
MemberName 519(B1) 5 "f"
MemberName 519(B1) 6 "g"
MemberName 519(B1) 7 "h"
Name 521 ""
Name 522 "sf16"
Name 523 "sf"
Name 524 "sd"
Decorate 515 ArrayStride 16
Decorate 516 ArrayStride 32
MemberDecorate 517(B1) 0 Offset 0
MemberDecorate 517(B1) 1 Offset 8
MemberDecorate 517(B1) 2 Offset 16
MemberDecorate 517(B1) 3 Offset 32
MemberDecorate 517(B1) 4 ColMajor
MemberDecorate 517(B1) 4 Offset 64
MemberDecorate 517(B1) 4 MatrixStride 16
MemberDecorate 517(B1) 5 ColMajor
MemberDecorate 517(B1) 5 Offset 96
MemberDecorate 517(B1) 5 MatrixStride 16
MemberDecorate 517(B1) 6 Offset 160
MemberDecorate 517(B1) 7 Offset 192
Decorate 517(B1) Block
Decorate 519 DescriptorSet 0
Decorate 520(sf16) SpecId 100
Decorate 521(sf) SpecId 101
Decorate 522(sd) SpecId 102
MemberDecorate 517(S) 0 Offset 0
MemberDecorate 517(S) 1 Offset 8
MemberDecorate 517(S) 2 Offset 16
Decorate 518 ArrayStride 32
MemberDecorate 519(B1) 0 Offset 0
MemberDecorate 519(B1) 1 Offset 8
MemberDecorate 519(B1) 2 Offset 16
MemberDecorate 519(B1) 3 Offset 32
MemberDecorate 519(B1) 4 ColMajor
MemberDecorate 519(B1) 4 Offset 64
MemberDecorate 519(B1) 4 MatrixStride 16
MemberDecorate 519(B1) 5 ColMajor
MemberDecorate 519(B1) 5 Offset 96
MemberDecorate 519(B1) 5 MatrixStride 16
MemberDecorate 519(B1) 6 Offset 160
MemberDecorate 519(B1) 7 Offset 192
Decorate 519(B1) Block
Decorate 521 DescriptorSet 0
Decorate 522(sf16) SpecId 100
Decorate 523(sf) SpecId 101
Decorate 524(sd) SpecId 102
2: TypeVoid
3: TypeFunction 2
26: TypeFloat 32
...
...
@@ -169,44 +169,46 @@ spv.float32.frag
199: TypeVector 198(int) 3
200: TypePointer Function 199(ivec3)
207: TypeInt 16 0
211: TypeVector 31(int) 3
212: TypePointer Function 211(ivec3)
216: TypeInt 64 0
217: TypeVector 216(int) 3
218: TypePointer Function 217(ivec3)
222: TypeVector 26(float) 4
223: TypePointer Function 222(fvec4)
372(ResType): TypeStruct 153(fvec3) 193(ivec3)
407: TypeMatrix 153(fvec3) 2
408: TypePointer Function 407
426: TypeMatrix 27(fvec2) 3
427: TypePointer Function 426
432: TypeMatrix 153(fvec3) 3
433: TypePointer Function 432
437: TypeMatrix 222(fvec4) 4
438: TypePointer Function 437
465: TypePointer Input 153(fvec3)
466(if32v): 465(ptr) Variable Input
467: TypePointer Input 26(float)
504: 192(int) Constant 1
509: 26(float) Constant 1056964608
510: 27(fvec2) ConstantComposite 509 509
512: 31(int) Constant 2
513: TypeArray 26(float) 512
514: TypeArray 407 512
515(S): TypeStruct 26(float) 27(fvec2) 153(fvec3)
516: TypeArray 515(S) 512
517(B1): TypeStruct 26(float) 27(fvec2) 153(fvec3) 513 407 514 515(S) 516
518: TypePointer Uniform 517(B1)
519: 518(ptr) Variable Uniform
520(sf16): 172(float) SpecConstant 12288
521(sf): 26(float) SpecConstant 1048576000
522(sd): 149(float) SpecConstant 0 1071644672
523: 26(float) SpecConstantOp 115 520(sf16)
524: 26(float) SpecConstantOp 115 520(sf16)
525: 149(float) SpecConstantOp 115 524
526: 172(float) SpecConstantOp 115 521(sf)
527: 172(float) SpecConstantOp 115 522(sd)
208: TypeVector 207(int) 3
209: TypePointer Function 208(ivec3)
213: TypeVector 31(int) 3
214: TypePointer Function 213(ivec3)
218: TypeInt 64 0
219: TypeVector 218(int) 3
220: TypePointer Function 219(ivec3)
224: TypeVector 26(float) 4
225: TypePointer Function 224(fvec4)
374(ResType): TypeStruct 153(fvec3) 193(ivec3)
409: TypeMatrix 153(fvec3) 2
410: TypePointer Function 409
428: TypeMatrix 27(fvec2) 3
429: TypePointer Function 428
434: TypeMatrix 153(fvec3) 3
435: TypePointer Function 434
439: TypeMatrix 224(fvec4) 4
440: TypePointer Function 439
467: TypePointer Input 153(fvec3)
468(if32v): 467(ptr) Variable Input
469: TypePointer Input 26(float)
506: 192(int) Constant 1
511: 26(float) Constant 1056964608
512: 27(fvec2) ConstantComposite 511 511
514: 31(int) Constant 2
515: TypeArray 26(float) 514
516: TypeArray 409 514
517(S): TypeStruct 26(float) 27(fvec2) 153(fvec3)
518: TypeArray 517(S) 514
519(B1): TypeStruct 26(float) 27(fvec2) 153(fvec3) 515 409 516 517(S) 518
520: TypePointer Uniform 519(B1)
521: 520(ptr) Variable Uniform
522(sf16): 172(float) SpecConstant 12288
523(sf): 26(float) SpecConstant 1048576000
524(sd): 149(float) SpecConstant 0 1071644672
525: 26(float) SpecConstantOp 115 522(sf16)
526: 26(float) SpecConstantOp 115 522(sf16)
527: 149(float) SpecConstantOp 115 526
528: 172(float) SpecConstantOp 115 523(sf)
529: 172(float) SpecConstantOp 115 524(sd)
4(main): 2 Function None 3
5: Label
Return
...
...
@@ -364,9 +366,9 @@ spv.float32.frag
195(i32v): 194(ptr) Variable Function
201(i64v): 200(ptr) Variable Function
204(u8v): 182(ptr) Variable Function
2
08(u16v): 194
(ptr) Variable Function
21
3(u32v): 212
(ptr) Variable Function
2
19(u64v): 218
(ptr) Variable Function
2
10(u16v): 209
(ptr) Variable Function
21
5(u32v): 214
(ptr) Variable Function
2
21(u64v): 220
(ptr) Variable Function
156: 153(fvec3) Load 155(f32v)
157: 150(fvec3) FConvert 156
Store 152(f64v) 157
...
...
@@ -403,398 +405,398 @@ spv.float32.frag
205: 153(fvec3) Load 155(f32v)
206: 181(ivec3) ConvertFToS 205
Store 204(u8v) 206
2
09
: 153(fvec3) Load 155(f32v)
21
0: 193(ivec3) ConvertFToU 209
Store 2
08(u16v) 210
21
4
: 153(fvec3) Load 155(f32v)
21
5: 211(ivec3) ConvertFToU 214
Store 21
3(u32v) 215
22
0
: 153(fvec3) Load 155(f32v)
22
1: 217(ivec3) ConvertFToU 220
Store 2
19(u64v) 221
2
11
: 153(fvec3) Load 155(f32v)
21
2: 208(ivec3) ConvertFToU 211
Store 2
10(u16v) 212
21
6
: 153(fvec3) Load 155(f32v)
21
7: 213(ivec3) ConvertFToU 216
Store 21
5(u32v) 217
22
2
: 153(fvec3) Load 155(f32v)
22
3: 219(ivec3) ConvertFToU 222
Store 2
21(u64v) 223
Return
FunctionEnd
12(builtinAngleTrigFuncs(): 2 Function None 3
13: Label
22
4(f32v2): 223
(ptr) Variable Function
22
5(f32v1): 223
(ptr) Variable Function
22
6: 222(fvec4) Load 225
(f32v1)
22
7: 222(fvec4) ExtInst 1(GLSL.std.450) 11(Radians) 226
Store 22
4(f32v2) 227
2
28: 222(fvec4) Load 225
(f32v1)
2
29: 222(fvec4) ExtInst 1(GLSL.std.450) 12(Degrees) 228
Store 22
4(f32v2) 229
23
0: 222(fvec4) Load 225
(f32v1)
23
1: 222(fvec4) ExtInst 1(GLSL.std.450) 13(Sin) 230
Store 22
4(f32v2) 231
23
2: 222(fvec4) Load 225
(f32v1)
23
3: 222(fvec4) ExtInst 1(GLSL.std.450) 14(Cos) 232
Store 22
4(f32v2) 233
23
4: 222(fvec4) Load 225
(f32v1)
23
5: 222(fvec4) ExtInst 1(GLSL.std.450) 15(Tan) 234
Store 22
4(f32v2) 235
23
6: 222(fvec4) Load 225
(f32v1)
23
7: 222(fvec4) ExtInst 1(GLSL.std.450) 16(Asin) 236
Store 22
4(f32v2) 237
2
38: 222(fvec4) Load 225
(f32v1)
2
39: 222(fvec4) ExtInst 1(GLSL.std.450) 17(Acos) 238
Store 22
4(f32v2) 239
24
0: 222(fvec4) Load 225
(f32v1)
24
1: 222(fvec4) Load 224
(f32v2)
24
2: 222(fvec4) ExtInst 1(GLSL.std.450) 25(Atan2) 240 241
Store 22
4(f32v2) 242
24
3: 222(fvec4) Load 225
(f32v1)
24
4: 222(fvec4) ExtInst 1(GLSL.std.450) 18(Atan) 243
Store 22
4(f32v2) 244
24
5: 222(fvec4) Load 225
(f32v1)
24
6: 222(fvec4) ExtInst 1(GLSL.std.450) 19(Sinh) 245
Store 22
4(f32v2) 246
24
7: 222(fvec4) Load 225
(f32v1)
2
48: 222(fvec4) ExtInst 1(GLSL.std.450) 20(Cosh) 247
Store 22
4(f32v2) 248
2
49: 222(fvec4) Load 225
(f32v1)
25
0: 222(fvec4) ExtInst 1(GLSL.std.450) 21(Tanh) 249
Store 22
4(f32v2) 250
25
1: 222(fvec4) Load 225
(f32v1)
25
2: 222(fvec4) ExtInst 1(GLSL.std.450) 22(Asinh) 251
Store 22
4(f32v2) 252
25
3: 222(fvec4) Load 225
(f32v1)
25
4: 222(fvec4) ExtInst 1(GLSL.std.450) 23(Acosh) 253
Store 22
4(f32v2) 254
25
5: 222(fvec4) Load 225
(f32v1)
25
6: 222(fvec4) ExtInst 1(GLSL.std.450) 24(Atanh) 255
Store 22
4(f32v2) 256
22
6(f32v2): 225
(ptr) Variable Function
22
7(f32v1): 225
(ptr) Variable Function
22
8: 224(fvec4) Load 227
(f32v1)
22
9: 224(fvec4) ExtInst 1(GLSL.std.450) 11(Radians) 228
Store 22
6(f32v2) 229
2
30: 224(fvec4) Load 227
(f32v1)
2
31: 224(fvec4) ExtInst 1(GLSL.std.450) 12(Degrees) 230
Store 22
6(f32v2) 231
23
2: 224(fvec4) Load 227
(f32v1)
23
3: 224(fvec4) ExtInst 1(GLSL.std.450) 13(Sin) 232
Store 22
6(f32v2) 233
23
4: 224(fvec4) Load 227
(f32v1)
23
5: 224(fvec4) ExtInst 1(GLSL.std.450) 14(Cos) 234
Store 22
6(f32v2) 235
23
6: 224(fvec4) Load 227
(f32v1)
23
7: 224(fvec4) ExtInst 1(GLSL.std.450) 15(Tan) 236
Store 22
6(f32v2) 237
23
8: 224(fvec4) Load 227
(f32v1)
23
9: 224(fvec4) ExtInst 1(GLSL.std.450) 16(Asin) 238
Store 22
6(f32v2) 239
2
40: 224(fvec4) Load 227
(f32v1)
2
41: 224(fvec4) ExtInst 1(GLSL.std.450) 17(Acos) 240
Store 22
6(f32v2) 241
24
2: 224(fvec4) Load 227
(f32v1)
24
3: 224(fvec4) Load 226
(f32v2)
24
4: 224(fvec4) ExtInst 1(GLSL.std.450) 25(Atan2) 242 243
Store 22
6(f32v2) 244
24
5: 224(fvec4) Load 227
(f32v1)
24
6: 224(fvec4) ExtInst 1(GLSL.std.450) 18(Atan) 245
Store 22
6(f32v2) 246
24
7: 224(fvec4) Load 227
(f32v1)
24
8: 224(fvec4) ExtInst 1(GLSL.std.450) 19(Sinh) 247
Store 22
6(f32v2) 248
24
9: 224(fvec4) Load 227
(f32v1)
2
50: 224(fvec4) ExtInst 1(GLSL.std.450) 20(Cosh) 249
Store 22
6(f32v2) 250
2
51: 224(fvec4) Load 227
(f32v1)
25
2: 224(fvec4) ExtInst 1(GLSL.std.450) 21(Tanh) 251
Store 22
6(f32v2) 252
25
3: 224(fvec4) Load 227
(f32v1)
25
4: 224(fvec4) ExtInst 1(GLSL.std.450) 22(Asinh) 253
Store 22
6(f32v2) 254
25
5: 224(fvec4) Load 227
(f32v1)
25
6: 224(fvec4) ExtInst 1(GLSL.std.450) 23(Acosh) 255
Store 22
6(f32v2) 256
25
7: 224(fvec4) Load 227
(f32v1)
25
8: 224(fvec4) ExtInst 1(GLSL.std.450) 24(Atanh) 257
Store 22
6(f32v2) 258
Return
FunctionEnd
14(builtinExpFuncs(): 2 Function None 3
15: Label
25
7
(f32v2): 28(ptr) Variable Function
2
58
(f32v1): 28(ptr) Variable Function
2
59: 27(fvec2) Load 258
(f32v1)
26
0: 27(fvec2) Load 257
(f32v2)
26
1: 27(fvec2) ExtInst 1(GLSL.std.450) 26(Pow) 259 260
Store 25
7(f32v2) 261
26
2: 27(fvec2) Load 258
(f32v1)
26
3: 27(fvec2) ExtInst 1(GLSL.std.450) 27(Exp) 262
Store 25
7(f32v2) 263
26
4: 27(fvec2) Load 258
(f32v1)
26
5: 27(fvec2) ExtInst 1(GLSL.std.450) 28(Log) 264
Store 25
7(f32v2) 265
26
6: 27(fvec2) Load 258
(f32v1)
26
7: 27(fvec2) ExtInst 1(GLSL.std.450) 29(Exp2) 266
Store 25
7(f32v2) 267
2
68: 27(fvec2) Load 258
(f32v1)
2
69: 27(fvec2) ExtInst 1(GLSL.std.450) 30(Log2) 268
Store 25
7(f32v2) 269
27
0: 27(fvec2) Load 258
(f32v1)
27
1: 27(fvec2) ExtInst 1(GLSL.std.450) 31(Sqrt) 270
Store 25
7(f32v2) 271
27
2: 27(fvec2) Load 258
(f32v1)
27
3: 27(fvec2) ExtInst 1(GLSL.std.450) 32(InverseSqrt) 272
Store 25
7(f32v2) 273
25
9
(f32v2): 28(ptr) Variable Function
2
60
(f32v1): 28(ptr) Variable Function
2
61: 27(fvec2) Load 260
(f32v1)
26
2: 27(fvec2) Load 259
(f32v2)
26
3: 27(fvec2) ExtInst 1(GLSL.std.450) 26(Pow) 261 262
Store 25
9(f32v2) 263
26
4: 27(fvec2) Load 260
(f32v1)
26
5: 27(fvec2) ExtInst 1(GLSL.std.450) 27(Exp) 264
Store 25
9(f32v2) 265
26
6: 27(fvec2) Load 260
(f32v1)
26
7: 27(fvec2) ExtInst 1(GLSL.std.450) 28(Log) 266
Store 25
9(f32v2) 267
26
8: 27(fvec2) Load 260
(f32v1)
26
9: 27(fvec2) ExtInst 1(GLSL.std.450) 29(Exp2) 268
Store 25
9(f32v2) 269
2
70: 27(fvec2) Load 260
(f32v1)
2
71: 27(fvec2) ExtInst 1(GLSL.std.450) 30(Log2) 270
Store 25
9(f32v2) 271
27
2: 27(fvec2) Load 260
(f32v1)
27
3: 27(fvec2) ExtInst 1(GLSL.std.450) 31(Sqrt) 272
Store 25
9(f32v2) 273
27
4: 27(fvec2) Load 260
(f32v1)
27
5: 27(fvec2) ExtInst 1(GLSL.std.450) 32(InverseSqrt) 274
Store 25
9(f32v2) 275
Return
FunctionEnd
16(builtinCommonFuncs(): 2 Function None 3
17: Label
27
4
(f32v2): 154(ptr) Variable Function
27
5
(f32v1): 154(ptr) Variable Function
29
6
(f32): 33(ptr) Variable Function
30
0
(f32v3): 154(ptr) Variable Function
34
0
(bv): 159(ptr) Variable Function
36
1
(b): 108(ptr) Variable Function
37
1
(iv): 194(ptr) Variable Function
27
6: 153(fvec3) Load 275
(f32v1)
27
7: 153(fvec3) ExtInst 1(GLSL.std.450) 4(FAbs) 276
Store 27
4(f32v2) 277
2
78: 153(fvec3) Load 275
(f32v1)
2
79: 153(fvec3) ExtInst 1(GLSL.std.450) 6(FSign) 278
Store 27
4(f32v2) 279
28
0: 153(fvec3) Load 275
(f32v1)
28
1: 153(fvec3) ExtInst 1(GLSL.std.450) 8(Floor) 280
Store 27
4(f32v2) 281
28
2: 153(fvec3) Load 275
(f32v1)
28
3: 153(fvec3) ExtInst 1(GLSL.std.450) 3(Trunc) 282
Store 27
4(f32v2) 283
28
4: 153(fvec3) Load 275
(f32v1)
28
5: 153(fvec3) ExtInst 1(GLSL.std.450) 1(Round) 284
Store 27
4(f32v2) 285
28
6: 153(fvec3) Load 275
(f32v1)
28
7: 153(fvec3) ExtInst 1(GLSL.std.450) 2(RoundEven) 286
Store 27
4(f32v2) 287
2
88: 153(fvec3) Load 275
(f32v1)
2
89: 153(fvec3) ExtInst 1(GLSL.std.450) 9(Ceil) 288
Store 27
4(f32v2) 289
29
0: 153(fvec3) Load 275
(f32v1)
29
1: 153(fvec3) ExtInst 1(GLSL.std.450) 10(Fract) 290
Store 27
4(f32v2) 291
29
2: 153(fvec3) Load 275
(f32v1)
29
3: 153(fvec3) Load 274
(f32v2)
29
4: 153(fvec3) FMod 292 293
Store 27
4(f32v2) 294
29
5: 153(fvec3) Load 275
(f32v1)
29
7: 26(float) Load 296
(f32)
298: 153(fvec3) CompositeConstruct 297 297 297
299: 153(fvec3) FMod 295 298
Store 27
4(f32v2) 299
30
1: 153(fvec3) Load 275
(f32v1)
30
2: 153(fvec3) ExtInst 1(GLSL.std.450) 35(Modf) 301 274
(f32v2)
Store 30
0(f32v3) 302
30
3: 153(fvec3) Load 275
(f32v1)
30
4: 153(fvec3) Load 274
(f32v2)
30
5: 153(fvec3) ExtInst 1(GLSL.std.450) 37(FMin) 303 304
Store 30
0(f32v3) 305
30
6: 153(fvec3) Load 275
(f32v1)
30
7: 26(float) Load 296
(f32)
3
08: 153(fvec3) CompositeConstruct 307 307 307
3
09: 153(fvec3) ExtInst 1(GLSL.std.450) 37(FMin) 306 308
Store 30
0(f32v3) 309
31
0: 153(fvec3) Load 275
(f32v1)
31
1: 153(fvec3) Load 274
(f32v2)
31
2: 153(fvec3) ExtInst 1(GLSL.std.450) 40(FMax) 310 311
Store 30
0(f32v3) 312
31
3: 153(fvec3) Load 275
(f32v1)
31
4: 26(float) Load 296
(f32)
31
5: 153(fvec3) CompositeConstruct 314 314 314
31
6: 153(fvec3) ExtInst 1(GLSL.std.450) 40(FMax) 313 315
Store 30
0(f32v3) 316
31
7: 153(fvec3) Load 275
(f32v1)
3
18: 26(float) Load 296
(f32)
3
19: 33(ptr) AccessChain 274
(f32v2) 32
32
0: 26(float) Load 319
32
1: 153(fvec3) CompositeConstruct 318 318 318
32
2: 153(fvec3) CompositeConstruct 320 320 320
32
3: 153(fvec3) ExtInst 1(GLSL.std.450) 43(FClamp) 317 321 322
Store 30
0(f32v3) 323
32
4: 153(fvec3) Load 275
(f32v1)
32
5: 153(fvec3) Load 274
(f32v2)
32
6: 26(float) Load 296
(f32)
32
7: 153(fvec3) CompositeConstruct 326 326 326
3
28: 153(fvec3) ExtInst 1(GLSL.std.450) 43(FClamp) 324 325 327
Store 30
0(f32v3) 328
3
29: 153(fvec3) Load 275
(f32v1)
33
0: 153(fvec3) Load 274
(f32v2)
33
1: 26(float) Load 296
(f32)
33
2: 153(fvec3) CompositeConstruct 331 331 331
33
3: 153(fvec3) ExtInst 1(GLSL.std.450) 46(FMix) 329 330 332
Store 30
0(f32v3) 333
33
4: 153(fvec3) Load 275
(f32v1)
33
5: 153(fvec3) Load 274
(f32v2)
33
6: 153(fvec3) Load 300
(f32v3)
33
7: 153(fvec3) ExtInst 1(GLSL.std.450) 46(FMix) 334 335 336
Store 30
0(f32v3) 337
3
38: 153(fvec3) Load 275
(f32v1)
3
39: 153(fvec3) Load 274
(f32v2)
34
1: 158(bvec3) Load 340
(bv)
34
2: 153(fvec3) Select 341 339 338
Store 30
0(f32v3) 342
34
3: 153(fvec3) Load 275
(f32v1)
34
4: 153(fvec3) Load 274
(f32v2)
34
5: 153(fvec3) ExtInst 1(GLSL.std.450) 48(Step) 343 344
Store 30
0(f32v3) 345
34
6: 26(float) Load 296
(f32)
34
7: 153(fvec3) Load 300
(f32v3)
3
48: 153(fvec3) CompositeConstruct 346 346 346
3
49: 153(fvec3) ExtInst 1(GLSL.std.450) 48(Step) 348 347
Store 30
0(f32v3) 349
35
0: 153(fvec3) Load 275
(f32v1)
35
1: 153(fvec3) Load 274
(f32v2)
35
2: 153(fvec3) Load 300
(f32v3)
35
3: 153(fvec3) ExtInst 1(GLSL.std.450) 49(SmoothStep) 350 351 352
Store 30
0(f32v3) 353
35
4: 26(float) Load 296
(f32)
35
5: 33(ptr) AccessChain 275
(f32v1) 32
35
6: 26(float) Load 355
35
7: 153(fvec3) Load 274
(f32v2)
3
58: 153(fvec3) CompositeConstruct 354 354 354
3
59: 153(fvec3) CompositeConstruct 356 356 356
36
0: 153(fvec3) ExtInst 1(GLSL.std.450) 49(SmoothStep) 358 359 357
Store 30
0(f32v3) 360
36
2: 26(float) Load 296
(f32)
36
3: 107(bool) IsNan 362
Store 36
1(b) 363
36
4: 153(fvec3) Load 275
(f32v1)
36
5: 158(bvec3) IsInf 364
Store 34
0(bv) 365
36
6: 153(fvec3) Load 275
(f32v1)
36
7: 153(fvec3) Load 274
(f32v2)
3
68: 153(fvec3) Load 300
(f32v3)
3
69: 153(fvec3) ExtInst 1(GLSL.std.450) 50(Fma) 366 367 368
Store 30
0(f32v3) 369
37
0: 153(fvec3) Load 275
(f32v1)
37
3:372(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 370
37
4: 193(ivec3) CompositeExtract 373
1
Store 37
1(iv) 374
37
5: 153(fvec3) CompositeExtract 373
0
Store 27
4(f32v2) 375
37
6: 153(fvec3) Load 275
(f32v1)
37
7: 193(ivec3) Load 371
(iv)
3
78: 153(fvec3) ExtInst 1(GLSL.std.450) 53(Ldexp) 376 377
Store 27
4(f32v2) 378
27
6
(f32v2): 154(ptr) Variable Function
27
7
(f32v1): 154(ptr) Variable Function
29
8
(f32): 33(ptr) Variable Function
30
2
(f32v3): 154(ptr) Variable Function
34
2
(bv): 159(ptr) Variable Function
36
3
(b): 108(ptr) Variable Function
37
3
(iv): 194(ptr) Variable Function
27
8: 153(fvec3) Load 277
(f32v1)
27
9: 153(fvec3) ExtInst 1(GLSL.std.450) 4(FAbs) 278
Store 27
6(f32v2) 279
2
80: 153(fvec3) Load 277
(f32v1)
2
81: 153(fvec3) ExtInst 1(GLSL.std.450) 6(FSign) 280
Store 27
6(f32v2) 281
28
2: 153(fvec3) Load 277
(f32v1)
28
3: 153(fvec3) ExtInst 1(GLSL.std.450) 8(Floor) 282
Store 27
6(f32v2) 283
28
4: 153(fvec3) Load 277
(f32v1)
28
5: 153(fvec3) ExtInst 1(GLSL.std.450) 3(Trunc) 284
Store 27
6(f32v2) 285
28
6: 153(fvec3) Load 277
(f32v1)
28
7: 153(fvec3) ExtInst 1(GLSL.std.450) 1(Round) 286
Store 27
6(f32v2) 287
28
8: 153(fvec3) Load 277
(f32v1)
28
9: 153(fvec3) ExtInst 1(GLSL.std.450) 2(RoundEven) 288
Store 27
6(f32v2) 289
2
90: 153(fvec3) Load 277
(f32v1)
2
91: 153(fvec3) ExtInst 1(GLSL.std.450) 9(Ceil) 290
Store 27
6(f32v2) 291
29
2: 153(fvec3) Load 277
(f32v1)
29
3: 153(fvec3) ExtInst 1(GLSL.std.450) 10(Fract) 292
Store 27
6(f32v2) 293
29
4: 153(fvec3) Load 277
(f32v1)
29
5: 153(fvec3) Load 276
(f32v2)
29
6: 153(fvec3) FMod 294 295
Store 27
6(f32v2) 296
29
7: 153(fvec3) Load 277
(f32v1)
29
9: 26(float) Load 298
(f32)
300: 153(fvec3) CompositeConstruct 299 299 299
301: 153(fvec3) FMod 297 300
Store 27
6(f32v2) 301
30
3: 153(fvec3) Load 277
(f32v1)
30
4: 153(fvec3) ExtInst 1(GLSL.std.450) 35(Modf) 303 276
(f32v2)
Store 30
2(f32v3) 304
30
5: 153(fvec3) Load 277
(f32v1)
30
6: 153(fvec3) Load 276
(f32v2)
30
7: 153(fvec3) ExtInst 1(GLSL.std.450) 37(FMin) 305 306
Store 30
2(f32v3) 307
30
8: 153(fvec3) Load 277
(f32v1)
30
9: 26(float) Load 298
(f32)
3
10: 153(fvec3) CompositeConstruct 309 309 309
3
11: 153(fvec3) ExtInst 1(GLSL.std.450) 37(FMin) 308 310
Store 30
2(f32v3) 311
31
2: 153(fvec3) Load 277
(f32v1)
31
3: 153(fvec3) Load 276
(f32v2)
31
4: 153(fvec3) ExtInst 1(GLSL.std.450) 40(FMax) 312 313
Store 30
2(f32v3) 314
31
5: 153(fvec3) Load 277
(f32v1)
31
6: 26(float) Load 298
(f32)
31
7: 153(fvec3) CompositeConstruct 316 316 316
31
8: 153(fvec3) ExtInst 1(GLSL.std.450) 40(FMax) 315 317
Store 30
2(f32v3) 318
31
9: 153(fvec3) Load 277
(f32v1)
3
20: 26(float) Load 298
(f32)
3
21: 33(ptr) AccessChain 276
(f32v2) 32
32
2: 26(float) Load 321
32
3: 153(fvec3) CompositeConstruct 320 320 320
32
4: 153(fvec3) CompositeConstruct 322 322 322
32
5: 153(fvec3) ExtInst 1(GLSL.std.450) 43(FClamp) 319 323 324
Store 30
2(f32v3) 325
32
6: 153(fvec3) Load 277
(f32v1)
32
7: 153(fvec3) Load 276
(f32v2)
32
8: 26(float) Load 298
(f32)
32
9: 153(fvec3) CompositeConstruct 328 328 328
3
30: 153(fvec3) ExtInst 1(GLSL.std.450) 43(FClamp) 326 327 329
Store 30
2(f32v3) 330
3
31: 153(fvec3) Load 277
(f32v1)
33
2: 153(fvec3) Load 276
(f32v2)
33
3: 26(float) Load 298
(f32)
33
4: 153(fvec3) CompositeConstruct 333 333 333
33
5: 153(fvec3) ExtInst 1(GLSL.std.450) 46(FMix) 331 332 334
Store 30
2(f32v3) 335
33
6: 153(fvec3) Load 277
(f32v1)
33
7: 153(fvec3) Load 276
(f32v2)
33
8: 153(fvec3) Load 302
(f32v3)
33
9: 153(fvec3) ExtInst 1(GLSL.std.450) 46(FMix) 336 337 338
Store 30
2(f32v3) 339
3
40: 153(fvec3) Load 277
(f32v1)
3
41: 153(fvec3) Load 276
(f32v2)
34
3: 158(bvec3) Load 342
(bv)
34
4: 153(fvec3) Select 343 341 340
Store 30
2(f32v3) 344
34
5: 153(fvec3) Load 277
(f32v1)
34
6: 153(fvec3) Load 276
(f32v2)
34
7: 153(fvec3) ExtInst 1(GLSL.std.450) 48(Step) 345 346
Store 30
2(f32v3) 347
34
8: 26(float) Load 298
(f32)
34
9: 153(fvec3) Load 302
(f32v3)
3
50: 153(fvec3) CompositeConstruct 348 348 348
3
51: 153(fvec3) ExtInst 1(GLSL.std.450) 48(Step) 350 349
Store 30
2(f32v3) 351
35
2: 153(fvec3) Load 277
(f32v1)
35
3: 153(fvec3) Load 276
(f32v2)
35
4: 153(fvec3) Load 302
(f32v3)
35
5: 153(fvec3) ExtInst 1(GLSL.std.450) 49(SmoothStep) 352 353 354
Store 30
2(f32v3) 355
35
6: 26(float) Load 298
(f32)
35
7: 33(ptr) AccessChain 277
(f32v1) 32
35
8: 26(float) Load 357
35
9: 153(fvec3) Load 276
(f32v2)
3
60: 153(fvec3) CompositeConstruct 356 356 356
3
61: 153(fvec3) CompositeConstruct 358 358 358
36
2: 153(fvec3) ExtInst 1(GLSL.std.450) 49(SmoothStep) 360 361 359
Store 30
2(f32v3) 362
36
4: 26(float) Load 298
(f32)
36
5: 107(bool) IsNan 364
Store 36
3(b) 365
36
6: 153(fvec3) Load 277
(f32v1)
36
7: 158(bvec3) IsInf 366
Store 34
2(bv) 367
36
8: 153(fvec3) Load 277
(f32v1)
36
9: 153(fvec3) Load 276
(f32v2)
3
70: 153(fvec3) Load 302
(f32v3)
3
71: 153(fvec3) ExtInst 1(GLSL.std.450) 50(Fma) 368 369 370
Store 30
2(f32v3) 371
37
2: 153(fvec3) Load 277
(f32v1)
37
5:374(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 372
37
6: 193(ivec3) CompositeExtract 375
1
Store 37
3(iv) 376
37
7: 153(fvec3) CompositeExtract 375
0
Store 27
6(f32v2) 377
37
8: 153(fvec3) Load 277
(f32v1)
37
9: 193(ivec3) Load 373
(iv)
3
80: 153(fvec3) ExtInst 1(GLSL.std.450) 53(Ldexp) 378 379
Store 27
6(f32v2) 380
Return
FunctionEnd
18(builtinGeometryFuncs(): 2 Function None 3
19: Label
3
79
(f32): 33(ptr) Variable Function
38
0
(f32v1): 154(ptr) Variable Function
38
4
(f32v2): 154(ptr) Variable Function
39
0
(f32v3): 154(ptr) Variable Function
38
1: 153(fvec3) Load 380
(f32v1)
38
2: 26(float) ExtInst 1(GLSL.std.450) 66(Length) 381
Store 3
79(f32) 382
38
3: 153(fvec3) Load 380
(f32v1)
38
5: 153(fvec3) Load 384
(f32v2)
38
6: 26(float) ExtInst 1(GLSL.std.450) 67(Distance) 383 385
Store 3
79(f32) 386
38
7: 153(fvec3) Load 380
(f32v1)
3
88: 153(fvec3) Load 384
(f32v2)
3
89: 26(float) Dot 387 388
Store 3
79(f32) 389
39
1: 153(fvec3) Load 380
(f32v1)
39
2: 153(fvec3) Load 384
(f32v2)
39
3: 153(fvec3) ExtInst 1(GLSL.std.450) 68(Cross) 391 392
Store 39
0(f32v3) 393
39
4: 153(fvec3) Load 380
(f32v1)
39
5: 153(fvec3) ExtInst 1(GLSL.std.450) 69(Normalize) 394
Store 38
4(f32v2) 395
39
6: 153(fvec3) Load 380
(f32v1)
39
7: 153(fvec3) Load 384
(f32v2)
398: 153(fvec3) Load 390
(f32v3)
399: 153(fvec3) ExtInst 1(GLSL.std.450) 70(FaceForward) 396 397 398
Store 39
0(f32v3) 399
40
0: 153(fvec3) Load 380
(f32v1)
40
1: 153(fvec3) Load 384
(f32v2)
40
2: 153(fvec3) ExtInst 1(GLSL.std.450) 71(Reflect) 400 401
Store 39
0(f32v3) 402
40
3: 153(fvec3) Load 380
(f32v1)
40
4: 153(fvec3) Load 384
(f32v2)
40
5: 26(float) Load 379
(f32)
40
6: 153(fvec3) ExtInst 1(GLSL.std.450) 72(Refract) 403 404 405
Store 39
0(f32v3) 406
3
81
(f32): 33(ptr) Variable Function
38
2
(f32v1): 154(ptr) Variable Function
38
6
(f32v2): 154(ptr) Variable Function
39
2
(f32v3): 154(ptr) Variable Function
38
3: 153(fvec3) Load 382
(f32v1)
38
4: 26(float) ExtInst 1(GLSL.std.450) 66(Length) 383
Store 3
81(f32) 384
38
5: 153(fvec3) Load 382
(f32v1)
38
7: 153(fvec3) Load 386
(f32v2)
38
8: 26(float) ExtInst 1(GLSL.std.450) 67(Distance) 385 387
Store 3
81(f32) 388
38
9: 153(fvec3) Load 382
(f32v1)
3
90: 153(fvec3) Load 386
(f32v2)
3
91: 26(float) Dot 389 390
Store 3
81(f32) 391
39
3: 153(fvec3) Load 382
(f32v1)
39
4: 153(fvec3) Load 386
(f32v2)
39
5: 153(fvec3) ExtInst 1(GLSL.std.450) 68(Cross) 393 394
Store 39
2(f32v3) 395
39
6: 153(fvec3) Load 382
(f32v1)
39
7: 153(fvec3) ExtInst 1(GLSL.std.450) 69(Normalize) 396
Store 38
6(f32v2) 397
39
8: 153(fvec3) Load 382
(f32v1)
39
9: 153(fvec3) Load 386
(f32v2)
400: 153(fvec3) Load 392
(f32v3)
401: 153(fvec3) ExtInst 1(GLSL.std.450) 70(FaceForward) 398 399 400
Store 39
2(f32v3) 401
40
2: 153(fvec3) Load 382
(f32v1)
40
3: 153(fvec3) Load 386
(f32v2)
40
4: 153(fvec3) ExtInst 1(GLSL.std.450) 71(Reflect) 402 403
Store 39
2(f32v3) 404
40
5: 153(fvec3) Load 382
(f32v1)
40
6: 153(fvec3) Load 386
(f32v2)
40
7: 26(float) Load 381
(f32)
40
8: 153(fvec3) ExtInst 1(GLSL.std.450) 72(Refract) 405 406 407
Store 39
2(f32v3) 408
Return
FunctionEnd
20(builtinMatrixFuncs(): 2 Function None 3
21: Label
4
09(f32m3): 408
(ptr) Variable Function
41
0(f32m1): 408
(ptr) Variable Function
41
2(f32m2): 408
(ptr) Variable Function
42
1
(f32v1): 154(ptr) Variable Function
42
3
(f32v2): 28(ptr) Variable Function
4
28(f32m4): 427
(ptr) Variable Function
43
1
(f32): 33(ptr) Variable Function
43
4(f32m5): 433
(ptr) Variable Function
4
39(f32m6): 438
(ptr) Variable Function
44
0(f32m7): 438
(ptr) Variable Function
41
1: 407 Load 410
(f32m1)
41
3: 407 Load 412
(f32m2)
41
4: 153(fvec3) CompositeExtract 411
0
41
5: 153(fvec3) CompositeExtract 413
0
41
6: 153(fvec3) FMul 414 415
41
7: 153(fvec3) CompositeExtract 411
1
4
18: 153(fvec3) CompositeExtract 413
1
4
19: 153(fvec3) FMul 417 418
42
0: 407 CompositeConstruct 416 419
Store 4
09(f32m3) 420
42
2: 153(fvec3) Load 421
(f32v1)
42
4: 27(fvec2) Load 423
(f32v2)
42
5: 407 OuterProduct 422 424
Store 41
0(f32m1) 425
4
29: 407 Load 410
(f32m1)
43
0: 426 Transpose 429
Store 4
28(f32m4) 430
43
5: 432 Load 434
(f32m5)
43
6: 26(float) ExtInst 1(GLSL.std.450) 33(Determinant) 435
Store 43
1(f32) 436
44
1: 437 Load 440
(f32m7)
44
2: 437 ExtInst 1(GLSL.std.450) 34(MatrixInverse) 441
Store 4
39(f32m6) 442
4
11(f32m3): 410
(ptr) Variable Function
41
2(f32m1): 410
(ptr) Variable Function
41
4(f32m2): 410
(ptr) Variable Function
42
3
(f32v1): 154(ptr) Variable Function
42
5
(f32v2): 28(ptr) Variable Function
4
30(f32m4): 429
(ptr) Variable Function
43
3
(f32): 33(ptr) Variable Function
43
6(f32m5): 435
(ptr) Variable Function
4
41(f32m6): 440
(ptr) Variable Function
44
2(f32m7): 440
(ptr) Variable Function
41
3: 409 Load 412
(f32m1)
41
5: 409 Load 414
(f32m2)
41
6: 153(fvec3) CompositeExtract 413
0
41
7: 153(fvec3) CompositeExtract 415
0
41
8: 153(fvec3) FMul 416 417
41
9: 153(fvec3) CompositeExtract 413
1
4
20: 153(fvec3) CompositeExtract 415
1
4
21: 153(fvec3) FMul 419 420
42
2: 409 CompositeConstruct 418 421
Store 4
11(f32m3) 422
42
4: 153(fvec3) Load 423
(f32v1)
42
6: 27(fvec2) Load 425
(f32v2)
42
7: 409 OuterProduct 424 426
Store 41
2(f32m1) 427
4
31: 409 Load 412
(f32m1)
43
2: 428 Transpose 431
Store 4
30(f32m4) 432
43
7: 434 Load 436
(f32m5)
43
8: 26(float) ExtInst 1(GLSL.std.450) 33(Determinant) 437
Store 43
3(f32) 438
44
3: 439 Load 442
(f32m7)
44
4: 439 ExtInst 1(GLSL.std.450) 34(MatrixInverse) 443
Store 4
41(f32m6) 444
Return
FunctionEnd
22(builtinVecRelFuncs(): 2 Function None 3
23: Label
44
3
(bv): 159(ptr) Variable Function
44
4
(f32v1): 154(ptr) Variable Function
44
6
(f32v2): 154(ptr) Variable Function
44
5: 153(fvec3) Load 444
(f32v1)
44
7: 153(fvec3) Load 446
(f32v2)
4
48: 158(bvec3) FOrdLessThan 445 447
Store 44
3(bv) 448
4
49: 153(fvec3) Load 444
(f32v1)
45
0: 153(fvec3) Load 446
(f32v2)
45
1: 158(bvec3) FOrdLessThanEqual 449 450
Store 44
3(bv) 451
45
2: 153(fvec3) Load 444
(f32v1)
45
3: 153(fvec3) Load 446
(f32v2)
45
4: 158(bvec3) FOrdGreaterThan 452 453
Store 44
3(bv) 454
45
5: 153(fvec3) Load 444
(f32v1)
45
6: 153(fvec3) Load 446
(f32v2)
45
7: 158(bvec3) FOrdGreaterThanEqual 455 456
Store 44
3(bv) 457
4
58: 153(fvec3) Load 444
(f32v1)
4
59: 153(fvec3) Load 446
(f32v2)
46
0: 158(bvec3) FOrdEqual 458 459
Store 44
3(bv) 460
46
1: 153(fvec3) Load 444
(f32v1)
46
2: 153(fvec3) Load 446
(f32v2)
46
3: 158(bvec3) FOrdNotEqual 461 462
Store 44
3(bv) 463
44
5
(bv): 159(ptr) Variable Function
44
6
(f32v1): 154(ptr) Variable Function
44
8
(f32v2): 154(ptr) Variable Function
44
7: 153(fvec3) Load 446
(f32v1)
44
9: 153(fvec3) Load 448
(f32v2)
4
50: 158(bvec3) FOrdLessThan 447 449
Store 44
5(bv) 450
4
51: 153(fvec3) Load 446
(f32v1)
45
2: 153(fvec3) Load 448
(f32v2)
45
3: 158(bvec3) FOrdLessThanEqual 451 452
Store 44
5(bv) 453
45
4: 153(fvec3) Load 446
(f32v1)
45
5: 153(fvec3) Load 448
(f32v2)
45
6: 158(bvec3) FOrdGreaterThan 454 455
Store 44
5(bv) 456
45
7: 153(fvec3) Load 446
(f32v1)
45
8: 153(fvec3) Load 448
(f32v2)
45
9: 158(bvec3) FOrdGreaterThanEqual 457 458
Store 44
5(bv) 459
4
60: 153(fvec3) Load 446
(f32v1)
4
61: 153(fvec3) Load 448
(f32v2)
46
2: 158(bvec3) FOrdEqual 460 461
Store 44
5(bv) 462
46
3: 153(fvec3) Load 446
(f32v1)
46
4: 153(fvec3) Load 448
(f32v2)
46
5: 158(bvec3) FOrdNotEqual 463 464
Store 44
5(bv) 465
Return
FunctionEnd
24(builtinFragProcFuncs(): 2 Function None 3
25: Label
464(f32v): 154(ptr) Variable Function
468: 467(ptr) AccessChain 466(if32v) 32
469: 26(float) Load 468
470: 26(float) DPdx 469
471: 33(ptr) AccessChain 464(f32v) 32
Store 471 470
472: 467(ptr) AccessChain 466(if32v) 88
473: 26(float) Load 472
474: 26(float) DPdy 473
475: 33(ptr) AccessChain 464(f32v) 88
Store 475 474
476: 153(fvec3) Load 466(if32v)
477: 27(fvec2) VectorShuffle 476 476 0 1
478: 27(fvec2) DPdxFine 477
479: 153(fvec3) Load 464(f32v)
480: 153(fvec3) VectorShuffle 479 478 3 4 2
Store 464(f32v) 480
481: 153(fvec3) Load 466(if32v)
482: 27(fvec2) VectorShuffle 481 481 0 1
483: 27(fvec2) DPdyFine 482
484: 153(fvec3) Load 464(f32v)
485: 153(fvec3) VectorShuffle 484 483 3 4 2
Store 464(f32v) 485
486: 153(fvec3) Load 466(if32v)
487: 153(fvec3) DPdxCoarse 486
Store 464(f32v) 487
488: 153(fvec3) Load 466(if32v)
466(f32v): 154(ptr) Variable Function
470: 469(ptr) AccessChain 468(if32v) 32
471: 26(float) Load 470
472: 26(float) DPdx 471
473: 33(ptr) AccessChain 466(f32v) 32
Store 473 472
474: 469(ptr) AccessChain 468(if32v) 88
475: 26(float) Load 474
476: 26(float) DPdy 475
477: 33(ptr) AccessChain 466(f32v) 88
Store 477 476
478: 153(fvec3) Load 468(if32v)
479: 27(fvec2) VectorShuffle 478 478 0 1
480: 27(fvec2) DPdxFine 479
481: 153(fvec3) Load 466(f32v)
482: 153(fvec3) VectorShuffle 481 480 3 4 2
Store 466(f32v) 482
483: 153(fvec3) Load 468(if32v)
484: 27(fvec2) VectorShuffle 483 483 0 1
485: 27(fvec2) DPdyFine 484
486: 153(fvec3) Load 466(f32v)
487: 153(fvec3) VectorShuffle 486 485 3 4 2
Store 466(f32v) 487
488: 153(fvec3) Load 468(if32v)
489: 153(fvec3) DPdxCoarse 488
Store 464(f32v) 489
490: 467(ptr) AccessChain 466(if32v) 32
491: 26(float) Load 490
492: 26(float) Fwidth 491
493: 33(ptr) AccessChain 464(f32v) 32
Store 493 492
494: 153(fvec3) Load 466(if32v)
495: 27(fvec2) VectorShuffle 494 494 0 1
496: 27(fvec2) FwidthFine 495
497: 153(fvec3) Load 464(f32v)
498: 153(fvec3) VectorShuffle 497 496 3 4 2
Store 464(f32v) 498
499: 153(fvec3) Load 466(if32v)
500: 153(fvec3) FwidthCoarse 499
Store 464(f32v) 500
501: 467(ptr) AccessChain 466(if32v) 32
502: 26(float) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 501
503: 33(ptr) AccessChain 464(f32v) 32
Store 503 502
505: 153(fvec3) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 466(if32v) 504
506: 27(fvec2) VectorShuffle 505 505 0 1
507: 153(fvec3) Load 464(f32v)
508: 153(fvec3) VectorShuffle 507 506 3 4 2
Store 464(f32v) 508
511: 153(fvec3) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 466(if32v) 510
Store 464(f32v) 511
Store 466(f32v) 489
490: 153(fvec3) Load 468(if32v)
491: 153(fvec3) DPdxCoarse 490
Store 466(f32v) 491
492: 469(ptr) AccessChain 468(if32v) 32
493: 26(float) Load 492
494: 26(float) Fwidth 493
495: 33(ptr) AccessChain 466(f32v) 32
Store 495 494
496: 153(fvec3) Load 468(if32v)
497: 27(fvec2) VectorShuffle 496 496 0 1
498: 27(fvec2) FwidthFine 497
499: 153(fvec3) Load 466(f32v)
500: 153(fvec3) VectorShuffle 499 498 3 4 2
Store 466(f32v) 500
501: 153(fvec3) Load 468(if32v)
502: 153(fvec3) FwidthCoarse 501
Store 466(f32v) 502
503: 469(ptr) AccessChain 468(if32v) 32
504: 26(float) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 503
505: 33(ptr) AccessChain 466(f32v) 32
Store 505 504
507: 153(fvec3) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 468(if32v) 506
508: 27(fvec2) VectorShuffle 507 507 0 1
509: 153(fvec3) Load 466(f32v)
510: 153(fvec3) VectorShuffle 509 508 3 4 2
Store 466(f32v) 510
513: 153(fvec3) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 468(if32v) 512
Store 466(f32v) 513
Return
FunctionEnd
Test/baseResults/spv.float64.frag.out
View file @
1790a40c
spv.float64.frag
// Module Version 10000
// Generated by (magic number): 80004
// Id's are bound by 5
19
// Id's are bound by 5
21
Capability Shader
Capability Float16
...
...
@@ -15,7 +15,7 @@ spv.float64.frag
Extension "SPV_AMD_gpu_shader_int16"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 45
6
EntryPoint Fragment 4 "main" 45
8
ExecutionMode 4 OriginUpperLeft
Source GLSL 450
SourceExtension "GL_KHX_shader_explicit_arithmetic_types"
...
...
@@ -50,81 +50,81 @@ spv.float64.frag
Name 185 "i32v"
Name 191 "i64v"
Name 194 "u8v"
Name 198 "u16v"
Name 203 "u32v"
Name 209 "u64v"
Name 214 "f64v2"
Name 215 "f64v1"
Name 247 "f64v2"
Name 248 "f64v1"
Name 264 "f64v2"
Name 265 "f64v1"
Name 286 "f64"
Name 290 "f64v3"
Name 330 "bv"
Name 351 "b"
Name 361 "iv"
Name 362 "ResType"
Name 369 "f64"
Name 370 "f64v1"
Name 374 "f64v2"
Name 380 "f64v3"
Name 399 "f64m3"
Name 400 "f64m1"
Name 402 "f64m2"
Name 411 "f64v1"
Name 413 "f64v2"
Name 418 "f64m4"
Name 421 "f64"
Name 424 "f64m5"
Name 429 "f64m6"
Name 430 "f64m7"
Name 433 "bv"
Name 434 "f64v1"
Name 436 "f64v2"
Name 454 "f64v"
Name 456 "if64v"
Name 505 "S"
MemberName 505(S) 0 "x"
MemberName 505(S) 1 "y"
MemberName 505(S) 2 "z"
Name 507 "B1"
MemberName 507(B1) 0 "a"
MemberName 507(B1) 1 "b"
MemberName 507(B1) 2 "c"
MemberName 507(B1) 3 "d"
MemberName 507(B1) 4 "e"
MemberName 507(B1) 5 "f"
MemberName 507(B1) 6 "g"
MemberName 507(B1) 7 "h"
Name 509 ""
Name 510 "sf16"
Name 512 "sf"
Name 513 "sd"
Decorate 456(if64v) Flat
Decorate 503 ArrayStride 16
Decorate 504 ArrayStride 64
MemberDecorate 505(S) 0 Offset 0
MemberDecorate 505(S) 1 Offset 16
MemberDecorate 505(S) 2 Offset 32
Name 200 "u16v"
Name 205 "u32v"
Name 211 "u64v"
Name 216 "f64v2"
Name 217 "f64v1"
Name 249 "f64v2"
Name 250 "f64v1"
Name 266 "f64v2"
Name 267 "f64v1"
Name 288 "f64"
Name 292 "f64v3"
Name 332 "bv"
Name 353 "b"
Name 363 "iv"
Name 364 "ResType"
Name 371 "f64"
Name 372 "f64v1"
Name 376 "f64v2"
Name 382 "f64v3"
Name 401 "f64m3"
Name 402 "f64m1"
Name 404 "f64m2"
Name 413 "f64v1"
Name 415 "f64v2"
Name 420 "f64m4"
Name 423 "f64"
Name 426 "f64m5"
Name 431 "f64m6"
Name 432 "f64m7"
Name 435 "bv"
Name 436 "f64v1"
Name 438 "f64v2"
Name 456 "f64v"
Name 458 "if64v"
Name 507 "S"
MemberName 507(S) 0 "x"
MemberName 507(S) 1 "y"
MemberName 507(S) 2 "z"
Name 509 "B1"
MemberName 509(B1) 0 "a"
MemberName 509(B1) 1 "b"
MemberName 509(B1) 2 "c"
MemberName 509(B1) 3 "d"
MemberName 509(B1) 4 "e"
MemberName 509(B1) 5 "f"
MemberName 509(B1) 6 "g"
MemberName 509(B1) 7 "h"
Name 511 ""
Name 512 "sf16"
Name 514 "sf"
Name 515 "sd"
Decorate 458(if64v) Flat
Decorate 505 ArrayStride 16
Decorate 506 ArrayStride 64
MemberDecorate 507(B1) 0 Offset 0
MemberDecorate 507(B1) 1 Offset 16
MemberDecorate 507(B1) 2 Offset 32
MemberDecorate 507(B1) 3 Offset 64
MemberDecorate 507(B1) 4 ColMajor
MemberDecorate 507(B1) 4 Offset 96
MemberDecorate 507(B1) 4 MatrixStride 32
MemberDecorate 507(B1) 5 ColMajor
MemberDecorate 507(B1) 5 Offset 160
MemberDecorate 507(B1) 5 MatrixStride 32
MemberDecorate 507(B1) 6 Offset 288
MemberDecorate 507(B1) 7 Offset 352
Decorate 507(B1) Block
Decorate 509 DescriptorSet 0
Decorate 510(sf16) SpecId 100
Decorate 512(sf) SpecId 101
Decorate 513(sd) SpecId 102
MemberDecorate 507(S) 0 Offset 0
MemberDecorate 507(S) 1 Offset 16
MemberDecorate 507(S) 2 Offset 32
Decorate 508 ArrayStride 64
MemberDecorate 509(B1) 0 Offset 0
MemberDecorate 509(B1) 1 Offset 16
MemberDecorate 509(B1) 2 Offset 32
MemberDecorate 509(B1) 3 Offset 64
MemberDecorate 509(B1) 4 ColMajor
MemberDecorate 509(B1) 4 Offset 96
MemberDecorate 509(B1) 4 MatrixStride 32
MemberDecorate 509(B1) 5 ColMajor
MemberDecorate 509(B1) 5 Offset 160
MemberDecorate 509(B1) 5 MatrixStride 32
MemberDecorate 509(B1) 6 Offset 288
MemberDecorate 509(B1) 7 Offset 352
Decorate 509(B1) Block
Decorate 511 DescriptorSet 0
Decorate 512(sf16) SpecId 100
Decorate 514(sf) SpecId 101
Decorate 515(sd) SpecId 102
2: TypeVoid
3: TypeFunction 2
26: TypeFloat 64
...
...
@@ -166,45 +166,47 @@ spv.float64.frag
189: TypeVector 188(int) 3
190: TypePointer Function 189(ivec3)
197: TypeInt 16 0
201: TypeVector 31(int) 3
202: TypePointer Function 201(ivec3)
206: TypeInt 64 0
207: TypeVector 206(int) 3
208: TypePointer Function 207(ivec3)
212: TypeVector 26(float) 4
213: TypePointer Function 212(fvec4)
362(ResType): TypeStruct 149(fvec3) 183(ivec3)
397: TypeMatrix 149(fvec3) 2
398: TypePointer Function 397
416: TypeMatrix 27(fvec2) 3
417: TypePointer Function 416
422: TypeMatrix 149(fvec3) 3
423: TypePointer Function 422
427: TypeMatrix 212(fvec4) 4
428: TypePointer Function 427
455: TypePointer Input 149(fvec3)
456(if64v): 455(ptr) Variable Input
457: TypePointer Input 26(float)
494: 182(int) Constant 1
499: 26(float) Constant 0 1071644672
500: 27(fvec2) ConstantComposite 499 499
502: 31(int) Constant 2
503: TypeArray 26(float) 502
504: TypeArray 397 502
505(S): TypeStruct 26(float) 27(fvec2) 149(fvec3)
506: TypeArray 505(S) 502
507(B1): TypeStruct 26(float) 27(fvec2) 149(fvec3) 503 397 504 505(S) 506
508: TypePointer Uniform 507(B1)
509: 508(ptr) Variable Uniform
510(sf16): 162(float) SpecConstant 12288
511: TypeFloat 32
512(sf): 511(float) SpecConstant 1048576000
513(sd): 26(float) SpecConstant 0 1071644672
514: 511(float) SpecConstantOp 115 510(sf16)
515: 511(float) SpecConstantOp 115 510(sf16)
516: 26(float) SpecConstantOp 115 515
517: 162(float) SpecConstantOp 115 512(sf)
518: 162(float) SpecConstantOp 115 513(sd)
198: TypeVector 197(int) 3
199: TypePointer Function 198(ivec3)
203: TypeVector 31(int) 3
204: TypePointer Function 203(ivec3)
208: TypeInt 64 0
209: TypeVector 208(int) 3
210: TypePointer Function 209(ivec3)
214: TypeVector 26(float) 4
215: TypePointer Function 214(fvec4)
364(ResType): TypeStruct 149(fvec3) 183(ivec3)
399: TypeMatrix 149(fvec3) 2
400: TypePointer Function 399
418: TypeMatrix 27(fvec2) 3
419: TypePointer Function 418
424: TypeMatrix 149(fvec3) 3
425: TypePointer Function 424
429: TypeMatrix 214(fvec4) 4
430: TypePointer Function 429
457: TypePointer Input 149(fvec3)
458(if64v): 457(ptr) Variable Input
459: TypePointer Input 26(float)
496: 182(int) Constant 1
501: 26(float) Constant 0 1071644672
502: 27(fvec2) ConstantComposite 501 501
504: 31(int) Constant 2
505: TypeArray 26(float) 504
506: TypeArray 399 504
507(S): TypeStruct 26(float) 27(fvec2) 149(fvec3)
508: TypeArray 507(S) 504
509(B1): TypeStruct 26(float) 27(fvec2) 149(fvec3) 505 399 506 507(S) 508
510: TypePointer Uniform 509(B1)
511: 510(ptr) Variable Uniform
512(sf16): 162(float) SpecConstant 12288
513: TypeFloat 32
514(sf): 513(float) SpecConstant 1048576000
515(sd): 26(float) SpecConstant 0 1071644672
516: 513(float) SpecConstantOp 115 512(sf16)
517: 513(float) SpecConstantOp 115 512(sf16)
518: 26(float) SpecConstantOp 115 517
519: 162(float) SpecConstantOp 115 514(sf)
520: 162(float) SpecConstantOp 115 515(sd)
4(main): 2 Function None 3
5: Label
Return
...
...
@@ -361,9 +363,9 @@ spv.float64.frag
185(i32v): 184(ptr) Variable Function
191(i64v): 190(ptr) Variable Function
194(u8v): 172(ptr) Variable Function
198(u16v): 184
(ptr) Variable Function
20
3(u32v): 202
(ptr) Variable Function
2
09(u64v): 208
(ptr) Variable Function
200(u16v): 199
(ptr) Variable Function
20
5(u32v): 204
(ptr) Variable Function
2
11(u64v): 210
(ptr) Variable Function
155: 152(bvec3) Load 154(bv)
159: 149(fvec3) Select 155 158 157
Store 151(f64v) 159
...
...
@@ -391,398 +393,398 @@ spv.float64.frag
195: 149(fvec3) Load 151(f64v)
196: 171(ivec3) ConvertFToS 195
Store 194(u8v) 196
199
: 149(fvec3) Load 151(f64v)
20
0: 183(ivec3) ConvertFToU 199
Store
198(u16v) 200
20
4
: 149(fvec3) Load 151(f64v)
20
5: 201(ivec3) ConvertFToU 204
Store 20
3(u32v) 205
21
0
: 149(fvec3) Load 151(f64v)
21
1: 207(ivec3) ConvertFToU 210
Store 2
09(u64v) 211
201
: 149(fvec3) Load 151(f64v)
20
2: 198(ivec3) ConvertFToU 201
Store
200(u16v) 202
20
6
: 149(fvec3) Load 151(f64v)
20
7: 203(ivec3) ConvertFToU 206
Store 20
5(u32v) 207
21
2
: 149(fvec3) Load 151(f64v)
21
3: 209(ivec3) ConvertFToU 212
Store 2
11(u64v) 213
Return
FunctionEnd
12(builtinAngleTrigFuncs(): 2 Function None 3
13: Label
21
4(f64v2): 213
(ptr) Variable Function
21
5(f64v1): 213
(ptr) Variable Function
21
6: 212(fvec4) Load 215
(f64v1)
21
7: 212(fvec4) ExtInst 1(GLSL.std.450) 11(Radians) 216
Store 21
4(f64v2) 217
2
18: 212(fvec4) Load 215
(f64v1)
2
19: 212(fvec4) ExtInst 1(GLSL.std.450) 12(Degrees) 218
Store 21
4(f64v2) 219
22
0: 212(fvec4) Load 215
(f64v1)
22
1: 212(fvec4) ExtInst 1(GLSL.std.450) 13(Sin) 220
Store 21
4(f64v2) 221
22
2: 212(fvec4) Load 215
(f64v1)
22
3: 212(fvec4) ExtInst 1(GLSL.std.450) 14(Cos) 222
Store 21
4(f64v2) 223
22
4: 212(fvec4) Load 215
(f64v1)
22
5: 212(fvec4) ExtInst 1(GLSL.std.450) 15(Tan) 224
Store 21
4(f64v2) 225
22
6: 212(fvec4) Load 215
(f64v1)
22
7: 212(fvec4) ExtInst 1(GLSL.std.450) 16(Asin) 226
Store 21
4(f64v2) 227
2
28: 212(fvec4) Load 215
(f64v1)
2
29: 212(fvec4) ExtInst 1(GLSL.std.450) 17(Acos) 228
Store 21
4(f64v2) 229
23
0: 212(fvec4) Load 215
(f64v1)
23
1: 212(fvec4) Load 214
(f64v2)
23
2: 212(fvec4) ExtInst 1(GLSL.std.450) 25(Atan2) 230 231
Store 21
4(f64v2) 232
23
3: 212(fvec4) Load 215
(f64v1)
23
4: 212(fvec4) ExtInst 1(GLSL.std.450) 18(Atan) 233
Store 21
4(f64v2) 234
23
5: 212(fvec4) Load 215
(f64v1)
23
6: 212(fvec4) ExtInst 1(GLSL.std.450) 19(Sinh) 235
Store 21
4(f64v2) 236
23
7: 212(fvec4) Load 215
(f64v1)
2
38: 212(fvec4) ExtInst 1(GLSL.std.450) 20(Cosh) 237
Store 21
4(f64v2) 238
2
39: 212(fvec4) Load 215
(f64v1)
24
0: 212(fvec4) ExtInst 1(GLSL.std.450) 21(Tanh) 239
Store 21
4(f64v2) 240
24
1: 212(fvec4) Load 215
(f64v1)
24
2: 212(fvec4) ExtInst 1(GLSL.std.450) 22(Asinh) 241
Store 21
4(f64v2) 242
24
3: 212(fvec4) Load 215
(f64v1)
24
4: 212(fvec4) ExtInst 1(GLSL.std.450) 23(Acosh) 243
Store 21
4(f64v2) 244
24
5: 212(fvec4) Load 215
(f64v1)
24
6: 212(fvec4) ExtInst 1(GLSL.std.450) 24(Atanh) 245
Store 21
4(f64v2) 246
21
6(f64v2): 215
(ptr) Variable Function
21
7(f64v1): 215
(ptr) Variable Function
21
8: 214(fvec4) Load 217
(f64v1)
21
9: 214(fvec4) ExtInst 1(GLSL.std.450) 11(Radians) 218
Store 21
6(f64v2) 219
2
20: 214(fvec4) Load 217
(f64v1)
2
21: 214(fvec4) ExtInst 1(GLSL.std.450) 12(Degrees) 220
Store 21
6(f64v2) 221
22
2: 214(fvec4) Load 217
(f64v1)
22
3: 214(fvec4) ExtInst 1(GLSL.std.450) 13(Sin) 222
Store 21
6(f64v2) 223
22
4: 214(fvec4) Load 217
(f64v1)
22
5: 214(fvec4) ExtInst 1(GLSL.std.450) 14(Cos) 224
Store 21
6(f64v2) 225
22
6: 214(fvec4) Load 217
(f64v1)
22
7: 214(fvec4) ExtInst 1(GLSL.std.450) 15(Tan) 226
Store 21
6(f64v2) 227
22
8: 214(fvec4) Load 217
(f64v1)
22
9: 214(fvec4) ExtInst 1(GLSL.std.450) 16(Asin) 228
Store 21
6(f64v2) 229
2
30: 214(fvec4) Load 217
(f64v1)
2
31: 214(fvec4) ExtInst 1(GLSL.std.450) 17(Acos) 230
Store 21
6(f64v2) 231
23
2: 214(fvec4) Load 217
(f64v1)
23
3: 214(fvec4) Load 216
(f64v2)
23
4: 214(fvec4) ExtInst 1(GLSL.std.450) 25(Atan2) 232 233
Store 21
6(f64v2) 234
23
5: 214(fvec4) Load 217
(f64v1)
23
6: 214(fvec4) ExtInst 1(GLSL.std.450) 18(Atan) 235
Store 21
6(f64v2) 236
23
7: 214(fvec4) Load 217
(f64v1)
23
8: 214(fvec4) ExtInst 1(GLSL.std.450) 19(Sinh) 237
Store 21
6(f64v2) 238
23
9: 214(fvec4) Load 217
(f64v1)
2
40: 214(fvec4) ExtInst 1(GLSL.std.450) 20(Cosh) 239
Store 21
6(f64v2) 240
2
41: 214(fvec4) Load 217
(f64v1)
24
2: 214(fvec4) ExtInst 1(GLSL.std.450) 21(Tanh) 241
Store 21
6(f64v2) 242
24
3: 214(fvec4) Load 217
(f64v1)
24
4: 214(fvec4) ExtInst 1(GLSL.std.450) 22(Asinh) 243
Store 21
6(f64v2) 244
24
5: 214(fvec4) Load 217
(f64v1)
24
6: 214(fvec4) ExtInst 1(GLSL.std.450) 23(Acosh) 245
Store 21
6(f64v2) 246
24
7: 214(fvec4) Load 217
(f64v1)
24
8: 214(fvec4) ExtInst 1(GLSL.std.450) 24(Atanh) 247
Store 21
6(f64v2) 248
Return
FunctionEnd
14(builtinExpFuncs(): 2 Function None 3
15: Label
24
7
(f64v2): 28(ptr) Variable Function
2
48
(f64v1): 28(ptr) Variable Function
2
49: 27(fvec2) Load 248
(f64v1)
25
0: 27(fvec2) Load 247
(f64v2)
25
1: 27(fvec2) ExtInst 1(GLSL.std.450) 26(Pow) 249 250
Store 24
7(f64v2) 251
25
2: 27(fvec2) Load 248
(f64v1)
25
3: 27(fvec2) ExtInst 1(GLSL.std.450) 27(Exp) 252
Store 24
7(f64v2) 253
25
4: 27(fvec2) Load 248
(f64v1)
25
5: 27(fvec2) ExtInst 1(GLSL.std.450) 28(Log) 254
Store 24
7(f64v2) 255
25
6: 27(fvec2) Load 248
(f64v1)
25
7: 27(fvec2) ExtInst 1(GLSL.std.450) 29(Exp2) 256
Store 24
7(f64v2) 257
2
58: 27(fvec2) Load 248
(f64v1)
2
59: 27(fvec2) ExtInst 1(GLSL.std.450) 30(Log2) 258
Store 24
7(f64v2) 259
26
0: 27(fvec2) Load 248
(f64v1)
26
1: 27(fvec2) ExtInst 1(GLSL.std.450) 31(Sqrt) 260
Store 24
7(f64v2) 261
26
2: 27(fvec2) Load 248
(f64v1)
26
3: 27(fvec2) ExtInst 1(GLSL.std.450) 32(InverseSqrt) 262
Store 24
7(f64v2) 263
24
9
(f64v2): 28(ptr) Variable Function
2
50
(f64v1): 28(ptr) Variable Function
2
51: 27(fvec2) Load 250
(f64v1)
25
2: 27(fvec2) Load 249
(f64v2)
25
3: 27(fvec2) ExtInst 1(GLSL.std.450) 26(Pow) 251 252
Store 24
9(f64v2) 253
25
4: 27(fvec2) Load 250
(f64v1)
25
5: 27(fvec2) ExtInst 1(GLSL.std.450) 27(Exp) 254
Store 24
9(f64v2) 255
25
6: 27(fvec2) Load 250
(f64v1)
25
7: 27(fvec2) ExtInst 1(GLSL.std.450) 28(Log) 256
Store 24
9(f64v2) 257
25
8: 27(fvec2) Load 250
(f64v1)
25
9: 27(fvec2) ExtInst 1(GLSL.std.450) 29(Exp2) 258
Store 24
9(f64v2) 259
2
60: 27(fvec2) Load 250
(f64v1)
2
61: 27(fvec2) ExtInst 1(GLSL.std.450) 30(Log2) 260
Store 24
9(f64v2) 261
26
2: 27(fvec2) Load 250
(f64v1)
26
3: 27(fvec2) ExtInst 1(GLSL.std.450) 31(Sqrt) 262
Store 24
9(f64v2) 263
26
4: 27(fvec2) Load 250
(f64v1)
26
5: 27(fvec2) ExtInst 1(GLSL.std.450) 32(InverseSqrt) 264
Store 24
9(f64v2) 265
Return
FunctionEnd
16(builtinCommonFuncs(): 2 Function None 3
17: Label
26
4
(f64v2): 150(ptr) Variable Function
26
5
(f64v1): 150(ptr) Variable Function
28
6
(f64): 33(ptr) Variable Function
29
0
(f64v3): 150(ptr) Variable Function
33
0
(bv): 153(ptr) Variable Function
35
1
(b): 108(ptr) Variable Function
36
1
(iv): 184(ptr) Variable Function
26
6: 149(fvec3) Load 265
(f64v1)
26
7: 149(fvec3) ExtInst 1(GLSL.std.450) 4(FAbs) 266
Store 26
4(f64v2) 267
2
68: 149(fvec3) Load 265
(f64v1)
2
69: 149(fvec3) ExtInst 1(GLSL.std.450) 6(FSign) 268
Store 26
4(f64v2) 269
27
0: 149(fvec3) Load 265
(f64v1)
27
1: 149(fvec3) ExtInst 1(GLSL.std.450) 8(Floor) 270
Store 26
4(f64v2) 271
27
2: 149(fvec3) Load 265
(f64v1)
27
3: 149(fvec3) ExtInst 1(GLSL.std.450) 3(Trunc) 272
Store 26
4(f64v2) 273
27
4: 149(fvec3) Load 265
(f64v1)
27
5: 149(fvec3) ExtInst 1(GLSL.std.450) 1(Round) 274
Store 26
4(f64v2) 275
27
6: 149(fvec3) Load 265
(f64v1)
27
7: 149(fvec3) ExtInst 1(GLSL.std.450) 2(RoundEven) 276
Store 26
4(f64v2) 277
2
78: 149(fvec3) Load 265
(f64v1)
2
79: 149(fvec3) ExtInst 1(GLSL.std.450) 9(Ceil) 278
Store 26
4(f64v2) 279
28
0: 149(fvec3) Load 265
(f64v1)
28
1: 149(fvec3) ExtInst 1(GLSL.std.450) 10(Fract) 280
Store 26
4(f64v2) 281
28
2: 149(fvec3) Load 265
(f64v1)
28
3: 149(fvec3) Load 264
(f64v2)
28
4: 149(fvec3) FMod 282 283
Store 26
4(f64v2) 284
28
5: 149(fvec3) Load 265
(f64v1)
28
7: 26(float) Load 286
(f64)
2
88: 149(fvec3) CompositeConstruct 287 287 287
2
89: 149(fvec3) FMod 285 288
Store 26
4(f64v2) 289
29
1: 149(fvec3) Load 265
(f64v1)
29
2: 149(fvec3) ExtInst 1(GLSL.std.450) 35(Modf) 291 264
(f64v2)
Store 29
0(f64v3) 292
29
3: 149(fvec3) Load 265
(f64v1)
29
4: 149(fvec3) Load 264
(f64v2)
29
5: 149(fvec3) ExtInst 1(GLSL.std.450) 37(FMin) 293 294
Store 29
0(f64v3) 295
29
6: 149(fvec3) Load 265
(f64v1)
29
7: 26(float) Load 286
(f64)
298: 149(fvec3) CompositeConstruct 297 297 297
299: 149(fvec3) ExtInst 1(GLSL.std.450) 37(FMin) 296 298
Store 29
0(f64v3) 299
30
0: 149(fvec3) Load 265
(f64v1)
30
1: 149(fvec3) Load 264
(f64v2)
30
2: 149(fvec3) ExtInst 1(GLSL.std.450) 40(FMax) 300 301
Store 29
0(f64v3) 302
30
3: 149(fvec3) Load 265
(f64v1)
30
4: 26(float) Load 286
(f64)
30
5: 149(fvec3) CompositeConstruct 304 304 304
30
6: 149(fvec3) ExtInst 1(GLSL.std.450) 40(FMax) 303 305
Store 29
0(f64v3) 306
30
7: 149(fvec3) Load 265
(f64v1)
3
08: 26(float) Load 286
(f64)
3
09: 33(ptr) AccessChain 264
(f64v2) 32
31
0: 26(float) Load 309
31
1: 149(fvec3) CompositeConstruct 308 308 308
31
2: 149(fvec3) CompositeConstruct 310 310 310
31
3: 149(fvec3) ExtInst 1(GLSL.std.450) 43(FClamp) 307 311 312
Store 29
0(f64v3) 313
31
4: 149(fvec3) Load 265
(f64v1)
31
5: 149(fvec3) Load 264
(f64v2)
31
6: 26(float) Load 286
(f64)
31
7: 149(fvec3) CompositeConstruct 316 316 316
3
18: 149(fvec3) ExtInst 1(GLSL.std.450) 43(FClamp) 314 315 317
Store 29
0(f64v3) 318
3
19: 149(fvec3) Load 265
(f64v1)
32
0: 149(fvec3) Load 264
(f64v2)
32
1: 26(float) Load 286
(f64)
32
2: 149(fvec3) CompositeConstruct 321 321 321
32
3: 149(fvec3) ExtInst 1(GLSL.std.450) 46(FMix) 319 320 322
Store 29
0(f64v3) 323
32
4: 149(fvec3) Load 265
(f64v1)
32
5: 149(fvec3) Load 264
(f64v2)
32
6: 149(fvec3) Load 290
(f64v3)
32
7: 149(fvec3) ExtInst 1(GLSL.std.450) 46(FMix) 324 325 326
Store 29
0(f64v3) 327
3
28: 149(fvec3) Load 265
(f64v1)
3
29: 149(fvec3) Load 264
(f64v2)
33
1: 152(bvec3) Load 330
(bv)
33
2: 149(fvec3) Select 331 329 328
Store 29
0(f64v3) 332
33
3: 149(fvec3) Load 265
(f64v1)
33
4: 149(fvec3) Load 264
(f64v2)
33
5: 149(fvec3) ExtInst 1(GLSL.std.450) 48(Step) 333 334
Store 29
0(f64v3) 335
33
6: 26(float) Load 286
(f64)
33
7: 149(fvec3) Load 290
(f64v3)
3
38: 149(fvec3) CompositeConstruct 336 336 336
3
39: 149(fvec3) ExtInst 1(GLSL.std.450) 48(Step) 338 337
Store 29
0(f64v3) 339
34
0: 149(fvec3) Load 265
(f64v1)
34
1: 149(fvec3) Load 264
(f64v2)
34
2: 149(fvec3) Load 290
(f64v3)
34
3: 149(fvec3) ExtInst 1(GLSL.std.450) 49(SmoothStep) 340 341 342
Store 29
0(f64v3) 343
34
4: 26(float) Load 286
(f64)
34
5: 33(ptr) AccessChain 265
(f64v1) 32
34
6: 26(float) Load 345
34
7: 149(fvec3) Load 264
(f64v2)
3
48: 149(fvec3) CompositeConstruct 344 344 344
3
49: 149(fvec3) CompositeConstruct 346 346 346
35
0: 149(fvec3) ExtInst 1(GLSL.std.450) 49(SmoothStep) 348 349 347
Store 29
0(f64v3) 350
35
2: 26(float) Load 286
(f64)
35
3: 107(bool) IsNan 352
Store 35
1(b) 353
35
4: 149(fvec3) Load 265
(f64v1)
35
5: 152(bvec3) IsInf 354
Store 33
0(bv) 355
35
6: 149(fvec3) Load 265
(f64v1)
35
7: 149(fvec3) Load 264
(f64v2)
3
58: 149(fvec3) Load 290
(f64v3)
3
59: 149(fvec3) ExtInst 1(GLSL.std.450) 50(Fma) 356 357 358
Store 29
0(f64v3) 359
36
0: 149(fvec3) Load 265
(f64v1)
36
3:362(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 360
36
4: 183(ivec3) CompositeExtract 363
1
Store 36
1(iv) 364
36
5: 149(fvec3) CompositeExtract 363
0
Store 26
4(f64v2) 365
36
6: 149(fvec3) Load 265
(f64v1)
36
7: 183(ivec3) Load 361
(iv)
3
68: 149(fvec3) ExtInst 1(GLSL.std.450) 53(Ldexp) 366 367
Store 26
4(f64v2) 368
26
6
(f64v2): 150(ptr) Variable Function
26
7
(f64v1): 150(ptr) Variable Function
28
8
(f64): 33(ptr) Variable Function
29
2
(f64v3): 150(ptr) Variable Function
33
2
(bv): 153(ptr) Variable Function
35
3
(b): 108(ptr) Variable Function
36
3
(iv): 184(ptr) Variable Function
26
8: 149(fvec3) Load 267
(f64v1)
26
9: 149(fvec3) ExtInst 1(GLSL.std.450) 4(FAbs) 268
Store 26
6(f64v2) 269
2
70: 149(fvec3) Load 267
(f64v1)
2
71: 149(fvec3) ExtInst 1(GLSL.std.450) 6(FSign) 270
Store 26
6(f64v2) 271
27
2: 149(fvec3) Load 267
(f64v1)
27
3: 149(fvec3) ExtInst 1(GLSL.std.450) 8(Floor) 272
Store 26
6(f64v2) 273
27
4: 149(fvec3) Load 267
(f64v1)
27
5: 149(fvec3) ExtInst 1(GLSL.std.450) 3(Trunc) 274
Store 26
6(f64v2) 275
27
6: 149(fvec3) Load 267
(f64v1)
27
7: 149(fvec3) ExtInst 1(GLSL.std.450) 1(Round) 276
Store 26
6(f64v2) 277
27
8: 149(fvec3) Load 267
(f64v1)
27
9: 149(fvec3) ExtInst 1(GLSL.std.450) 2(RoundEven) 278
Store 26
6(f64v2) 279
2
80: 149(fvec3) Load 267
(f64v1)
2
81: 149(fvec3) ExtInst 1(GLSL.std.450) 9(Ceil) 280
Store 26
6(f64v2) 281
28
2: 149(fvec3) Load 267
(f64v1)
28
3: 149(fvec3) ExtInst 1(GLSL.std.450) 10(Fract) 282
Store 26
6(f64v2) 283
28
4: 149(fvec3) Load 267
(f64v1)
28
5: 149(fvec3) Load 266
(f64v2)
28
6: 149(fvec3) FMod 284 285
Store 26
6(f64v2) 286
28
7: 149(fvec3) Load 267
(f64v1)
28
9: 26(float) Load 288
(f64)
2
90: 149(fvec3) CompositeConstruct 289 289 289
2
91: 149(fvec3) FMod 287 290
Store 26
6(f64v2) 291
29
3: 149(fvec3) Load 267
(f64v1)
29
4: 149(fvec3) ExtInst 1(GLSL.std.450) 35(Modf) 293 266
(f64v2)
Store 29
2(f64v3) 294
29
5: 149(fvec3) Load 267
(f64v1)
29
6: 149(fvec3) Load 266
(f64v2)
29
7: 149(fvec3) ExtInst 1(GLSL.std.450) 37(FMin) 295 296
Store 29
2(f64v3) 297
29
8: 149(fvec3) Load 267
(f64v1)
29
9: 26(float) Load 288
(f64)
300: 149(fvec3) CompositeConstruct 299 299 299
301: 149(fvec3) ExtInst 1(GLSL.std.450) 37(FMin) 298 300
Store 29
2(f64v3) 301
30
2: 149(fvec3) Load 267
(f64v1)
30
3: 149(fvec3) Load 266
(f64v2)
30
4: 149(fvec3) ExtInst 1(GLSL.std.450) 40(FMax) 302 303
Store 29
2(f64v3) 304
30
5: 149(fvec3) Load 267
(f64v1)
30
6: 26(float) Load 288
(f64)
30
7: 149(fvec3) CompositeConstruct 306 306 306
30
8: 149(fvec3) ExtInst 1(GLSL.std.450) 40(FMax) 305 307
Store 29
2(f64v3) 308
30
9: 149(fvec3) Load 267
(f64v1)
3
10: 26(float) Load 288
(f64)
3
11: 33(ptr) AccessChain 266
(f64v2) 32
31
2: 26(float) Load 311
31
3: 149(fvec3) CompositeConstruct 310 310 310
31
4: 149(fvec3) CompositeConstruct 312 312 312
31
5: 149(fvec3) ExtInst 1(GLSL.std.450) 43(FClamp) 309 313 314
Store 29
2(f64v3) 315
31
6: 149(fvec3) Load 267
(f64v1)
31
7: 149(fvec3) Load 266
(f64v2)
31
8: 26(float) Load 288
(f64)
31
9: 149(fvec3) CompositeConstruct 318 318 318
3
20: 149(fvec3) ExtInst 1(GLSL.std.450) 43(FClamp) 316 317 319
Store 29
2(f64v3) 320
3
21: 149(fvec3) Load 267
(f64v1)
32
2: 149(fvec3) Load 266
(f64v2)
32
3: 26(float) Load 288
(f64)
32
4: 149(fvec3) CompositeConstruct 323 323 323
32
5: 149(fvec3) ExtInst 1(GLSL.std.450) 46(FMix) 321 322 324
Store 29
2(f64v3) 325
32
6: 149(fvec3) Load 267
(f64v1)
32
7: 149(fvec3) Load 266
(f64v2)
32
8: 149(fvec3) Load 292
(f64v3)
32
9: 149(fvec3) ExtInst 1(GLSL.std.450) 46(FMix) 326 327 328
Store 29
2(f64v3) 329
3
30: 149(fvec3) Load 267
(f64v1)
3
31: 149(fvec3) Load 266
(f64v2)
33
3: 152(bvec3) Load 332
(bv)
33
4: 149(fvec3) Select 333 331 330
Store 29
2(f64v3) 334
33
5: 149(fvec3) Load 267
(f64v1)
33
6: 149(fvec3) Load 266
(f64v2)
33
7: 149(fvec3) ExtInst 1(GLSL.std.450) 48(Step) 335 336
Store 29
2(f64v3) 337
33
8: 26(float) Load 288
(f64)
33
9: 149(fvec3) Load 292
(f64v3)
3
40: 149(fvec3) CompositeConstruct 338 338 338
3
41: 149(fvec3) ExtInst 1(GLSL.std.450) 48(Step) 340 339
Store 29
2(f64v3) 341
34
2: 149(fvec3) Load 267
(f64v1)
34
3: 149(fvec3) Load 266
(f64v2)
34
4: 149(fvec3) Load 292
(f64v3)
34
5: 149(fvec3) ExtInst 1(GLSL.std.450) 49(SmoothStep) 342 343 344
Store 29
2(f64v3) 345
34
6: 26(float) Load 288
(f64)
34
7: 33(ptr) AccessChain 267
(f64v1) 32
34
8: 26(float) Load 347
34
9: 149(fvec3) Load 266
(f64v2)
3
50: 149(fvec3) CompositeConstruct 346 346 346
3
51: 149(fvec3) CompositeConstruct 348 348 348
35
2: 149(fvec3) ExtInst 1(GLSL.std.450) 49(SmoothStep) 350 351 349
Store 29
2(f64v3) 352
35
4: 26(float) Load 288
(f64)
35
5: 107(bool) IsNan 354
Store 35
3(b) 355
35
6: 149(fvec3) Load 267
(f64v1)
35
7: 152(bvec3) IsInf 356
Store 33
2(bv) 357
35
8: 149(fvec3) Load 267
(f64v1)
35
9: 149(fvec3) Load 266
(f64v2)
3
60: 149(fvec3) Load 292
(f64v3)
3
61: 149(fvec3) ExtInst 1(GLSL.std.450) 50(Fma) 358 359 360
Store 29
2(f64v3) 361
36
2: 149(fvec3) Load 267
(f64v1)
36
5:364(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 362
36
6: 183(ivec3) CompositeExtract 365
1
Store 36
3(iv) 366
36
7: 149(fvec3) CompositeExtract 365
0
Store 26
6(f64v2) 367
36
8: 149(fvec3) Load 267
(f64v1)
36
9: 183(ivec3) Load 363
(iv)
3
70: 149(fvec3) ExtInst 1(GLSL.std.450) 53(Ldexp) 368 369
Store 26
6(f64v2) 370
Return
FunctionEnd
18(builtinGeometryFuncs(): 2 Function None 3
19: Label
3
69
(f64): 33(ptr) Variable Function
37
0
(f64v1): 150(ptr) Variable Function
37
4
(f64v2): 150(ptr) Variable Function
38
0
(f64v3): 150(ptr) Variable Function
37
1: 149(fvec3) Load 370
(f64v1)
37
2: 26(float) ExtInst 1(GLSL.std.450) 66(Length) 371
Store 3
69(f64) 372
37
3: 149(fvec3) Load 370
(f64v1)
37
5: 149(fvec3) Load 374
(f64v2)
37
6: 26(float) ExtInst 1(GLSL.std.450) 67(Distance) 373 375
Store 3
69(f64) 376
37
7: 149(fvec3) Load 370
(f64v1)
3
78: 149(fvec3) Load 374
(f64v2)
3
79: 26(float) Dot 377 378
Store 3
69(f64) 379
38
1: 149(fvec3) Load 370
(f64v1)
38
2: 149(fvec3) Load 374
(f64v2)
38
3: 149(fvec3) ExtInst 1(GLSL.std.450) 68(Cross) 381 382
Store 38
0(f64v3) 383
38
4: 149(fvec3) Load 370
(f64v1)
38
5: 149(fvec3) ExtInst 1(GLSL.std.450) 69(Normalize) 384
Store 37
4(f64v2) 385
38
6: 149(fvec3) Load 370
(f64v1)
38
7: 149(fvec3) Load 374
(f64v2)
3
88: 149(fvec3) Load 380
(f64v3)
3
89: 149(fvec3) ExtInst 1(GLSL.std.450) 70(FaceForward) 386 387 388
Store 38
0(f64v3) 389
39
0: 149(fvec3) Load 370
(f64v1)
39
1: 149(fvec3) Load 374
(f64v2)
39
2: 149(fvec3) ExtInst 1(GLSL.std.450) 71(Reflect) 390 391
Store 38
0(f64v3) 392
39
3: 149(fvec3) Load 370
(f64v1)
39
4: 149(fvec3) Load 374
(f64v2)
39
5: 26(float) Load 369
(f64)
39
6: 149(fvec3) ExtInst 1(GLSL.std.450) 72(Refract) 393 394 395
Store 38
0(f64v3) 396
3
71
(f64): 33(ptr) Variable Function
37
2
(f64v1): 150(ptr) Variable Function
37
6
(f64v2): 150(ptr) Variable Function
38
2
(f64v3): 150(ptr) Variable Function
37
3: 149(fvec3) Load 372
(f64v1)
37
4: 26(float) ExtInst 1(GLSL.std.450) 66(Length) 373
Store 3
71(f64) 374
37
5: 149(fvec3) Load 372
(f64v1)
37
7: 149(fvec3) Load 376
(f64v2)
37
8: 26(float) ExtInst 1(GLSL.std.450) 67(Distance) 375 377
Store 3
71(f64) 378
37
9: 149(fvec3) Load 372
(f64v1)
3
80: 149(fvec3) Load 376
(f64v2)
3
81: 26(float) Dot 379 380
Store 3
71(f64) 381
38
3: 149(fvec3) Load 372
(f64v1)
38
4: 149(fvec3) Load 376
(f64v2)
38
5: 149(fvec3) ExtInst 1(GLSL.std.450) 68(Cross) 383 384
Store 38
2(f64v3) 385
38
6: 149(fvec3) Load 372
(f64v1)
38
7: 149(fvec3) ExtInst 1(GLSL.std.450) 69(Normalize) 386
Store 37
6(f64v2) 387
38
8: 149(fvec3) Load 372
(f64v1)
38
9: 149(fvec3) Load 376
(f64v2)
3
90: 149(fvec3) Load 382
(f64v3)
3
91: 149(fvec3) ExtInst 1(GLSL.std.450) 70(FaceForward) 388 389 390
Store 38
2(f64v3) 391
39
2: 149(fvec3) Load 372
(f64v1)
39
3: 149(fvec3) Load 376
(f64v2)
39
4: 149(fvec3) ExtInst 1(GLSL.std.450) 71(Reflect) 392 393
Store 38
2(f64v3) 394
39
5: 149(fvec3) Load 372
(f64v1)
39
6: 149(fvec3) Load 376
(f64v2)
39
7: 26(float) Load 371
(f64)
39
8: 149(fvec3) ExtInst 1(GLSL.std.450) 72(Refract) 395 396 397
Store 38
2(f64v3) 398
Return
FunctionEnd
20(builtinMatrixFuncs(): 2 Function None 3
21: Label
399(f64m3): 398
(ptr) Variable Function
40
0(f64m1): 398
(ptr) Variable Function
40
2(f64m2): 398
(ptr) Variable Function
41
1
(f64v1): 150(ptr) Variable Function
41
3
(f64v2): 28(ptr) Variable Function
4
18(f64m4): 417
(ptr) Variable Function
42
1
(f64): 33(ptr) Variable Function
42
4(f64m5): 423
(ptr) Variable Function
4
29(f64m6): 428
(ptr) Variable Function
43
0(f64m7): 428
(ptr) Variable Function
40
1: 397 Load 400
(f64m1)
40
3: 397 Load 402
(f64m2)
40
4: 149(fvec3) CompositeExtract 401
0
40
5: 149(fvec3) CompositeExtract 403
0
40
6: 149(fvec3) FMul 404 405
40
7: 149(fvec3) CompositeExtract 401
1
4
08: 149(fvec3) CompositeExtract 403
1
4
09: 149(fvec3) FMul 407 408
41
0: 397 CompositeConstruct 406 409
Store
399(f64m3) 410
41
2: 149(fvec3) Load 411
(f64v1)
41
4: 27(fvec2) Load 413
(f64v2)
41
5: 397 OuterProduct 412 414
Store 40
0(f64m1) 415
4
19: 397 Load 400
(f64m1)
42
0: 416 Transpose 419
Store 4
18(f64m4) 420
42
5: 422 Load 424
(f64m5)
42
6: 26(float) ExtInst 1(GLSL.std.450) 33(Determinant) 425
Store 42
1(f64) 426
43
1: 427 Load 430
(f64m7)
43
2: 427 ExtInst 1(GLSL.std.450) 34(MatrixInverse) 431
Store 4
29(f64m6) 432
401(f64m3): 400
(ptr) Variable Function
40
2(f64m1): 400
(ptr) Variable Function
40
4(f64m2): 400
(ptr) Variable Function
41
3
(f64v1): 150(ptr) Variable Function
41
5
(f64v2): 28(ptr) Variable Function
4
20(f64m4): 419
(ptr) Variable Function
42
3
(f64): 33(ptr) Variable Function
42
6(f64m5): 425
(ptr) Variable Function
4
31(f64m6): 430
(ptr) Variable Function
43
2(f64m7): 430
(ptr) Variable Function
40
3: 399 Load 402
(f64m1)
40
5: 399 Load 404
(f64m2)
40
6: 149(fvec3) CompositeExtract 403
0
40
7: 149(fvec3) CompositeExtract 405
0
40
8: 149(fvec3) FMul 406 407
40
9: 149(fvec3) CompositeExtract 403
1
4
10: 149(fvec3) CompositeExtract 405
1
4
11: 149(fvec3) FMul 409 410
41
2: 399 CompositeConstruct 408 411
Store
401(f64m3) 412
41
4: 149(fvec3) Load 413
(f64v1)
41
6: 27(fvec2) Load 415
(f64v2)
41
7: 399 OuterProduct 414 416
Store 40
2(f64m1) 417
4
21: 399 Load 402
(f64m1)
42
2: 418 Transpose 421
Store 4
20(f64m4) 422
42
7: 424 Load 426
(f64m5)
42
8: 26(float) ExtInst 1(GLSL.std.450) 33(Determinant) 427
Store 42
3(f64) 428
43
3: 429 Load 432
(f64m7)
43
4: 429 ExtInst 1(GLSL.std.450) 34(MatrixInverse) 433
Store 4
31(f64m6) 434
Return
FunctionEnd
22(builtinVecRelFuncs(): 2 Function None 3
23: Label
43
3
(bv): 153(ptr) Variable Function
43
4
(f64v1): 150(ptr) Variable Function
43
6
(f64v2): 150(ptr) Variable Function
43
5: 149(fvec3) Load 434
(f64v1)
43
7: 149(fvec3) Load 436
(f64v2)
4
38: 152(bvec3) FOrdLessThan 435 437
Store 43
3(bv) 438
4
39: 149(fvec3) Load 434
(f64v1)
44
0: 149(fvec3) Load 436
(f64v2)
44
1: 152(bvec3) FOrdLessThanEqual 439 440
Store 43
3(bv) 441
44
2: 149(fvec3) Load 434
(f64v1)
44
3: 149(fvec3) Load 436
(f64v2)
44
4: 152(bvec3) FOrdGreaterThan 442 443
Store 43
3(bv) 444
44
5: 149(fvec3) Load 434
(f64v1)
44
6: 149(fvec3) Load 436
(f64v2)
44
7: 152(bvec3) FOrdGreaterThanEqual 445 446
Store 43
3(bv) 447
4
48: 149(fvec3) Load 434
(f64v1)
4
49: 149(fvec3) Load 436
(f64v2)
45
0: 152(bvec3) FOrdEqual 448 449
Store 43
3(bv) 450
45
1: 149(fvec3) Load 434
(f64v1)
45
2: 149(fvec3) Load 436
(f64v2)
45
3: 152(bvec3) FOrdNotEqual 451 452
Store 43
3(bv) 453
43
5
(bv): 153(ptr) Variable Function
43
6
(f64v1): 150(ptr) Variable Function
43
8
(f64v2): 150(ptr) Variable Function
43
7: 149(fvec3) Load 436
(f64v1)
43
9: 149(fvec3) Load 438
(f64v2)
4
40: 152(bvec3) FOrdLessThan 437 439
Store 43
5(bv) 440
4
41: 149(fvec3) Load 436
(f64v1)
44
2: 149(fvec3) Load 438
(f64v2)
44
3: 152(bvec3) FOrdLessThanEqual 441 442
Store 43
5(bv) 443
44
4: 149(fvec3) Load 436
(f64v1)
44
5: 149(fvec3) Load 438
(f64v2)
44
6: 152(bvec3) FOrdGreaterThan 444 445
Store 43
5(bv) 446
44
7: 149(fvec3) Load 436
(f64v1)
44
8: 149(fvec3) Load 438
(f64v2)
44
9: 152(bvec3) FOrdGreaterThanEqual 447 448
Store 43
5(bv) 449
4
50: 149(fvec3) Load 436
(f64v1)
4
51: 149(fvec3) Load 438
(f64v2)
45
2: 152(bvec3) FOrdEqual 450 451
Store 43
5(bv) 452
45
3: 149(fvec3) Load 436
(f64v1)
45
4: 149(fvec3) Load 438
(f64v2)
45
5: 152(bvec3) FOrdNotEqual 453 454
Store 43
5(bv) 455
Return
FunctionEnd
24(builtinFragProcFuncs(): 2 Function None 3
25: Label
454(f64v): 150(ptr) Variable Function
458: 457(ptr) AccessChain 456(if64v) 32
459: 26(float) Load 458
460: 26(float) DPdx 459
461: 33(ptr) AccessChain 454(f64v) 32
Store 461 460
462: 457(ptr) AccessChain 456(if64v) 88
463: 26(float) Load 462
464: 26(float) DPdy 463
465: 33(ptr) AccessChain 454(f64v) 88
Store 465 464
466: 149(fvec3) Load 456(if64v)
467: 27(fvec2) VectorShuffle 466 466 0 1
468: 27(fvec2) DPdxFine 467
469: 149(fvec3) Load 454(f64v)
470: 149(fvec3) VectorShuffle 469 468 3 4 2
Store 454(f64v) 470
471: 149(fvec3) Load 456(if64v)
472: 27(fvec2) VectorShuffle 471 471 0 1
473: 27(fvec2) DPdyFine 472
474: 149(fvec3) Load 454(f64v)
475: 149(fvec3) VectorShuffle 474 473 3 4 2
Store 454(f64v) 475
476: 149(fvec3) Load 456(if64v)
477: 149(fvec3) DPdxCoarse 476
Store 454(f64v) 477
478: 149(fvec3) Load 456(if64v)
456(f64v): 150(ptr) Variable Function
460: 459(ptr) AccessChain 458(if64v) 32
461: 26(float) Load 460
462: 26(float) DPdx 461
463: 33(ptr) AccessChain 456(f64v) 32
Store 463 462
464: 459(ptr) AccessChain 458(if64v) 88
465: 26(float) Load 464
466: 26(float) DPdy 465
467: 33(ptr) AccessChain 456(f64v) 88
Store 467 466
468: 149(fvec3) Load 458(if64v)
469: 27(fvec2) VectorShuffle 468 468 0 1
470: 27(fvec2) DPdxFine 469
471: 149(fvec3) Load 456(f64v)
472: 149(fvec3) VectorShuffle 471 470 3 4 2
Store 456(f64v) 472
473: 149(fvec3) Load 458(if64v)
474: 27(fvec2) VectorShuffle 473 473 0 1
475: 27(fvec2) DPdyFine 474
476: 149(fvec3) Load 456(f64v)
477: 149(fvec3) VectorShuffle 476 475 3 4 2
Store 456(f64v) 477
478: 149(fvec3) Load 458(if64v)
479: 149(fvec3) DPdxCoarse 478
Store 454(f64v) 479
480: 457(ptr) AccessChain 456(if64v) 32
481: 26(float) Load 480
482: 26(float) Fwidth 481
483: 33(ptr) AccessChain 454(f64v) 32
Store 483 482
484: 149(fvec3) Load 456(if64v)
485: 27(fvec2) VectorShuffle 484 484 0 1
486: 27(fvec2) FwidthFine 485
487: 149(fvec3) Load 454(f64v)
488: 149(fvec3) VectorShuffle 487 486 3 4 2
Store 454(f64v) 488
489: 149(fvec3) Load 456(if64v)
490: 149(fvec3) FwidthCoarse 489
Store 454(f64v) 490
491: 457(ptr) AccessChain 456(if64v) 32
492: 26(float) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 491
493: 33(ptr) AccessChain 454(f64v) 32
Store 493 492
495: 149(fvec3) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 456(if64v) 494
496: 27(fvec2) VectorShuffle 495 495 0 1
497: 149(fvec3) Load 454(f64v)
498: 149(fvec3) VectorShuffle 497 496 3 4 2
Store 454(f64v) 498
501: 149(fvec3) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 456(if64v) 500
Store 454(f64v) 501
Store 456(f64v) 479
480: 149(fvec3) Load 458(if64v)
481: 149(fvec3) DPdxCoarse 480
Store 456(f64v) 481
482: 459(ptr) AccessChain 458(if64v) 32
483: 26(float) Load 482
484: 26(float) Fwidth 483
485: 33(ptr) AccessChain 456(f64v) 32
Store 485 484
486: 149(fvec3) Load 458(if64v)
487: 27(fvec2) VectorShuffle 486 486 0 1
488: 27(fvec2) FwidthFine 487
489: 149(fvec3) Load 456(f64v)
490: 149(fvec3) VectorShuffle 489 488 3 4 2
Store 456(f64v) 490
491: 149(fvec3) Load 458(if64v)
492: 149(fvec3) FwidthCoarse 491
Store 456(f64v) 492
493: 459(ptr) AccessChain 458(if64v) 32
494: 26(float) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 493
495: 33(ptr) AccessChain 456(f64v) 32
Store 495 494
497: 149(fvec3) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 458(if64v) 496
498: 27(fvec2) VectorShuffle 497 497 0 1
499: 149(fvec3) Load 456(f64v)
500: 149(fvec3) VectorShuffle 499 498 3 4 2
Store 456(f64v) 500
503: 149(fvec3) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 458(if64v) 502
Store 456(f64v) 503
Return
FunctionEnd
Test/baseResults/spv.int16.amd.frag.out
View file @
1790a40c
spv.int16.amd.frag
// Module Version 10000
// Generated by (magic number): 80004
// Id's are bound by 5
58
// Id's are bound by 5
60
Capability Shader
Capability Float16
...
...
@@ -15,7 +15,7 @@ spv.int16.amd.frag
Extension "SPV_KHR_16bit_storage"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 51
7 519
EntryPoint Fragment 4 "main" 51
9 521
ExecutionMode 4 OriginUpperLeft
Source GLSL 450
SourceExtension "GL_AMD_gpu_shader_half_float"
...
...
@@ -26,10 +26,10 @@ spv.int16.amd.frag
Name 8 "operators("
Name 10 "typeCast("
Name 12 "builtinFuncs("
Name 1
7
"u16"
Name 2
6
"Uniforms"
MemberName 2
6
(Uniforms) 0 "i"
Name 2
8
""
Name 1
6
"u16"
Name 2
5
"Uniforms"
MemberName 2
5
(Uniforms) 0 "i"
Name 2
7
""
Name 34 "indexable"
Name 45 "indexable"
Name 51 "u16v"
...
...
@@ -37,235 +37,237 @@ spv.int16.amd.frag
Name 70 "u16"
Name 127 "b"
Name 148 "u"
Name 15
8
"i"
Name 18
8
"i16v"
Name 19
1
"bv"
Name
199
"u16v"
Name 21
1
"iv"
Name 22
4
"uv"
Name 2
38
"fv"
Name 25
0
"dv"
Name 26
2
"f16v"
Name 27
4
"i64v"
Name 2
88
"u64v"
Name 30
3
"i16v"
Name 3
09
"i16"
Name 31
7
"u16v"
Name 3
19
"u16"
Name 39
1
"f16v"
Name 39
4
"exp"
Name 39
5
"ResType"
Name 41
6
"packi"
Name 42
1
"packu"
Name 43
0
"packi64"
Name 4
39
"packu64"
Name 4
48
"bv"
Name 51
3
"Block"
MemberName 51
3
(Block) 0 "i16v"
MemberName 51
3
(Block) 1 "u16"
Name 51
5
"block"
Name 51
7
"iu16v"
Name 5
19
"ii16"
Name 52
0
"si64"
Name 52
1
"su64"
Name 52
2
"si"
Name 52
3
"su"
Name 52
4
"sb"
Name 52
5
"si16"
Name 52
6
"su16"
MemberDecorate 2
6
(Uniforms) 0 Offset 0
Decorate 2
6
(Uniforms) Block
Decorate 2
8
DescriptorSet 0
Decorate 2
8
Binding 0
MemberDecorate 51
3
(Block) 0 Offset 0
MemberDecorate 51
3
(Block) 1 Offset 6
Decorate 51
3
(Block) Block
Decorate 51
5
(block) DescriptorSet 0
Decorate 51
5
(block) Binding 1
Decorate 51
7
(iu16v) Flat
Decorate 51
7
(iu16v) Location 0
Decorate 5
19
(ii16) Flat
Decorate 5
19
(ii16) Location 1
Decorate 52
0
(si64) SpecId 100
Decorate 52
1
(su64) SpecId 101
Decorate 52
2
(si) SpecId 102
Decorate 52
3
(su) SpecId 103
Decorate 52
4
(sb) SpecId 104
Decorate 52
5
(si16) SpecId 105
Decorate 52
6
(su16) SpecId 106
Name 15
9
"i"
Name 18
9
"i16v"
Name 19
2
"bv"
Name
200
"u16v"
Name 21
3
"iv"
Name 22
6
"uv"
Name 2
40
"fv"
Name 25
2
"dv"
Name 26
4
"f16v"
Name 27
6
"i64v"
Name 2
90
"u64v"
Name 30
5
"i16v"
Name 3
11
"i16"
Name 31
9
"u16v"
Name 3
21
"u16"
Name 39
3
"f16v"
Name 39
6
"exp"
Name 39
7
"ResType"
Name 41
8
"packi"
Name 42
3
"packu"
Name 43
2
"packi64"
Name 4
41
"packu64"
Name 4
50
"bv"
Name 51
5
"Block"
MemberName 51
5
(Block) 0 "i16v"
MemberName 51
5
(Block) 1 "u16"
Name 51
7
"block"
Name 51
9
"iu16v"
Name 5
21
"ii16"
Name 52
2
"si64"
Name 52
3
"su64"
Name 52
4
"si"
Name 52
5
"su"
Name 52
6
"sb"
Name 52
7
"si16"
Name 52
8
"su16"
MemberDecorate 2
5
(Uniforms) 0 Offset 0
Decorate 2
5
(Uniforms) Block
Decorate 2
7
DescriptorSet 0
Decorate 2
7
Binding 0
MemberDecorate 51
5
(Block) 0 Offset 0
MemberDecorate 51
5
(Block) 1 Offset 6
Decorate 51
5
(Block) Block
Decorate 51
7
(block) DescriptorSet 0
Decorate 51
7
(block) Binding 1
Decorate 51
9
(iu16v) Flat
Decorate 51
9
(iu16v) Location 0
Decorate 5
21
(ii16) Flat
Decorate 5
21
(ii16) Location 1
Decorate 52
2
(si64) SpecId 100
Decorate 52
3
(su64) SpecId 101
Decorate 52
4
(si) SpecId 102
Decorate 52
5
(su) SpecId 103
Decorate 52
6
(sb) SpecId 104
Decorate 52
7
(si16) SpecId 105
Decorate 52
8
(su16) SpecId 106
2: TypeVoid
3: TypeFunction 2
14: TypeInt 16 0
15: Type
Int 32 1
1
6: TypePointer Function 15(int)
18: TypeInt
16 1
19:
TypeInt 32 0
20:
19(int) Constant 3
21:
TypeArray 18(int) 20
22: 1
8(int) Constant 273
23: 1
8(int) Constant 4294967294
24:
18(int) Constant 256
25: 21 ConstantComposite 22 23 24
26(Uniforms): TypeStruct 19(int
)
27:
TypePointer Uniform 26(Uniforms)
28:
27(ptr) Variable Uniform
29:
15
(int) Constant 0
30: TypePointer Uniform 1
9
(int)
33: TypePointer Function 2
1
35: TypePointer Function 1
8
(int)
39: TypeArray 1
5(int) 20
15: Type
Pointer Function 14(int)
1
7: TypeInt 16 1
18: TypeInt
32 0
19:
18(int) Constant 3
20:
TypeArray 17(int) 19
21:
17(int) Constant 273
22: 1
7(int) Constant 4294967294
23: 1
7(int) Constant 256
24:
20 ConstantComposite 21 22 23
25(Uniforms): TypeStruct 18(int)
26: TypePointer Uniform 25(Uniforms
)
27:
26(ptr) Variable Uniform
28:
TypeInt 32 1
29:
28
(int) Constant 0
30: TypePointer Uniform 1
8
(int)
33: TypePointer Function 2
0
35: TypePointer Function 1
7
(int)
39: TypeArray 1
4(int) 19
40: 14(int) Constant 65535
41: 39 ConstantComposite 40 40 40
44: TypePointer Function 39
49: TypeVector 1
5
(int) 3
49: TypeVector 1
4
(int) 3
50: TypePointer Function 49(ivec3)
53: 1
8
(int) Constant 1
54: TypeVector 1
8
(int) 3
111: 1
9
(int) Constant 1
117: 1
9
(int) Constant 2
53: 1
7
(int) Constant 1
54: TypeVector 1
7
(int) 3
111: 1
8
(int) Constant 1
117: 1
8
(int) Constant 2
125: TypeBool
126: TypePointer Function 125(bool)
128: 19(int) Constant 0
147: TypePointer Function 19(int)
186: TypeVector 18(int) 2
187: TypePointer Function 186(ivec2)
189: TypeVector 125(bool) 2
190: TypePointer Function 189(bvec2)
193: 18(int) Constant 0
194: 186(ivec2) ConstantComposite 193 193
195: 186(ivec2) ConstantComposite 53 53
197: TypeVector 15(int) 2
198: TypePointer Function 197(ivec2)
201: 14(int) Constant 0
202: 14(int) Constant 1
203: TypeVector 14(int) 2
204: 203(ivec2) ConstantComposite 201 201
205: 203(ivec2) ConstantComposite 202 202
222: TypeVector 19(int) 2
223: TypePointer Function 222(ivec2)
235: TypeFloat 32
236: TypeVector 235(float) 2
237: TypePointer Function 236(fvec2)
247: TypeFloat 64
248: TypeVector 247(float) 2
249: TypePointer Function 248(fvec2)
259: TypeFloat 16
260: TypeVector 259(float) 2
261: TypePointer Function 260(fvec2)
271: TypeInt 64 1
272: TypeVector 271(int) 2
273: TypePointer Function 272(ivec2)
285: TypeInt 64 0
286: TypeVector 285(int) 2
287: TypePointer Function 286(ivec2)
314: 18(int) Constant 4294967295
315: 186(ivec2) ConstantComposite 314 314
324: 49(ivec3) ConstantComposite 201 201 201
366: 125(bool) ConstantTrue
373: 125(bool) ConstantFalse
374: 189(bvec2) ConstantComposite 373 373
386: TypeVector 125(bool) 3
387: 386(bvec3) ConstantComposite 373 373 373
389: TypeVector 259(float) 3
390: TypePointer Function 389(fvec3)
393: TypePointer Function 54(ivec3)
395(ResType): TypeStruct 389(fvec3) 54(ivec3)
405: TypePointer Function 259(float)
429: TypePointer Function 271(int)
432: TypeVector 18(int) 4
438: TypePointer Function 285(int)
441: TypeVector 15(int) 4
447: TypePointer Function 386(bvec3)
513(Block): TypeStruct 54(ivec3) 15(int)
514: TypePointer Uniform 513(Block)
515(block): 514(ptr) Variable Uniform
516: TypePointer Input 49(ivec3)
517(iu16v): 516(ptr) Variable Input
518: TypePointer Input 18(int)
519(ii16): 518(ptr) Variable Input
520(si64): 271(int) SpecConstant 4294967286 4294967295
521(su64): 285(int) SpecConstant 20 0
522(si): 15(int) SpecConstant 4294967291
523(su): 19(int) SpecConstant 4
524(sb): 125(bool) SpecConstantTrue
525(si16): 18(int) SpecConstant 4294967291
526(su16): 14(int) SpecConstant 4
527: 125(bool) SpecConstantOp 171 525(si16) 201
528: 125(bool) SpecConstantOp 171 526(su16) 201
529: 18(int) SpecConstantOp 169 524(sb) 53 193
530: 15(int) SpecConstantOp 169 524(sb) 202 201
531: 15(int) SpecConstantOp 114 525(si16)
532: 15(int) SpecConstantOp 113 526(su16)
533: 15(int) SpecConstantOp 128 532 128
534: 18(int) SpecConstantOp 114 522(si)
535: 18(int) SpecConstantOp 114 522(si)
536: 15(int) SpecConstantOp 128 535 201
537: 15(int) SpecConstantOp 114 525(si16)
538: 19(int) SpecConstantOp 128 537 128
539: 19(int) SpecConstantOp 113 526(su16)
540: 18(int) SpecConstantOp 113 523(su)
541: 18(int) SpecConstantOp 128 540 201
542: 15(int) SpecConstantOp 113 523(su)
543: 271(int) SpecConstantOp 114 525(si16)
544: 271(int) SpecConstantOp 113 526(su16)
545: 285(int) Constant 0 0
546: 271(int) SpecConstantOp 128 544 545
547: 18(int) SpecConstantOp 114 520(si64)
548: 18(int) SpecConstantOp 114 520(si64)
549: 15(int) SpecConstantOp 128 548 201
550: 271(int) SpecConstantOp 114 525(si16)
551: 285(int) SpecConstantOp 128 550 545
552: 285(int) SpecConstantOp 113 526(su16)
553: 18(int) SpecConstantOp 113 521(su64)
554: 18(int) SpecConstantOp 128 553 201
555: 15(int) SpecConstantOp 113 521(su64)
556: 15(int) SpecConstantOp 128 525(si16) 201
557: 18(int) SpecConstantOp 128 526(su16) 201
128: 18(int) Constant 0
147: TypePointer Function 18(int)
158: TypePointer Function 28(int)
187: TypeVector 17(int) 2
188: TypePointer Function 187(ivec2)
190: TypeVector 125(bool) 2
191: TypePointer Function 190(bvec2)
194: 17(int) Constant 0
195: 187(ivec2) ConstantComposite 194 194
196: 187(ivec2) ConstantComposite 53 53
198: TypeVector 14(int) 2
199: TypePointer Function 198(ivec2)
202: 14(int) Constant 0
203: 14(int) Constant 1
204: 198(ivec2) ConstantComposite 202 202
205: 198(ivec2) ConstantComposite 203 203
211: TypeVector 28(int) 2
212: TypePointer Function 211(ivec2)
224: TypeVector 18(int) 2
225: TypePointer Function 224(ivec2)
237: TypeFloat 32
238: TypeVector 237(float) 2
239: TypePointer Function 238(fvec2)
249: TypeFloat 64
250: TypeVector 249(float) 2
251: TypePointer Function 250(fvec2)
261: TypeFloat 16
262: TypeVector 261(float) 2
263: TypePointer Function 262(fvec2)
273: TypeInt 64 1
274: TypeVector 273(int) 2
275: TypePointer Function 274(ivec2)
287: TypeInt 64 0
288: TypeVector 287(int) 2
289: TypePointer Function 288(ivec2)
316: 17(int) Constant 4294967295
317: 187(ivec2) ConstantComposite 316 316
326: 49(ivec3) ConstantComposite 202 202 202
368: 125(bool) ConstantTrue
375: 125(bool) ConstantFalse
376: 190(bvec2) ConstantComposite 375 375
388: TypeVector 125(bool) 3
389: 388(bvec3) ConstantComposite 375 375 375
391: TypeVector 261(float) 3
392: TypePointer Function 391(fvec3)
395: TypePointer Function 54(ivec3)
397(ResType): TypeStruct 391(fvec3) 54(ivec3)
407: TypePointer Function 261(float)
431: TypePointer Function 273(int)
434: TypeVector 17(int) 4
440: TypePointer Function 287(int)
443: TypeVector 14(int) 4
449: TypePointer Function 388(bvec3)
515(Block): TypeStruct 54(ivec3) 14(int)
516: TypePointer Uniform 515(Block)
517(block): 516(ptr) Variable Uniform
518: TypePointer Input 49(ivec3)
519(iu16v): 518(ptr) Variable Input
520: TypePointer Input 17(int)
521(ii16): 520(ptr) Variable Input
522(si64): 273(int) SpecConstant 4294967286 4294967295
523(su64): 287(int) SpecConstant 20 0
524(si): 28(int) SpecConstant 4294967291
525(su): 18(int) SpecConstant 4
526(sb): 125(bool) SpecConstantTrue
527(si16): 17(int) SpecConstant 4294967291
528(su16): 14(int) SpecConstant 4
529: 125(bool) SpecConstantOp 171 527(si16) 202
530: 125(bool) SpecConstantOp 171 528(su16) 202
531: 17(int) SpecConstantOp 169 526(sb) 53 194
532: 14(int) SpecConstantOp 169 526(sb) 203 202
533: 28(int) SpecConstantOp 114 527(si16)
534: 28(int) SpecConstantOp 113 528(su16)
535: 28(int) SpecConstantOp 128 534 128
536: 17(int) SpecConstantOp 114 524(si)
537: 17(int) SpecConstantOp 114 524(si)
538: 14(int) SpecConstantOp 128 537 202
539: 28(int) SpecConstantOp 114 527(si16)
540: 18(int) SpecConstantOp 128 539 128
541: 18(int) SpecConstantOp 113 528(su16)
542: 17(int) SpecConstantOp 113 525(su)
543: 17(int) SpecConstantOp 128 542 202
544: 14(int) SpecConstantOp 113 525(su)
545: 273(int) SpecConstantOp 114 527(si16)
546: 273(int) SpecConstantOp 113 528(su16)
547: 287(int) Constant 0 0
548: 273(int) SpecConstantOp 128 546 547
549: 17(int) SpecConstantOp 114 522(si64)
550: 17(int) SpecConstantOp 114 522(si64)
551: 14(int) SpecConstantOp 128 550 202
552: 273(int) SpecConstantOp 114 527(si16)
553: 287(int) SpecConstantOp 128 552 547
554: 287(int) SpecConstantOp 113 528(su16)
555: 17(int) SpecConstantOp 113 523(su64)
556: 17(int) SpecConstantOp 128 555 202
557: 14(int) SpecConstantOp 113 523(su64)
558: 14(int) SpecConstantOp 128 527(si16) 202
559: 17(int) SpecConstantOp 128 528(su16) 202
4(main): 2 Function None 3
5: Label
5
09
: 2 FunctionCall 6(literal()
51
0
: 2 FunctionCall 8(operators()
51
1
: 2 FunctionCall 10(typeCast()
51
2
: 2 FunctionCall 12(builtinFuncs()
5
11
: 2 FunctionCall 6(literal()
51
2
: 2 FunctionCall 8(operators()
51
3
: 2 FunctionCall 10(typeCast()
51
4
: 2 FunctionCall 12(builtinFuncs()
Return
FunctionEnd
6(literal(): 2 Function None 3
7: Label
1
7(u16): 16
(ptr) Variable Function
1
6(u16): 15
(ptr) Variable Function
34(indexable): 33(ptr) Variable Function
45(indexable): 44(ptr) Variable Function
31: 30(ptr) AccessChain 2
8
29
32: 1
9
(int) Load 31
Store 34(indexable) 2
5
31: 30(ptr) AccessChain 2
7
29
32: 1
8
(int) Load 31
Store 34(indexable) 2
4
36: 35(ptr) AccessChain 34(indexable) 32
37: 1
8
(int) Load 36
38: 1
5
(int) Bitcast 37
42: 30(ptr) AccessChain 2
8
29
43: 1
9
(int) Load 42
37: 1
7
(int) Load 36
38: 1
4
(int) Bitcast 37
42: 30(ptr) AccessChain 2
7
29
43: 1
8
(int) Load 42
Store 45(indexable) 41
46: 1
6
(ptr) AccessChain 45(indexable) 43
47: 1
5
(int) Load 46
48: 1
5
(int) IAdd 38 47
Store 1
7
(u16) 48
46: 1
5
(ptr) AccessChain 45(indexable) 43
47: 1
4
(int) Load 46
48: 1
4
(int) IAdd 38 47
Store 1
6
(u16) 48
Return
FunctionEnd
8(operators(): 2 Function None 3
9: Label
51(u16v): 50(ptr) Variable Function
57(i16): 35(ptr) Variable Function
70(u16): 1
6
(ptr) Variable Function
70(u16): 1
5
(ptr) Variable Function
127(b): 126(ptr) Variable Function
148(u): 147(ptr) Variable Function
15
8(i): 16
(ptr) Variable Function
15
9(i): 158
(ptr) Variable Function
52: 49(ivec3) Load 51(u16v)
55: 54(ivec3) CompositeConstruct 53 53 53
56: 49(ivec3) IAdd 52 55
Store 51(u16v) 56
58: 1
8
(int) Load 57(i16)
59: 1
8
(int) ISub 58 53
58: 1
7
(int) Load 57(i16)
59: 1
7
(int) ISub 58 53
Store 57(i16) 59
60: 1
8
(int) Load 57(i16)
61: 1
8
(int) IAdd 60 53
60: 1
7
(int) Load 57(i16)
61: 1
7
(int) IAdd 60 53
Store 57(i16) 61
62: 49(ivec3) Load 51(u16v)
63: 54(ivec3) CompositeConstruct 53 53 53
...
...
@@ -274,30 +276,30 @@ spv.int16.amd.frag
65: 49(ivec3) Load 51(u16v)
66: 49(ivec3) Not 65
Store 51(u16v) 66
67: 1
8
(int) Load 57(i16)
67: 1
7
(int) Load 57(i16)
Store 57(i16) 67
68: 49(ivec3) Load 51(u16v)
69: 49(ivec3) SNegate 68
Store 51(u16v) 69
71: 1
8
(int) Load 57(i16)
72: 1
5
(int) Bitcast 71
73: 1
5
(int) Load 70(u16)
74: 1
5
(int) IAdd 73 72
71: 1
7
(int) Load 57(i16)
72: 1
4
(int) Bitcast 71
73: 1
4
(int) Load 70(u16)
74: 1
4
(int) IAdd 73 72
Store 70(u16) 74
75: 49(ivec3) Load 51(u16v)
76: 49(ivec3) Load 51(u16v)
77: 49(ivec3) ISub 76 75
Store 51(u16v) 77
78: 1
8
(int) Load 57(i16)
79: 1
8
(int) Load 57(i16)
80: 1
8
(int) IMul 79 78
78: 1
7
(int) Load 57(i16)
79: 1
7
(int) Load 57(i16)
80: 1
7
(int) IMul 79 78
Store 57(i16) 80
81: 49(ivec3) Load 51(u16v)
82: 49(ivec3) Load 51(u16v)
83: 49(ivec3) UDiv 82 81
Store 51(u16v) 83
84: 1
8
(int) Load 57(i16)
85: 1
5
(int) Bitcast 84
84: 1
7
(int) Load 57(i16)
85: 1
4
(int) Bitcast 84
86: 49(ivec3) Load 51(u16v)
87: 49(ivec3) CompositeConstruct 85 85 85
88: 49(ivec3) UMod 86 87
...
...
@@ -306,471 +308,471 @@ spv.int16.amd.frag
90: 49(ivec3) Load 51(u16v)
91: 49(ivec3) IAdd 89 90
Store 51(u16v) 91
92: 1
8
(int) Load 57(i16)
93: 1
5
(int) Bitcast 92
94: 1
5
(int) Load 70(u16)
95: 1
5
(int) ISub 93 94
92: 1
7
(int) Load 57(i16)
93: 1
4
(int) Bitcast 92
94: 1
4
(int) Load 70(u16)
95: 1
4
(int) ISub 93 94
Store 70(u16) 95
96: 49(ivec3) Load 51(u16v)
97: 1
8
(int) Load 57(i16)
98: 1
5
(int) Bitcast 97
97: 1
7
(int) Load 57(i16)
98: 1
4
(int) Bitcast 97
99: 49(ivec3) CompositeConstruct 98 98 98
100: 49(ivec3) IMul 96 99
Store 51(u16v) 100
101: 1
8
(int) Load 57(i16)
102: 1
8
(int) Load 57(i16)
103: 1
8
(int) IMul 101 102
101: 1
7
(int) Load 57(i16)
102: 1
7
(int) Load 57(i16)
103: 1
7
(int) IMul 101 102
Store 57(i16) 103
104: 1
8
(int) Load 57(i16)
105: 1
8
(int) Load 57(i16)
106: 1
8
(int) SMod 104 105
104: 1
7
(int) Load 57(i16)
105: 1
7
(int) Load 57(i16)
106: 1
7
(int) SMod 104 105
Store 57(i16) 106
107: 1
8
(int) Load 57(i16)
107: 1
7
(int) Load 57(i16)
108: 49(ivec3) Load 51(u16v)
109: 54(ivec3) CompositeConstruct 107 107 107
110: 49(ivec3) ShiftLeftLogical 108 109
Store 51(u16v) 110
112: 1
6
(ptr) AccessChain 51(u16v) 111
113: 1
5
(int) Load 112
114: 1
8
(int) Load 57(i16)
115: 1
8
(int) ShiftRightArithmetic 114 113
112: 1
5
(ptr) AccessChain 51(u16v) 111
113: 1
4
(int) Load 112
114: 1
7
(int) Load 57(i16)
115: 1
7
(int) ShiftRightArithmetic 114 113
Store 57(i16) 115
116: 1
8
(int) Load 57(i16)
118: 1
6
(ptr) AccessChain 51(u16v) 117
119: 1
5
(int) Load 118
120: 1
8
(int) ShiftLeftLogical 116 119
116: 1
7
(int) Load 57(i16)
118: 1
5
(ptr) AccessChain 51(u16v) 117
119: 1
4
(int) Load 118
120: 1
7
(int) ShiftLeftLogical 116 119
Store 57(i16) 120
121: 49(ivec3) Load 51(u16v)
122: 1
8
(int) Load 57(i16)
122: 1
7
(int) Load 57(i16)
123: 54(ivec3) CompositeConstruct 122 122 122
124: 49(ivec3) ShiftLeftLogical 121 123
Store 51(u16v) 124
129: 1
6
(ptr) AccessChain 51(u16v) 128
130: 1
5
(int) Load 129
131: 1
8
(int) Load 57(i16)
132: 1
5
(int) Bitcast 131
129: 1
5
(ptr) AccessChain 51(u16v) 128
130: 1
4
(int) Load 129
131: 1
7
(int) Load 57(i16)
132: 1
4
(int) Bitcast 131
133: 125(bool) INotEqual 130 132
Store 127(b) 133
134: 1
8
(int) Load 57(i16)
135: 1
5
(int) Bitcast 134
136: 1
6
(ptr) AccessChain 51(u16v) 128
137: 1
5
(int) Load 136
134: 1
7
(int) Load 57(i16)
135: 1
4
(int) Bitcast 134
136: 1
5
(ptr) AccessChain 51(u16v) 128
137: 1
4
(int) Load 136
138: 125(bool) IEqual 135 137
Store 127(b) 138
139: 1
6
(ptr) AccessChain 51(u16v) 128
140: 1
5
(int) Load 139
141: 1
6
(ptr) AccessChain 51(u16v) 111
142: 1
5
(int) Load 141
139: 1
5
(ptr) AccessChain 51(u16v) 128
140: 1
4
(int) Load 139
141: 1
5
(ptr) AccessChain 51(u16v) 111
142: 1
4
(int) Load 141
143: 125(bool) UGreaterThan 140 142
Store 127(b) 143
144: 1
8
(int) Load 57(i16)
145:
15
(int) SConvert 144
146: 1
9
(int) Bitcast 145
149: 1
9
(int) Load 148(u)
144: 1
7
(int) Load 57(i16)
145:
28
(int) SConvert 144
146: 1
8
(int) Bitcast 145
149: 1
8
(int) Load 148(u)
150: 125(bool) ULessThan 146 149
Store 127(b) 150
151: 1
6
(ptr) AccessChain 51(u16v) 111
152: 1
5
(int) Load 151
153: 1
6
(ptr) AccessChain 51(u16v) 128
154: 1
5
(int) Load 153
151: 1
5
(ptr) AccessChain 51(u16v) 111
152: 1
4
(int) Load 151
153: 1
5
(ptr) AccessChain 51(u16v) 128
154: 1
4
(int) Load 153
155: 125(bool) UGreaterThanEqual 152 154
Store 127(b) 155
156: 18(int) Load 57(i16)
157: 15(int) SConvert 156
159: 15(int) Load 158(i)
160: 125(bool) SLessThanEqual 157 159
Store 127(b) 160
161: 18(int) Load 57(i16)
162: 15(int) Bitcast 161
163: 49(ivec3) Load 51(u16v)
164: 49(ivec3) CompositeConstruct 162 162 162
165: 49(ivec3) BitwiseOr 163 164
Store 51(u16v) 165
166: 18(int) Load 57(i16)
167: 15(int) Bitcast 166
168: 15(int) Load 70(u16)
169: 15(int) BitwiseOr 167 168
Store 70(u16) 169
170: 18(int) Load 57(i16)
171: 18(int) Load 57(i16)
172: 18(int) BitwiseAnd 171 170
Store 57(i16) 172
173: 49(ivec3) Load 51(u16v)
156: 17(int) Load 57(i16)
157: 28(int) SConvert 156
160: 28(int) Load 159(i)
161: 125(bool) SLessThanEqual 157 160
Store 127(b) 161
162: 17(int) Load 57(i16)
163: 14(int) Bitcast 162
164: 49(ivec3) Load 51(u16v)
165: 49(ivec3) CompositeConstruct 163 163 163
166: 49(ivec3) BitwiseOr 164 165
Store 51(u16v) 166
167: 17(int) Load 57(i16)
168: 14(int) Bitcast 167
169: 14(int) Load 70(u16)
170: 14(int) BitwiseOr 168 169
Store 70(u16) 170
171: 17(int) Load 57(i16)
172: 17(int) Load 57(i16)
173: 17(int) BitwiseAnd 172 171
Store 57(i16) 173
174: 49(ivec3) Load 51(u16v)
175: 49(ivec3) BitwiseAnd 173 174
Store 51(u16v) 175
176: 18(int) Load 57(i16)
177: 15(int) Bitcast 176
178: 49(ivec3) Load 51(u16v)
179: 49(ivec3) CompositeConstruct 177 177 177
180: 49(ivec3) BitwiseXor 178 179
Store 51(u16v) 180
181: 49(ivec3) Load 51(u16v)
182: 18(int) Load 57(i16)
183: 15(int) Bitcast 182
184: 49(ivec3) CompositeConstruct 183 183 183
185: 49(ivec3) BitwiseXor 181 184
Store 51(u16v) 185
175: 49(ivec3) Load 51(u16v)
176: 49(ivec3) BitwiseAnd 174 175
Store 51(u16v) 176
177: 17(int) Load 57(i16)
178: 14(int) Bitcast 177
179: 49(ivec3) Load 51(u16v)
180: 49(ivec3) CompositeConstruct 178 178 178
181: 49(ivec3) BitwiseXor 179 180
Store 51(u16v) 181
182: 49(ivec3) Load 51(u16v)
183: 17(int) Load 57(i16)
184: 14(int) Bitcast 183
185: 49(ivec3) CompositeConstruct 184 184 184
186: 49(ivec3) BitwiseXor 182 185
Store 51(u16v) 186
Return
FunctionEnd
10(typeCast(): 2 Function None 3
11: Label
18
8(i16v): 187
(ptr) Variable Function
19
1(bv): 190
(ptr) Variable Function
199(u16v): 198
(ptr) Variable Function
21
1(iv): 198
(ptr) Variable Function
22
4(uv): 223
(ptr) Variable Function
2
38(fv): 237
(ptr) Variable Function
25
0(dv): 249
(ptr) Variable Function
26
2(f16v): 261
(ptr) Variable Function
27
4(i64v): 273
(ptr) Variable Function
2
88(u64v): 287
(ptr) Variable Function
19
2: 189(bvec2) Load 191
(bv)
19
6: 186(ivec2) Select 192 195 194
Store 18
8(i16v) 196
20
0: 189(bvec2) Load 191
(bv)
206: 19
7(ivec2) Select 200
205 204
Store
199
(u16v) 206
207: 18
6(ivec2) Load 188
(i16v)
208: 1
89
(bvec2) INotEqual 207 204
Store 19
1
(bv) 208
209: 19
7(ivec2) Load 199
(u16v)
210: 1
89
(bvec2) INotEqual 209 204
Store 19
1
(bv) 210
21
2: 197(ivec2) Load 211
(iv)
21
3: 186(ivec2) SConvert 212
Store 18
8(i16v) 213
21
4: 197(ivec2) Load 211
(iv)
21
5: 186(ivec2) SConvert 214
21
6: 197(ivec2) Bitcast 215
Store
199(u16v) 216
21
7: 186(ivec2) Load 188
(i16v)
2
18: 197(ivec2) SConvert 217
Store 21
1(iv) 218
2
19: 197(ivec2) Load 199
(u16v)
22
0: 197(ivec2) UConvert 219
22
1: 197(ivec2) Bitcast 220
Store 21
1(iv) 221
22
5: 222(ivec2) Load 224
(uv)
22
6: 186(ivec2) UConvert 225
22
7: 186(ivec2) Bitcast 226
Store 18
8(i16v) 227
2
28: 222(ivec2) Load 224
(uv)
2
29: 197(ivec2) UConvert 228
Store
199(u16v) 229
23
0: 186(ivec2) Load 188
(i16v)
23
1: 197(ivec2) SConvert 230
23
2: 222(ivec2) Bitcast 231
Store 22
4(uv) 232
23
3: 197(ivec2) Load 199
(u16v)
23
4: 222(ivec2) UConvert 233
Store 22
4(uv) 234
2
39: 236(fvec2) Load 238
(fv)
24
0: 186(ivec2) ConvertFToS 239
Store 18
8(i16v) 240
24
1: 236(fvec2) Load 238
(fv)
24
2: 197(ivec2) ConvertFToU 241
Store
199(u16v) 242
24
3: 186(ivec2) Load 188
(i16v)
24
4: 236(fvec2) ConvertSToF 243
Store 2
38(fv) 244
24
5: 197(ivec2) Load 199
(u16v)
24
6: 236(fvec2) ConvertUToF 245
Store 2
38(fv) 246
25
1: 248(fvec2) Load 250
(dv)
25
2: 186(ivec2) ConvertFToS 251
Store 18
8(i16v) 252
25
3: 248(fvec2) Load 250
(dv)
25
4: 197(ivec2) ConvertFToU 253
Store
199(u16v) 254
25
5: 186(ivec2) Load 188
(i16v)
25
6: 248(fvec2) ConvertSToF 255
Store 25
0(dv) 256
25
7: 197(ivec2) Load 199
(u16v)
2
58: 248(fvec2) ConvertUToF 257
Store 25
0(dv) 258
26
3: 260(fvec2) Load 262
(f16v)
26
4: 186(ivec2) ConvertFToS 263
Store 18
8(i16v) 264
26
5: 260(fvec2) Load 262
(f16v)
26
6: 197(ivec2) ConvertFToU 265
Store
199(u16v) 266
26
7: 186(ivec2) Load 188
(i16v)
2
68: 260(fvec2) ConvertSToF 267
Store 26
2(f16v) 268
2
69: 197(ivec2) Load 199
(u16v)
27
0: 260(fvec2) ConvertUToF 269
Store 26
2(f16v) 270
27
5: 272(ivec2) Load 274
(i64v)
27
6: 186(ivec2) SConvert 275
Store 18
8(i16v) 276
27
7: 272(ivec2) Load 274
(i64v)
2
78: 186(ivec2) SConvert 277
2
79: 197(ivec2) Bitcast 278
Store
199(u16v) 279
28
0: 186(ivec2) Load 188
(i16v)
28
1: 272(ivec2) SConvert 280
Store 27
4(i64v) 281
28
2: 197(ivec2) Load 199
(u16v)
28
3: 272(ivec2) UConvert 282
28
4: 272(ivec2) Bitcast 283
Store 27
4(i64v) 284
2
89: 286(ivec2) Load 288
(u64v)
29
0: 186(ivec2) UConvert 289
29
1: 186(ivec2) Bitcast 290
Store 18
8(i16v) 291
29
2: 286(ivec2) Load 288
(u64v)
29
3: 197(ivec2) UConvert 292
Store
199(u16v) 293
29
4: 186(ivec2) Load 188
(i16v)
29
5: 272(ivec2) SConvert 294
29
6: 286(ivec2) Bitcast 295
Store 2
88(u64v) 296
29
7: 197(ivec2) Load 199
(u16v)
298: 286(ivec2) UConvert 297
Store 2
88(u64v) 298
299: 197(ivec2) Load 199
(u16v)
30
0: 186(ivec2) Bitcast 299
Store 18
8(i16v) 300
30
1: 186(ivec2) Load 188
(i16v)
30
2: 197(ivec2) Bitcast 301
Store
199(u16v) 302
18
9(i16v): 188
(ptr) Variable Function
19
2(bv): 191
(ptr) Variable Function
200(u16v): 199
(ptr) Variable Function
21
3(iv): 212
(ptr) Variable Function
22
6(uv): 225
(ptr) Variable Function
2
40(fv): 239
(ptr) Variable Function
25
2(dv): 251
(ptr) Variable Function
26
4(f16v): 263
(ptr) Variable Function
27
6(i64v): 275
(ptr) Variable Function
2
90(u64v): 289
(ptr) Variable Function
19
3: 190(bvec2) Load 192
(bv)
19
7: 187(ivec2) Select 193 196 195
Store 18
9(i16v) 197
20
1: 190(bvec2) Load 192
(bv)
206: 19
8(ivec2) Select 201
205 204
Store
200
(u16v) 206
207: 18
7(ivec2) Load 189
(i16v)
208: 1
90
(bvec2) INotEqual 207 204
Store 19
2
(bv) 208
209: 19
8(ivec2) Load 200
(u16v)
210: 1
90
(bvec2) INotEqual 209 204
Store 19
2
(bv) 210
21
4: 211(ivec2) Load 213
(iv)
21
5: 187(ivec2) SConvert 214
Store 18
9(i16v) 215
21
6: 211(ivec2) Load 213
(iv)
21
7: 187(ivec2) SConvert 216
21
8: 198(ivec2) Bitcast 217
Store
200(u16v) 218
21
9: 187(ivec2) Load 189
(i16v)
2
20: 211(ivec2) SConvert 219
Store 21
3(iv) 220
2
21: 198(ivec2) Load 200
(u16v)
22
2: 211(ivec2) UConvert 221
22
3: 211(ivec2) Bitcast 222
Store 21
3(iv) 223
22
7: 224(ivec2) Load 226
(uv)
22
8: 187(ivec2) UConvert 227
22
9: 187(ivec2) Bitcast 228
Store 18
9(i16v) 229
2
30: 224(ivec2) Load 226
(uv)
2
31: 198(ivec2) UConvert 230
Store
200(u16v) 231
23
2: 187(ivec2) Load 189
(i16v)
23
3: 211(ivec2) SConvert 232
23
4: 224(ivec2) Bitcast 233
Store 22
6(uv) 234
23
5: 198(ivec2) Load 200
(u16v)
23
6: 224(ivec2) UConvert 235
Store 22
6(uv) 236
2
41: 238(fvec2) Load 240
(fv)
24
2: 187(ivec2) ConvertFToS 241
Store 18
9(i16v) 242
24
3: 238(fvec2) Load 240
(fv)
24
4: 198(ivec2) ConvertFToU 243
Store
200(u16v) 244
24
5: 187(ivec2) Load 189
(i16v)
24
6: 238(fvec2) ConvertSToF 245
Store 2
40(fv) 246
24
7: 198(ivec2) Load 200
(u16v)
24
8: 238(fvec2) ConvertUToF 247
Store 2
40(fv) 248
25
3: 250(fvec2) Load 252
(dv)
25
4: 187(ivec2) ConvertFToS 253
Store 18
9(i16v) 254
25
5: 250(fvec2) Load 252
(dv)
25
6: 198(ivec2) ConvertFToU 255
Store
200(u16v) 256
25
7: 187(ivec2) Load 189
(i16v)
25
8: 250(fvec2) ConvertSToF 257
Store 25
2(dv) 258
25
9: 198(ivec2) Load 200
(u16v)
2
60: 250(fvec2) ConvertUToF 259
Store 25
2(dv) 260
26
5: 262(fvec2) Load 264
(f16v)
26
6: 187(ivec2) ConvertFToS 265
Store 18
9(i16v) 266
26
7: 262(fvec2) Load 264
(f16v)
26
8: 198(ivec2) ConvertFToU 267
Store
200(u16v) 268
26
9: 187(ivec2) Load 189
(i16v)
2
70: 262(fvec2) ConvertSToF 269
Store 26
4(f16v) 270
2
71: 198(ivec2) Load 200
(u16v)
27
2: 262(fvec2) ConvertUToF 271
Store 26
4(f16v) 272
27
7: 274(ivec2) Load 276
(i64v)
27
8: 187(ivec2) SConvert 277
Store 18
9(i16v) 278
27
9: 274(ivec2) Load 276
(i64v)
2
80: 187(ivec2) SConvert 279
2
81: 198(ivec2) Bitcast 280
Store
200(u16v) 281
28
2: 187(ivec2) Load 189
(i16v)
28
3: 274(ivec2) SConvert 282
Store 27
6(i64v) 283
28
4: 198(ivec2) Load 200
(u16v)
28
5: 274(ivec2) UConvert 284
28
6: 274(ivec2) Bitcast 285
Store 27
6(i64v) 286
2
91: 288(ivec2) Load 290
(u64v)
29
2: 187(ivec2) UConvert 291
29
3: 187(ivec2) Bitcast 292
Store 18
9(i16v) 293
29
4: 288(ivec2) Load 290
(u64v)
29
5: 198(ivec2) UConvert 294
Store
200(u16v) 295
29
6: 187(ivec2) Load 189
(i16v)
29
7: 274(ivec2) SConvert 296
29
8: 288(ivec2) Bitcast 297
Store 2
90(u64v) 298
29
9: 198(ivec2) Load 200
(u16v)
300: 288(ivec2) UConvert 299
Store 2
90(u64v) 300
301: 198(ivec2) Load 200
(u16v)
30
2: 187(ivec2) Bitcast 301
Store 18
9(i16v) 302
30
3: 187(ivec2) Load 189
(i16v)
30
4: 198(ivec2) Bitcast 303
Store
200(u16v) 304
Return
FunctionEnd
12(builtinFuncs(): 2 Function None 3
13: Label
30
3(i16v): 187
(ptr) Variable Function
3
09
(i16): 35(ptr) Variable Function
31
7
(u16v): 50(ptr) Variable Function
3
19(u16): 16
(ptr) Variable Function
39
1(f16v): 390
(ptr) Variable Function
39
4(exp): 393
(ptr) Variable Function
41
6(packi): 16
(ptr) Variable Function
42
1
(packu): 147(ptr) Variable Function
43
0(packi64): 429
(ptr) Variable Function
4
39(packu64): 438
(ptr) Variable Function
4
48(bv): 447
(ptr) Variable Function
30
4: 186(ivec2) Load 303
(i16v)
30
5: 186(ivec2) ExtInst 1(GLSL.std.450) 5(SAbs) 304
Store 30
3(i16v) 305
30
6: 186(ivec2) Load 303
(i16v)
30
7: 186(ivec2) ExtInst 1(GLSL.std.450) 7(SSign) 306
Store 30
3(i16v) 307
3
08: 186(ivec2) Load 303
(i16v)
31
0: 18(int) Load 309
(i16)
31
1: 186(ivec2) CompositeConstruct 310 310
31
2: 186(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 308 311
Store 30
3(i16v) 312
31
3: 186(ivec2) Load 303
(i16v)
31
6: 186(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 313 315
Store 30
3(i16v) 316
3
18: 49(ivec3) Load 317
(u16v)
32
0: 15(int) Load 319
(u16)
32
1: 49(ivec3) CompositeConstruct 320 320 320
32
2: 49(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 318 321
Store 31
7(u16v) 322
32
3: 49(ivec3) Load 317
(u16v)
32
5: 49(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 323 324
Store 31
7(u16v) 325
32
6: 186(ivec2) Load 303
(i16v)
32
7: 18(int) Load 309
(i16)
3
28: 186(ivec2) CompositeConstruct 327 327
3
29: 186(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 326 328
Store 30
3(i16v) 329
33
0: 186(ivec2) Load 303
(i16v)
33
1: 186(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 330 315
Store 30
3(i16v) 331
33
2: 49(ivec3) Load 317
(u16v)
33
3: 15(int) Load 319
(u16)
33
4: 49(ivec3) CompositeConstruct 333 333 333
33
5: 49(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 332 334
Store 31
7(u16v) 335
33
6: 49(ivec3) Load 317
(u16v)
33
7: 49(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 336 324
Store 31
7(u16v) 337
3
38: 186(ivec2) Load 303
(i16v)
3
39: 18(int) Load 309
(i16)
34
0: 18(int) SNegate 339
34
1: 18(int) Load 309
(i16)
34
2: 186(ivec2) CompositeConstruct 340 340
34
3: 186(ivec2) CompositeConstruct 341 341
34
4: 186(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 338 342 343
Store 30
3(i16v) 344
34
5: 186(ivec2) Load 303
(i16v)
34
6: 186(ivec2) Load 303
(i16v)
34
7: 186(ivec2) SNegate 346
3
48: 186(ivec2) Load 303
(i16v)
3
49: 186(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 345 347 348
Store 30
3(i16v) 349
35
0: 49(ivec3) Load 317
(u16v)
35
1: 15(int) Load 319
(u16)
35
2: 15(int) SNegate 351
35
3: 15(int) Load 319
(u16)
35
4: 49(ivec3) CompositeConstruct 352 352 352
35
5: 49(ivec3) CompositeConstruct 353 353 353
35
6: 49(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 350 354 355
Store 31
7(u16v) 356
35
7: 49(ivec3) Load 317
(u16v)
3
58: 49(ivec3) Load 317
(u16v)
3
59: 49(ivec3) SNegate 358
36
0: 49(ivec3) Load 317
(u16v)
36
1: 49(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 357 359 360
Store 31
7(u16v) 361
36
2: 35(ptr) AccessChain 303
(i16v) 128
36
3: 18(int) Load 362
36
4: 35(ptr) AccessChain 303
(i16v) 111
36
5: 18(int) Load 364
36
7: 18(int) Select 366 365 363
Store 3
09(i16) 367
3
68: 18(int) Load 309
(i16)
3
69: 186(ivec2) CompositeConstruct 368 368
37
0: 18(int) Load 309
(i16)
37
1: 18(int) SNegate 370
37
2: 186(ivec2) CompositeConstruct 371 371
37
5: 186(ivec2) Select 374 372 369
Store 30
3(i16v) 375
37
6: 16(ptr) AccessChain 317
(u16v) 128
37
7: 15(int) Load 376
3
78: 16(ptr) AccessChain 317
(u16v) 111
3
79: 15(int) Load 378
38
0: 15(int) Select 366 379 377
Store 3
19(u16) 380
38
1: 15(int) Load 319
(u16)
38
2: 49(ivec3) CompositeConstruct 381 381 381
38
3: 15(int) Load 319
(u16)
38
4: 15(int) SNegate 383
38
5: 49(ivec3) CompositeConstruct 384 384 384
3
88: 49(ivec3) Select 387 385 382
Store 31
7(u16v) 388
39
2: 389(fvec3) Load 391
(f16v)
39
6:395(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 392
39
7: 54(ivec3) CompositeExtract 396
1
Store 39
4(exp) 397
398: 389(fvec3) CompositeExtract 396
0
Store 39
1(f16v) 398
399: 389(fvec3) Load 391
(f16v)
40
0: 54(ivec3) Load 394
(exp)
40
1: 389(fvec3) ExtInst 1(GLSL.std.450) 53(Ldexp) 399 400
Store 39
1(f16v) 401
40
2: 389(fvec3) Load 391
(f16v)
40
3: 260(fvec2) VectorShuffle 402 402
0 1
40
4: 186(ivec2) Bitcast 403
Store 30
3(i16v) 404
40
6: 405(ptr) AccessChain 391
(f16v) 117
40
7: 259(float) Load 406
4
08: 15(int) Bitcast 407
4
09: 16(ptr) AccessChain 317
(u16v) 128
Store 4
09 408
41
0: 186(ivec2) Load 303
(i16v)
41
1: 260(fvec2) Bitcast 410
41
2: 389(fvec3) Load 391
(f16v)
41
3: 389(fvec3) VectorShuffle 412 411
3 4 2
Store 39
1(f16v) 413
41
4: 49(ivec3) Load 317
(u16v)
41
5: 389(fvec3) Bitcast 414
Store 39
1(f16v) 415
41
7: 186(ivec2) Load 303
(i16v)
4
18: 15(int) Bitcast 417
Store 41
6(packi) 418
4
19: 15(int) Load 416
(packi)
42
0: 186(ivec2) Bitcast 419
Store 30
3(i16v) 420
42
2: 49(ivec3) Load 317
(u16v)
42
3: 197(ivec2) VectorShuffle 422 422
0 1
42
4: 19(int) Bitcast 423
Store 42
1(packu) 424
42
5: 19(int) Load 421
(packu)
42
6: 197(ivec2) Bitcast 425
42
7: 49(ivec3) Load 317
(u16v)
4
28: 49(ivec3) VectorShuffle 427 426
3 4 2
Store 31
7(u16v) 428
43
1: 18(int) Load 309
(i16)
43
3: 432(ivec4) CompositeConstruct 431 431 431 431
43
4: 271(int) Bitcast 433
Store 43
0(packi64) 434
43
5: 271(int) Load 430
(packi64)
43
6: 432(ivec4) Bitcast 435
43
7: 186(ivec2) VectorShuffle 436 436
0 1
Store 30
3(i16v) 437
44
0: 15(int) Load 319
(u16)
44
2: 441(ivec4) CompositeConstruct 440 440 440 440
44
3: 285(int) Bitcast 442
Store 4
39(packu64) 443
44
4: 285(int) Load 439
(packu64)
44
5: 441(ivec4) Bitcast 444
44
6: 49(ivec3) VectorShuffle 445 445
0 1 2
Store 31
7(u16v) 446
4
49: 49(ivec3) Load 317
(u16v)
45
0: 15(int) Load 319
(u16)
45
1: 49(ivec3) CompositeConstruct 450 450 450
45
2: 386(bvec3) ULessThan 449 451
Store 4
48(bv) 452
45
3: 186(ivec2) Load 303
(i16v)
45
4: 18(int) Load 309
(i16)
45
5: 186(ivec2) CompositeConstruct 454 454
45
6: 189(bvec2) SLessThan 453 455
45
7: 386(bvec3) Load 448
(bv)
4
58: 386(bvec3) VectorShuffle 457 456
3 4 2
Store 4
48(bv) 458
4
59: 49(ivec3) Load 317
(u16v)
46
0: 15(int) Load 319
(u16)
46
1: 49(ivec3) CompositeConstruct 460 460 460
46
2: 386(bvec3) ULessThanEqual 459 461
Store 4
48(bv) 462
46
3: 186(ivec2) Load 303
(i16v)
46
4: 18(int) Load 309
(i16)
46
5: 186(ivec2) CompositeConstruct 464 464
46
6: 189(bvec2) SLessThanEqual 463 465
46
7: 386(bvec3) Load 448
(bv)
4
68: 386(bvec3) VectorShuffle 467 466
3 4 2
Store 4
48(bv) 468
4
69: 49(ivec3) Load 317
(u16v)
47
0: 15(int) Load 319
(u16)
47
1: 49(ivec3) CompositeConstruct 470 470 470
47
2: 386(bvec3) UGreaterThan 469 471
Store 4
48(bv) 472
47
3: 186(ivec2) Load 303
(i16v)
47
4: 18(int) Load 309
(i16)
47
5: 186(ivec2) CompositeConstruct 474 474
47
6: 189(bvec2) SGreaterThan 473 475
47
7: 386(bvec3) Load 448
(bv)
4
78: 386(bvec3) VectorShuffle 477 476
3 4 2
Store 4
48(bv) 478
4
79: 49(ivec3) Load 317
(u16v)
48
0: 15(int) Load 319
(u16)
48
1: 49(ivec3) CompositeConstruct 480 480 480
48
2: 386(bvec3) UGreaterThanEqual 479 481
Store 4
48(bv) 482
48
3: 186(ivec2) Load 303
(i16v)
48
4: 18(int) Load 309
(i16)
48
5: 186(ivec2) CompositeConstruct 484 484
48
6: 189(bvec2) SGreaterThanEqual 483 485
48
7: 386(bvec3) Load 448
(bv)
4
88: 386(bvec3) VectorShuffle 487 486
3 4 2
Store 4
48(bv) 488
4
89: 49(ivec3) Load 317
(u16v)
49
0: 15(int) Load 319
(u16)
49
1: 49(ivec3) CompositeConstruct 490 490 490
49
2: 386(bvec3) IEqual 489 491
Store 4
48(bv) 492
49
3: 186(ivec2) Load 303
(i16v)
49
4: 18(int) Load 309
(i16)
49
5: 186(ivec2) CompositeConstruct 494 494
49
6: 189(bvec2) IEqual 493 495
49
7: 386(bvec3) Load 448
(bv)
498: 386(bvec3) VectorShuffle 497 496
3 4 2
Store 4
48(bv) 498
499: 49(ivec3) Load 317
(u16v)
50
0: 15(int) Load 319
(u16)
50
1: 49(ivec3) CompositeConstruct 500 500 500
50
2: 386(bvec3) INotEqual 499 501
Store 4
48(bv) 502
50
3: 186(ivec2) Load 303
(i16v)
50
4: 18(int) Load 309
(i16)
50
5: 186(ivec2) CompositeConstruct 504 504
50
6: 189(bvec2) INotEqual 503 505
50
7: 386(bvec3) Load 448
(bv)
5
08: 386(bvec3) VectorShuffle 507 506
3 4 2
Store 4
48(bv) 508
30
5(i16v): 188
(ptr) Variable Function
3
11
(i16): 35(ptr) Variable Function
31
9
(u16v): 50(ptr) Variable Function
3
21(u16): 15
(ptr) Variable Function
39
3(f16v): 392
(ptr) Variable Function
39
6(exp): 395
(ptr) Variable Function
41
8(packi): 158
(ptr) Variable Function
42
3
(packu): 147(ptr) Variable Function
43
2(packi64): 431
(ptr) Variable Function
4
41(packu64): 440
(ptr) Variable Function
4
50(bv): 449
(ptr) Variable Function
30
6: 187(ivec2) Load 305
(i16v)
30
7: 187(ivec2) ExtInst 1(GLSL.std.450) 5(SAbs) 306
Store 30
5(i16v) 307
30
8: 187(ivec2) Load 305
(i16v)
30
9: 187(ivec2) ExtInst 1(GLSL.std.450) 7(SSign) 308
Store 30
5(i16v) 309
3
10: 187(ivec2) Load 305
(i16v)
31
2: 17(int) Load 311
(i16)
31
3: 187(ivec2) CompositeConstruct 312 312
31
4: 187(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 310 313
Store 30
5(i16v) 314
31
5: 187(ivec2) Load 305
(i16v)
31
8: 187(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 315 317
Store 30
5(i16v) 318
3
20: 49(ivec3) Load 319
(u16v)
32
2: 14(int) Load 321
(u16)
32
3: 49(ivec3) CompositeConstruct 322 322 322
32
4: 49(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 320 323
Store 31
9(u16v) 324
32
5: 49(ivec3) Load 319
(u16v)
32
7: 49(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 325 326
Store 31
9(u16v) 327
32
8: 187(ivec2) Load 305
(i16v)
32
9: 17(int) Load 311
(i16)
3
30: 187(ivec2) CompositeConstruct 329 329
3
31: 187(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 328 330
Store 30
5(i16v) 331
33
2: 187(ivec2) Load 305
(i16v)
33
3: 187(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 332 317
Store 30
5(i16v) 333
33
4: 49(ivec3) Load 319
(u16v)
33
5: 14(int) Load 321
(u16)
33
6: 49(ivec3) CompositeConstruct 335 335 335
33
7: 49(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 334 336
Store 31
9(u16v) 337
33
8: 49(ivec3) Load 319
(u16v)
33
9: 49(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 338 326
Store 31
9(u16v) 339
3
40: 187(ivec2) Load 305
(i16v)
3
41: 17(int) Load 311
(i16)
34
2: 17(int) SNegate 341
34
3: 17(int) Load 311
(i16)
34
4: 187(ivec2) CompositeConstruct 342 342
34
5: 187(ivec2) CompositeConstruct 343 343
34
6: 187(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 340 344 345
Store 30
5(i16v) 346
34
7: 187(ivec2) Load 305
(i16v)
34
8: 187(ivec2) Load 305
(i16v)
34
9: 187(ivec2) SNegate 348
3
50: 187(ivec2) Load 305
(i16v)
3
51: 187(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 347 349 350
Store 30
5(i16v) 351
35
2: 49(ivec3) Load 319
(u16v)
35
3: 14(int) Load 321
(u16)
35
4: 14(int) SNegate 353
35
5: 14(int) Load 321
(u16)
35
6: 49(ivec3) CompositeConstruct 354 354 354
35
7: 49(ivec3) CompositeConstruct 355 355 355
35
8: 49(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 352 356 357
Store 31
9(u16v) 358
35
9: 49(ivec3) Load 319
(u16v)
3
60: 49(ivec3) Load 319
(u16v)
3
61: 49(ivec3) SNegate 360
36
2: 49(ivec3) Load 319
(u16v)
36
3: 49(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 359 361 362
Store 31
9(u16v) 363
36
4: 35(ptr) AccessChain 305
(i16v) 128
36
5: 17(int) Load 364
36
6: 35(ptr) AccessChain 305
(i16v) 111
36
7: 17(int) Load 366
36
9: 17(int) Select 368 367 365
Store 3
11(i16) 369
3
70: 17(int) Load 311
(i16)
3
71: 187(ivec2) CompositeConstruct 370 370
37
2: 17(int) Load 311
(i16)
37
3: 17(int) SNegate 372
37
4: 187(ivec2) CompositeConstruct 373 373
37
7: 187(ivec2) Select 376 374 371
Store 30
5(i16v) 377
37
8: 15(ptr) AccessChain 319
(u16v) 128
37
9: 14(int) Load 378
3
80: 15(ptr) AccessChain 319
(u16v) 111
3
81: 14(int) Load 380
38
2: 14(int) Select 368 381 379
Store 3
21(u16) 382
38
3: 14(int) Load 321
(u16)
38
4: 49(ivec3) CompositeConstruct 383 383 383
38
5: 14(int) Load 321
(u16)
38
6: 14(int) SNegate 385
38
7: 49(ivec3) CompositeConstruct 386 386 386
3
90: 49(ivec3) Select 389 387 384
Store 31
9(u16v) 390
39
4: 391(fvec3) Load 393
(f16v)
39
8:397(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 394
39
9: 54(ivec3) CompositeExtract 398
1
Store 39
6(exp) 399
400: 391(fvec3) CompositeExtract 398
0
Store 39
3(f16v) 400
401: 391(fvec3) Load 393
(f16v)
40
2: 54(ivec3) Load 396
(exp)
40
3: 391(fvec3) ExtInst 1(GLSL.std.450) 53(Ldexp) 401 402
Store 39
3(f16v) 403
40
4: 391(fvec3) Load 393
(f16v)
40
5: 262(fvec2) VectorShuffle 404 404
0 1
40
6: 187(ivec2) Bitcast 405
Store 30
5(i16v) 406
40
8: 407(ptr) AccessChain 393
(f16v) 117
40
9: 261(float) Load 408
4
10: 14(int) Bitcast 409
4
11: 15(ptr) AccessChain 319
(u16v) 128
Store 4
11 410
41
2: 187(ivec2) Load 305
(i16v)
41
3: 262(fvec2) Bitcast 412
41
4: 391(fvec3) Load 393
(f16v)
41
5: 391(fvec3) VectorShuffle 414 413
3 4 2
Store 39
3(f16v) 415
41
6: 49(ivec3) Load 319
(u16v)
41
7: 391(fvec3) Bitcast 416
Store 39
3(f16v) 417
41
9: 187(ivec2) Load 305
(i16v)
4
20: 28(int) Bitcast 419
Store 41
8(packi) 420
4
21: 28(int) Load 418
(packi)
42
2: 187(ivec2) Bitcast 421
Store 30
5(i16v) 422
42
4: 49(ivec3) Load 319
(u16v)
42
5: 198(ivec2) VectorShuffle 424 424
0 1
42
6: 18(int) Bitcast 425
Store 42
3(packu) 426
42
7: 18(int) Load 423
(packu)
42
8: 198(ivec2) Bitcast 427
42
9: 49(ivec3) Load 319
(u16v)
4
30: 49(ivec3) VectorShuffle 429 428
3 4 2
Store 31
9(u16v) 430
43
3: 17(int) Load 311
(i16)
43
5: 434(ivec4) CompositeConstruct 433 433 433 433
43
6: 273(int) Bitcast 435
Store 43
2(packi64) 436
43
7: 273(int) Load 432
(packi64)
43
8: 434(ivec4) Bitcast 437
43
9: 187(ivec2) VectorShuffle 438 438
0 1
Store 30
5(i16v) 439
44
2: 14(int) Load 321
(u16)
44
4: 443(ivec4) CompositeConstruct 442 442 442 442
44
5: 287(int) Bitcast 444
Store 4
41(packu64) 445
44
6: 287(int) Load 441
(packu64)
44
7: 443(ivec4) Bitcast 446
44
8: 49(ivec3) VectorShuffle 447 447
0 1 2
Store 31
9(u16v) 448
4
51: 49(ivec3) Load 319
(u16v)
45
2: 14(int) Load 321
(u16)
45
3: 49(ivec3) CompositeConstruct 452 452 452
45
4: 388(bvec3) ULessThan 451 453
Store 4
50(bv) 454
45
5: 187(ivec2) Load 305
(i16v)
45
6: 17(int) Load 311
(i16)
45
7: 187(ivec2) CompositeConstruct 456 456
45
8: 190(bvec2) SLessThan 455 457
45
9: 388(bvec3) Load 450
(bv)
4
60: 388(bvec3) VectorShuffle 459 458
3 4 2
Store 4
50(bv) 460
4
61: 49(ivec3) Load 319
(u16v)
46
2: 14(int) Load 321
(u16)
46
3: 49(ivec3) CompositeConstruct 462 462 462
46
4: 388(bvec3) ULessThanEqual 461 463
Store 4
50(bv) 464
46
5: 187(ivec2) Load 305
(i16v)
46
6: 17(int) Load 311
(i16)
46
7: 187(ivec2) CompositeConstruct 466 466
46
8: 190(bvec2) SLessThanEqual 465 467
46
9: 388(bvec3) Load 450
(bv)
4
70: 388(bvec3) VectorShuffle 469 468
3 4 2
Store 4
50(bv) 470
4
71: 49(ivec3) Load 319
(u16v)
47
2: 14(int) Load 321
(u16)
47
3: 49(ivec3) CompositeConstruct 472 472 472
47
4: 388(bvec3) UGreaterThan 471 473
Store 4
50(bv) 474
47
5: 187(ivec2) Load 305
(i16v)
47
6: 17(int) Load 311
(i16)
47
7: 187(ivec2) CompositeConstruct 476 476
47
8: 190(bvec2) SGreaterThan 475 477
47
9: 388(bvec3) Load 450
(bv)
4
80: 388(bvec3) VectorShuffle 479 478
3 4 2
Store 4
50(bv) 480
4
81: 49(ivec3) Load 319
(u16v)
48
2: 14(int) Load 321
(u16)
48
3: 49(ivec3) CompositeConstruct 482 482 482
48
4: 388(bvec3) UGreaterThanEqual 481 483
Store 4
50(bv) 484
48
5: 187(ivec2) Load 305
(i16v)
48
6: 17(int) Load 311
(i16)
48
7: 187(ivec2) CompositeConstruct 486 486
48
8: 190(bvec2) SGreaterThanEqual 485 487
48
9: 388(bvec3) Load 450
(bv)
4
90: 388(bvec3) VectorShuffle 489 488
3 4 2
Store 4
50(bv) 490
4
91: 49(ivec3) Load 319
(u16v)
49
2: 14(int) Load 321
(u16)
49
3: 49(ivec3) CompositeConstruct 492 492 492
49
4: 388(bvec3) IEqual 491 493
Store 4
50(bv) 494
49
5: 187(ivec2) Load 305
(i16v)
49
6: 17(int) Load 311
(i16)
49
7: 187(ivec2) CompositeConstruct 496 496
49
8: 190(bvec2) IEqual 495 497
49
9: 388(bvec3) Load 450
(bv)
500: 388(bvec3) VectorShuffle 499 498
3 4 2
Store 4
50(bv) 500
501: 49(ivec3) Load 319
(u16v)
50
2: 14(int) Load 321
(u16)
50
3: 49(ivec3) CompositeConstruct 502 502 502
50
4: 388(bvec3) INotEqual 501 503
Store 4
50(bv) 504
50
5: 187(ivec2) Load 305
(i16v)
50
6: 17(int) Load 311
(i16)
50
7: 187(ivec2) CompositeConstruct 506 506
50
8: 190(bvec2) INotEqual 505 507
50
9: 388(bvec3) Load 450
(bv)
5
10: 388(bvec3) VectorShuffle 509 508
3 4 2
Store 4
50(bv) 510
Return
FunctionEnd
Test/baseResults/spv.int16.frag.out
View file @
1790a40c
spv.int16.frag
// Module Version 10000
// Generated by (magic number): 80004
// Id's are bound by 52
0
// Id's are bound by 52
5
Capability Shader
Capability Float16
...
...
@@ -40,63 +40,63 @@ spv.int16.frag
Name 46 "indexable"
Name 51 "i32v"
Name 54 "i16v"
Name 5
7
"u16v"
Name 6
5
"u32v"
Name 7
2
"i64v"
Name
78
"u64v"
Name 9
2
"f16v"
Name
98
"f32v"
Name 10
4
"f64v"
Name 15
2
"i8v"
Name 1
59
"u8v"
Name 17
2
"bv"
Name 19
2
"u16v"
Name
197
"i16"
Name 2
16
"i"
Name 22
3
"uv"
Name 2
39
"i64"
Name 2
78
"b"
Name 34
0
"i16v"
Name 34
3
"i16"
Name 35
3
"u16v"
Name 3
55
"u16"
Name 4
25
"i32"
Name 4
28
"i64"
Name 43
1
"i16v4"
Name 43
4
"u32"
Name 4
35
"u16v2"
Name 4
39
"u64"
Name 44
2
"u16v4"
Name 45
4
"bv"
Name 5
15
"Block"
MemberName 5
15
(Block) 0 "i16"
MemberName 5
15
(Block) 1 "i16v2"
MemberName 5
15
(Block) 2 "i16v3"
MemberName 5
15
(Block) 3 "i16v4"
MemberName 5
15
(Block) 4 "u16"
MemberName 5
15
(Block) 5 "u16v2"
MemberName 5
15
(Block) 6 "u16v3"
MemberName 5
15
(Block) 7 "u16v4"
Name 5
17
"block"
Name 5
18
"si16"
Name 5
19
"su16"
Name 5
9
"u16v"
Name 6
7
"u32v"
Name 7
4
"i64v"
Name
80
"u64v"
Name 9
4
"f16v"
Name
100
"f32v"
Name 10
6
"f64v"
Name 15
4
"i8v"
Name 1
63
"u8v"
Name 17
6
"bv"
Name 19
5
"u16v"
Name
200
"i16"
Name 2
20
"i"
Name 22
7
"uv"
Name 2
43
"i64"
Name 2
83
"b"
Name 34
5
"i16v"
Name 34
8
"i16"
Name 35
8
"u16v"
Name 3
60
"u16"
Name 4
30
"i32"
Name 4
33
"i64"
Name 43
6
"i16v4"
Name 43
9
"u32"
Name 4
40
"u16v2"
Name 4
44
"u64"
Name 44
7
"u16v4"
Name 45
9
"bv"
Name 5
20
"Block"
MemberName 5
20
(Block) 0 "i16"
MemberName 5
20
(Block) 1 "i16v2"
MemberName 5
20
(Block) 2 "i16v3"
MemberName 5
20
(Block) 3 "i16v4"
MemberName 5
20
(Block) 4 "u16"
MemberName 5
20
(Block) 5 "u16v2"
MemberName 5
20
(Block) 6 "u16v3"
MemberName 5
20
(Block) 7 "u16v4"
Name 5
22
"block"
Name 5
23
"si16"
Name 5
24
"su16"
MemberDecorate 24(Uniforms) 0 Offset 0
Decorate 24(Uniforms) Block
Decorate 26 DescriptorSet 0
Decorate 26 Binding 0
MemberDecorate 5
15
(Block) 0 Offset 0
MemberDecorate 5
15
(Block) 1 Offset 4
MemberDecorate 5
15
(Block) 2 Offset 8
MemberDecorate 5
15
(Block) 3 Offset 16
MemberDecorate 5
15
(Block) 4 Offset 24
MemberDecorate 5
15
(Block) 5 Offset 28
MemberDecorate 5
15
(Block) 6 Offset 32
MemberDecorate 5
15
(Block) 7 Offset 40
Decorate 5
15
(Block) Block
Decorate 5
17
(block) DescriptorSet 0
Decorate 5
17
(block) Binding 1
Decorate 5
18
(si16) SpecId 100
Decorate 5
19
(su16) SpecId 101
MemberDecorate 5
20
(Block) 0 Offset 0
MemberDecorate 5
20
(Block) 1 Offset 4
MemberDecorate 5
20
(Block) 2 Offset 8
MemberDecorate 5
20
(Block) 3 Offset 16
MemberDecorate 5
20
(Block) 4 Offset 24
MemberDecorate 5
20
(Block) 5 Offset 28
MemberDecorate 5
20
(Block) 6 Offset 32
MemberDecorate 5
20
(Block) 7 Offset 40
Decorate 5
20
(Block) Block
Decorate 5
22
(block) DescriptorSet 0
Decorate 5
22
(block) Binding 1
Decorate 5
23
(si16) SpecId 100
Decorate 5
24
(su16) SpecId 101
2: TypeVoid
3: TypeFunction 2
14: TypeInt 16 1
...
...
@@ -116,8 +116,8 @@ spv.int16.frag
29: TypePointer Uniform 17(int)
32: TypePointer Function 19
36: TypeInt 16 0
37: TypePointer Function
27
(int)
39: TypeArray
27
(int) 18
37: TypePointer Function
36
(int)
39: TypeArray
36
(int) 18
40: 36(int) Constant 65535
41: 36(int) Constant 32767
42: 39 ConstantComposite 40 40 41
...
...
@@ -126,68 +126,73 @@ spv.int16.frag
50: TypePointer Function 49(ivec2)
52: TypeVector 14(int) 2
53: TypePointer Function 52(ivec2)
63: TypeVector 17(int) 2
64: TypePointer Function 63(ivec2)
69: TypeInt 64 1
70: TypeVector 69(int) 2
71: TypePointer Function 70(ivec2)
75: TypeInt 64 0
76: TypeVector 75(int) 2
77: TypePointer Function 76(ivec2)
89: TypeFloat 16
90: TypeVector 89(float) 2
91: TypePointer Function 90(fvec2)
95: TypeFloat 32
96: TypeVector 95(float) 2
97: TypePointer Function 96(fvec2)
101: TypeFloat 64
102: TypeVector 101(float) 2
103: TypePointer Function 102(fvec2)
149: TypeInt 8 1
150: TypeVector 149(int) 2
151: TypePointer Function 150(ivec2)
158: TypeInt 8 0
169: TypeBool
170: TypeVector 169(bool) 2
171: TypePointer Function 170(bvec2)
174: 14(int) Constant 0
175: 14(int) Constant 1
176: 52(ivec2) ConstantComposite 174 174
177: 52(ivec2) ConstantComposite 175 175
180: 36(int) Constant 0
181: 36(int) Constant 1
182: TypeVector 36(int) 2
183: 182(ivec2) ConstantComposite 180 180
184: 182(ivec2) ConstantComposite 181 181
190: TypeVector 27(int) 3
191: TypePointer Function 190(ivec3)
194: TypeVector 14(int) 3
221: TypeVector 17(int) 3
222: TypePointer Function 221(ivec3)
238: TypePointer Function 69(int)
260: 17(int) Constant 1
266: 17(int) Constant 2
277: TypePointer Function 169(bool)
279: 17(int) Constant 0
293: TypePointer Function 17(int)
351: 52(ivec2) ConstantComposite 21 21
360: 190(ivec3) ConstantComposite 180 180 180
402: 169(bool) ConstantTrue
409: 169(bool) ConstantFalse
410: 170(bvec2) ConstantComposite 409 409
422: TypeVector 169(bool) 3
423: 422(bvec3) ConstantComposite 409 409 409
429: TypeVector 14(int) 4
430: TypePointer Function 429(ivec4)
438: TypePointer Function 75(int)
440: TypeVector 27(int) 4
441: TypePointer Function 440(ivec4)
453: TypePointer Function 422(bvec3)
515(Block): TypeStruct 14(int) 52(ivec2) 194(ivec3) 429(ivec4) 27(int) 49(ivec2) 190(ivec3) 440(ivec4)
516: TypePointer Uniform 515(Block)
517(block): 516(ptr) Variable Uniform
518(si16): 14(int) SpecConstant 4294967286
519(su16): 36(int) SpecConstant 20
57: TypeVector 36(int) 2
58: TypePointer Function 57(ivec2)
65: TypeVector 17(int) 2
66: TypePointer Function 65(ivec2)
71: TypeInt 64 1
72: TypeVector 71(int) 2
73: TypePointer Function 72(ivec2)
77: TypeInt 64 0
78: TypeVector 77(int) 2
79: TypePointer Function 78(ivec2)
91: TypeFloat 16
92: TypeVector 91(float) 2
93: TypePointer Function 92(fvec2)
97: TypeFloat 32
98: TypeVector 97(float) 2
99: TypePointer Function 98(fvec2)
103: TypeFloat 64
104: TypeVector 103(float) 2
105: TypePointer Function 104(fvec2)
151: TypeInt 8 1
152: TypeVector 151(int) 2
153: TypePointer Function 152(ivec2)
160: TypeInt 8 0
161: TypeVector 160(int) 2
162: TypePointer Function 161(ivec2)
173: TypeBool
174: TypeVector 173(bool) 2
175: TypePointer Function 174(bvec2)
178: 14(int) Constant 0
179: 14(int) Constant 1
180: 52(ivec2) ConstantComposite 178 178
181: 52(ivec2) ConstantComposite 179 179
184: 36(int) Constant 0
185: 36(int) Constant 1
186: 57(ivec2) ConstantComposite 184 184
187: 57(ivec2) ConstantComposite 185 185
193: TypeVector 36(int) 3
194: TypePointer Function 193(ivec3)
197: TypeVector 14(int) 3
219: TypePointer Function 27(int)
225: TypeVector 17(int) 3
226: TypePointer Function 225(ivec3)
242: TypePointer Function 71(int)
264: 17(int) Constant 1
270: 17(int) Constant 2
275: TypeVector 27(int) 3
282: TypePointer Function 173(bool)
284: 17(int) Constant 0
298: TypePointer Function 17(int)
356: 52(ivec2) ConstantComposite 21 21
365: 193(ivec3) ConstantComposite 184 184 184
407: 173(bool) ConstantTrue
414: 173(bool) ConstantFalse
415: 174(bvec2) ConstantComposite 414 414
427: TypeVector 173(bool) 3
428: 427(bvec3) ConstantComposite 414 414 414
434: TypeVector 14(int) 4
435: TypePointer Function 434(ivec4)
443: TypePointer Function 77(int)
445: TypeVector 36(int) 4
446: TypePointer Function 445(ivec4)
458: TypePointer Function 427(bvec3)
520(Block): TypeStruct 14(int) 52(ivec2) 197(ivec3) 434(ivec4) 36(int) 57(ivec2) 193(ivec3) 445(ivec4)
521: TypePointer Uniform 520(Block)
522(block): 521(ptr) Variable Uniform
523(si16): 14(int) SpecConstant 4294967286
524(su16): 36(int) SpecConstant 20
4(main): 2 Function None 3
5: Label
Return
...
...
@@ -208,7 +213,7 @@ spv.int16.frag
44: 17(int) Load 43
Store 46(indexable) 42
47: 37(ptr) AccessChain 46(indexable) 44
48:
27
(int) Load 47
48:
36
(int) Load 47
Store 38(u16) 48
Return
FunctionEnd
...
...
@@ -216,526 +221,526 @@ spv.int16.frag
9: Label
51(i32v): 50(ptr) Variable Function
54(i16v): 53(ptr) Variable Function
5
7(u16v): 50
(ptr) Variable Function
6
5(u32v): 64
(ptr) Variable Function
7
2(i64v): 71
(ptr) Variable Function
78(u64v): 77
(ptr) Variable Function
9
2(f16v): 91
(ptr) Variable Function
98(f32v): 97
(ptr) Variable Function
10
4(f64v): 103
(ptr) Variable Function
15
2(i8v): 151
(ptr) Variable Function
1
59(u8v): 53
(ptr) Variable Function
17
2(bv): 171
(ptr) Variable Function
5
9(u16v): 58
(ptr) Variable Function
6
7(u32v): 66
(ptr) Variable Function
7
4(i64v): 73
(ptr) Variable Function
80(u64v): 79
(ptr) Variable Function
9
4(f16v): 93
(ptr) Variable Function
100(f32v): 99
(ptr) Variable Function
10
6(f64v): 105
(ptr) Variable Function
15
4(i8v): 153
(ptr) Variable Function
1
63(u8v): 162
(ptr) Variable Function
17
6(bv): 175
(ptr) Variable Function
55: 52(ivec2) Load 54(i16v)
56: 49(ivec2) SConvert 55
Store 51(i32v) 56
58: 49(ivec2) Load 57(u16v)
59: 49(ivec2) UConvert 58
60: 49(ivec2) Bitcast 59
Store 51(i32v) 60
61: 52(ivec2) Load 54(i16v)
60: 57(ivec2) Load 59(u16v)
61: 49(ivec2) UConvert 60
62: 49(ivec2) Bitcast 61
Store 5
7(u16
v) 62
6
6
: 52(ivec2) Load 54(i16v)
6
7: 49(ivec2) SConvert 66
68: 63(ivec2) Bitcast 67
Store 65(u32v) 68
73: 52(ivec2) Load 54(i16v)
7
4: 70(ivec2) SConvert 73
Store
72(i64v) 74
7
9
: 52(ivec2) Load 54(i16v)
80: 70(ivec2) SConvert 79
81: 76(ivec2) Bitcast 80
Store 78(u64v) 81
82:
49(ivec2) Load 57(u16v)
83:
63(ivec2) UConver
t 82
Store
65(u32
v) 83
84:
49(ivec2) Load 57
(u16v)
85:
70
(ivec2) UConvert 84
86: 70(ivec2) Bitcast
85
Store 72(i64v) 86
87:
49(ivec2) Load 57(u16v)
88: 7
6(ivec2) UConver
t 87
Store 7
8(u
64v) 88
93: 52(ivec2) Load 54(i
16v)
9
4: 90(fvec2) ConvertSToF 93
Store
92(f16v) 94
9
9
: 52(ivec2) Load 54(i16v)
100: 96(fvec2) ConvertSToF 99
Store 9
8(f32v) 100
10
5
: 52(ivec2) Load 54(i16v)
10
6: 102(fvec2) ConvertSToF 105
Store 10
4(f64v) 106
107:
49(ivec2) Load 57(u
16v)
108:
90(fvec2) ConvertU
ToF 107
Store
92(f16
v) 108
109:
49(ivec2) Load 57
(u16v)
110: 9
6
(fvec2) ConvertUToF 109
Store 9
8(f32
v) 110
111:
49(ivec2) Load 57
(u16v)
112:
102
(fvec2) ConvertUToF 111
Store 10
4(f64
v) 112
113: 5
2(ivec2) Load 54(i
16v)
114:
49(ivec2) SConvert
113
Store
51(i32
v) 114
115:
49(ivec2) Load 57(u
16v)
116: 49(ivec2)
U
Convert 115
117: 49(ivec2) Bitcast
116
Store 51(i32v) 117
118:
52(ivec2) Load 54(i16v)
Store 5
1(i32
v) 62
6
3
: 52(ivec2) Load 54(i16v)
6
4: 57(ivec2) Bitcast 63
Store 59(u16v) 64
68: 52(ivec2) Load 54(i16v)
69: 49(ivec2) SConvert 68
7
0: 65(ivec2) Bitcast 69
Store
67(u32v) 70
7
5
: 52(ivec2) Load 54(i16v)
76: 72(ivec2) SConvert 75
Store 74(i64v) 76
81: 52(ivec2) Load 54(i16v)
82:
72(ivec2) SConvert 81
83:
78(ivec2) Bitcas
t 82
Store
80(u64
v) 83
84:
57(ivec2) Load 59
(u16v)
85:
65
(ivec2) UConvert 84
Store 67(u32v)
85
86: 57(ivec2) Load 59(u16v)
87:
72(ivec2) UConvert 86
88: 7
2(ivec2) Bitcas
t 87
Store 7
4(i
64v) 88
89: 57(ivec2) Load 59(u
16v)
9
0: 78(ivec2) UConvert 89
Store
80(u64v) 90
9
5
: 52(ivec2) Load 54(i16v)
96: 92(fvec2) ConvertSToF 95
Store 9
4(f16v) 96
10
1
: 52(ivec2) Load 54(i16v)
10
2: 98(fvec2) ConvertSToF 101
Store 10
0(f32v) 102
107:
52(ivec2) Load 54(i
16v)
108:
104(fvec2) ConvertS
ToF 107
Store
106(f64
v) 108
109:
57(ivec2) Load 59
(u16v)
110: 9
2
(fvec2) ConvertUToF 109
Store 9
4(f16
v) 110
111:
57(ivec2) Load 59
(u16v)
112:
98
(fvec2) ConvertUToF 111
Store 10
0(f32
v) 112
113: 5
7(ivec2) Load 59(u
16v)
114:
104(fvec2) ConvertUToF
113
Store
106(f64
v) 114
115:
52(ivec2) Load 54(i
16v)
116: 49(ivec2)
S
Convert 115
Store 51(i32v)
116
117: 57(ivec2) Load 59(u16v)
118:
49(ivec2) UConvert 117
119: 49(ivec2) Bitcast 118
Store 5
7(u16
v) 119
Store 5
1(i32
v) 119
120: 52(ivec2) Load 54(i16v)
121:
49(ivec2) SConver
t 120
122: 63(ivec2) Bitcast
121
Store 65(u32v) 122
123:
52(ivec2) Load 54(i16v)
124:
70(ivec2) SConver
t 123
Store
72(i64
v) 124
121:
57(ivec2) Bitcas
t 120
Store 59(u16v)
121
122: 52(ivec2) Load 54(i16v)
123:
49(ivec2) SConvert 122
124:
65(ivec2) Bitcas
t 123
Store
67(u32
v) 124
125: 52(ivec2) Load 54(i16v)
126: 7
0
(ivec2) SConvert 125
127: 76(ivec2) Bitcast
126
Store 78(u64v) 127
128:
49(ivec2) Load 57(u16v)
129:
63(ivec2) UConver
t 128
Store
65(u32
v) 129
130:
49(ivec2) Load 57
(u16v)
131:
70
(ivec2) UConvert 130
132: 70(ivec2) Bitcast
131
Store 72(i64v) 132
133:
49(ivec2) Load 57(u16v)
134: 7
0(ivec2) UConver
t 133
135: 70(ivec2) Bitcast
134
13
6: 76(ivec2) Bitcast 135
Store 78(u64v) 136
137:
52(ivec2) Load 54(i16v)
138:
90(fvec2) ConvertSToF
137
Store
92(f16
v) 138
126: 7
2
(ivec2) SConvert 125
Store 74(i64v)
126
127: 52(ivec2) Load 54(i16v)
128:
72(ivec2) SConvert 127
129:
78(ivec2) Bitcas
t 128
Store
80(u64
v) 129
130:
57(ivec2) Load 59
(u16v)
131:
65
(ivec2) UConvert 130
Store 67(u32v)
131
132: 57(ivec2) Load 59(u16v)
133:
72(ivec2) UConvert 132
134: 7
2(ivec2) Bitcas
t 133
Store 74(i64v)
134
13
5: 57(ivec2) Load 59(u16v)
136: 72(ivec2) UConvert 135
137:
72(ivec2) Bitcast 136
138:
78(ivec2) Bitcast
137
Store
80(u64
v) 138
139: 52(ivec2) Load 54(i16v)
140: 9
6
(fvec2) ConvertSToF 139
Store 9
8(f32
v) 140
140: 9
2
(fvec2) ConvertSToF 139
Store 9
4(f16
v) 140
141: 52(ivec2) Load 54(i16v)
142: 102(fvec2) ConvertSToF 141
Store 104(f64v) 142
143: 49(ivec2) Load 57(u16v)
144: 90(fvec2) ConvertUToF 143
Store 92(f16v) 144
145: 49(ivec2) Load 57(u16v)
146: 96(fvec2) ConvertUToF 145
Store 98(f32v) 146
147: 49(ivec2) Load 57(u16v)
148: 102(fvec2) ConvertUToF 147
Store 104(f64v) 148
153: 52(ivec2) Load 54(i16v)
154: 150(ivec2) SConvert 153
Store 152(i8v) 154
155: 49(ivec2) Load 57(u16v)
156: 150(ivec2) UConvert 155
157: 150(ivec2) Bitcast 156
Store 152(i8v) 157
160: 52(ivec2) Load 54(i16v)
161: 150(ivec2) SConvert 160
162: 52(ivec2) Bitcast 161
Store 159(u8v) 162
163: 49(ivec2) Load 57(u16v)
164: 52(ivec2) UConvert 163
Store 159(u8v) 164
165: 49(ivec2) Load 57(u16v)
166: 52(ivec2) UConvert 165
167: 52(ivec2) UConvert 166
168: 52(ivec2) Bitcast 167
Store 54(i16v) 168
173: 170(bvec2) Load 172(bv)
178: 52(ivec2) Select 173 177 176
Store 54(i16v) 178
179: 170(bvec2) Load 172(bv)
185: 49(ivec2) Select 179 184 183
Store 57(u16v) 185
186: 52(ivec2) Load 54(i16v)
187: 170(bvec2) INotEqual 186 183
Store 172(bv) 187
188: 49(ivec2) Load 57(u16v)
189: 170(bvec2) INotEqual 188 183
Store 172(bv) 189
142: 98(fvec2) ConvertSToF 141
Store 100(f32v) 142
143: 52(ivec2) Load 54(i16v)
144: 104(fvec2) ConvertSToF 143
Store 106(f64v) 144
145: 57(ivec2) Load 59(u16v)
146: 92(fvec2) ConvertUToF 145
Store 94(f16v) 146
147: 57(ivec2) Load 59(u16v)
148: 98(fvec2) ConvertUToF 147
Store 100(f32v) 148
149: 57(ivec2) Load 59(u16v)
150: 104(fvec2) ConvertUToF 149
Store 106(f64v) 150
155: 52(ivec2) Load 54(i16v)
156: 152(ivec2) SConvert 155
Store 154(i8v) 156
157: 57(ivec2) Load 59(u16v)
158: 152(ivec2) UConvert 157
159: 152(ivec2) Bitcast 158
Store 154(i8v) 159
164: 52(ivec2) Load 54(i16v)
165: 152(ivec2) SConvert 164
166: 161(ivec2) Bitcast 165
Store 163(u8v) 166
167: 57(ivec2) Load 59(u16v)
168: 161(ivec2) UConvert 167
Store 163(u8v) 168
169: 57(ivec2) Load 59(u16v)
170: 161(ivec2) UConvert 169
171: 52(ivec2) UConvert 170
172: 52(ivec2) Bitcast 171
Store 54(i16v) 172
177: 174(bvec2) Load 176(bv)
182: 52(ivec2) Select 177 181 180
Store 54(i16v) 182
183: 174(bvec2) Load 176(bv)
188: 57(ivec2) Select 183 187 186
Store 59(u16v) 188
189: 52(ivec2) Load 54(i16v)
190: 174(bvec2) INotEqual 189 186
Store 176(bv) 190
191: 57(ivec2) Load 59(u16v)
192: 174(bvec2) INotEqual 191 186
Store 176(bv) 192
Return
FunctionEnd
10(operators(): 2 Function None 3
11: Label
19
2(u16v): 191
(ptr) Variable Function
197
(i16): 15(ptr) Variable Function
2
16(i): 37
(ptr) Variable Function
22
3(uv): 222
(ptr) Variable Function
2
39(i64): 238
(ptr) Variable Function
2
78(b): 277
(ptr) Variable Function
19
3: 190(ivec3) Load 192
(u16v)
19
5: 194(ivec3) CompositeConstruct 175 175 175
19
6: 190(ivec3) IAdd 193 195
Store 19
2(u16v) 196
198: 14(int) Load 197
(i16)
199: 14(int) ISub 198 175
Store
197(i16) 199
20
0: 14(int) Load 197
(i16)
20
1: 14(int) IAdd 200 175
Store
197(i16) 201
20
2: 190(ivec3) Load 192
(u16v)
20
3: 194(ivec3) CompositeConstruct 175 175 175
20
4: 190(ivec3) ISub 202 203
Store 19
2(u16v) 204
20
5: 190(ivec3) Load 192
(u16v)
20
6: 190(ivec3) Not 205
Store 19
2(u16v) 206
2
07: 14(int) Load 197
(i16)
Store
197(i16) 207
2
08: 190(ivec3) Load 192
(u16v)
2
09: 190(ivec3) SNegate 208
Store 19
2(u16v) 209
21
0: 14(int) Load 197
(i16)
21
1: 14(int) Load 197
(i16)
21
2: 14(int) IAdd 211 210
Store
197(i16) 212
21
3: 190(ivec3) Load 192
(u16v)
21
4: 190(ivec3) Load 192
(u16v)
21
5: 190(ivec3) ISub 214 213
Store 19
2(u16v) 215
2
17: 14(int) Load 197
(i16)
2
18: 27(int) SConvert 217
2
19: 27(int) Load 216
(i)
22
0: 27(int) IMul 219 218
Store 2
16(i) 220
22
4: 190(ivec3) Load 192
(u16v)
22
5: 221(ivec3) UConvert 224
2
26: 221(ivec3) Load 223
(uv)
2
27: 221(ivec3) UDiv 226 225
Store 22
3(uv) 227
2
28: 14(int) Load 197
(i16)
2
29: 27(int) SConvert 228
23
0: 17(int) Bitcast 229
23
1: 221(ivec3) Load 223
(uv)
23
2: 221(ivec3) CompositeConstruct 230 230 230
23
3: 221(ivec3) UMod 231 232
Store 22
3(uv) 233
23
4: 190(ivec3) Load 192
(u16v)
23
5: 221(ivec3) UConvert 234
2
36: 221(ivec3) Load 223
(uv)
2
37: 221(ivec3) IAdd 235 236
Store 22
3(uv) 237
24
0: 14(int) Load 197
(i16)
24
1: 69(int) SConvert 240
24
2: 69(int) Load 239
(i64)
24
3: 69(int) ISub 241 242
Store 2
39(i64) 243
24
4: 190(ivec3) Load 192
(u16v)
24
5: 221(ivec3) UConvert 244
2
46: 221(ivec3) Load 223
(uv)
2
47: 221(ivec3) IMul 245 246
Store 22
3(uv) 247
2
48: 14(int) Load 197
(i16)
2
49: 69(int) SConvert 248
25
0: 69(int) Load 239
(i64)
25
1: 69(int) IMul 249 250
Store 2
39(i64) 251
25
2: 14(int) Load 197
(i16)
25
3: 27(int) SConvert 252
25
4: 27(int) Load 216
(i)
25
5: 27(int) SMod 253 254
Store 2
16(i) 255
2
56: 14(int) Load 197
(i16)
2
57: 190(ivec3) Load 192
(u16v)
2
58: 194(ivec3) CompositeConstruct 256 256 256
2
59: 190(ivec3) ShiftLeftLogical 257 258
Store 19
2(u16v) 259
26
1: 37(ptr) AccessChain 192(u16v) 260
26
2: 27(int) Load 261
26
3: 14(int) Load 197
(i16)
26
4: 14(int) ShiftRightArithmetic 263 262
Store
197(i16) 264
26
5: 14(int) Load 197
(i16)
2
67: 37(ptr) AccessChain 192(u16v) 266
2
68: 27(int) Load 267
2
69: 14(int) ShiftLeftLogical 265 268
Store
197(i16) 269
27
0: 190(ivec3) Load 192
(u16v)
27
1: 190(ivec3) UConvert 270
27
2: 190(ivec3) Bitcast 271
27
3: 27(int) Load 216
(i)
27
4: 190(ivec3) CompositeConstruct 273 273 273
2
75: 190(ivec3) ShiftLeftLogical 272 274
2
76: 221(ivec3) Bitcast 275
Store 22
3(uv) 276
28
0: 37(ptr) AccessChain 192(u16v) 279
28
1: 27(int) Load 280
28
2: 14(int) Load 197
(i16)
28
3: 27(int) Bitcast 282
28
4: 169(bool) INotEqual 281 283
Store 2
78(b) 284
2
85: 14(int) Load 197
(i16)
2
86: 27(int) Bitcast 285
2
87: 37(ptr) AccessChain 192(u16v) 279
2
88: 27(int) Load 287
2
89: 169(bool) IEqual 286 288
Store 2
78(b) 289
29
0: 37(ptr) AccessChain 192(u16v) 279
29
1: 27(int) Load 290
29
2: 17(int) UConvert 291
29
4: 293(ptr) AccessChain 223(uv) 260
295: 17(int) Load 294
296: 169(bool) UGreaterThan 292 295
Store 2
78(b) 296
297: 14(int) Load 197
(i16)
298: 27(int) SConvert 297
299: 27(int) Load 216
(i)
30
0: 169(bool) SLessThan 298 299
Store 2
78(b) 300
30
1: 37(ptr) AccessChain 192(u16v) 260
30
2: 27(int) Load 301
30
3: 17(int) UConvert 302
30
4: 293(ptr) AccessChain 223(uv) 279
3
05: 17(int) Load 304
3
06: 169(bool) UGreaterThanEqual 303 305
Store 2
78(b) 306
3
07: 14(int) Load 197
(i16)
3
08: 27(int) SConvert 307
3
09: 27(int) Load 216
(i)
31
0: 169(bool) SLessThanEqual 308 309
Store 2
78(b) 310
31
1: 14(int) Load 197
(i16)
31
2: 27(int) SConvert 311
31
3: 17(int) Bitcast 312
31
4: 221(ivec3) Load 223
(uv)
3
15: 221(ivec3) CompositeConstruct 313 313 313
3
16: 221(ivec3) BitwiseOr 314 315
Store 22
3(uv) 316
3
17: 14(int) Load 197
(i16)
3
18: 27(int) SConvert 317
3
19: 27(int) Load 216
(i)
32
0: 27(int) BitwiseOr 318 319
Store 2
16(i) 320
32
1: 14(int) Load 197
(i16)
32
2: 69(int) SConvert 321
32
3: 69(int) Load 239
(i64)
32
4: 69(int) BitwiseAnd 323 322
Store 2
39(i64) 324
3
25: 190(ivec3) Load 192
(u16v)
3
26: 221(ivec3) UConvert 325
3
27: 221(ivec3) Load 223
(uv)
3
28: 221(ivec3) BitwiseAnd 326 327
Store 22
3(uv) 328
3
29: 14(int) Load 197
(i16)
33
0: 27(int) SConvert 329
33
1: 17(int) Bitcast 330
33
2: 221(ivec3) Load 223
(uv)
33
3: 221(ivec3) CompositeConstruct 331 331 331
33
4: 221(ivec3) BitwiseXor 332 333
Store 22
3(uv) 334
3
35: 190(ivec3) Load 192
(u16v)
3
36: 14(int) Load 197
(i16)
3
37: 27(int) Bitcast 336
3
38: 190(ivec3) CompositeConstruct 337 337 337
3
39: 190(ivec3) BitwiseXor 335 338
Store 19
2(u16v) 339
19
5(u16v): 194
(ptr) Variable Function
200
(i16): 15(ptr) Variable Function
2
20(i): 219
(ptr) Variable Function
22
7(uv): 226
(ptr) Variable Function
2
43(i64): 242
(ptr) Variable Function
2
83(b): 282
(ptr) Variable Function
19
6: 193(ivec3) Load 195
(u16v)
19
8: 197(ivec3) CompositeConstruct 179 179 179
19
9: 193(ivec3) IAdd 196 198
Store 19
5(u16v) 199
201: 14(int) Load 200
(i16)
202: 14(int) ISub 201 179
Store
200(i16) 202
20
3: 14(int) Load 200
(i16)
20
4: 14(int) IAdd 203 179
Store
200(i16) 204
20
5: 193(ivec3) Load 195
(u16v)
20
6: 197(ivec3) CompositeConstruct 179 179 179
20
7: 193(ivec3) ISub 205 206
Store 19
5(u16v) 207
20
8: 193(ivec3) Load 195
(u16v)
20
9: 193(ivec3) Not 208
Store 19
5(u16v) 209
2
10: 14(int) Load 200
(i16)
Store
200(i16) 210
2
11: 193(ivec3) Load 195
(u16v)
2
12: 193(ivec3) SNegate 211
Store 19
5(u16v) 212
21
3: 14(int) Load 200
(i16)
21
4: 14(int) Load 200
(i16)
21
5: 14(int) IAdd 214 213
Store
200(i16) 215
21
6: 193(ivec3) Load 195
(u16v)
21
7: 193(ivec3) Load 195
(u16v)
21
8: 193(ivec3) ISub 217 216
Store 19
5(u16v) 218
2
21: 14(int) Load 200
(i16)
2
22: 27(int) SConvert 221
2
23: 27(int) Load 220
(i)
22
4: 27(int) IMul 223 222
Store 2
20(i) 224
22
8: 193(ivec3) Load 195
(u16v)
22
9: 225(ivec3) UConvert 228
2
30: 225(ivec3) Load 227
(uv)
2
31: 225(ivec3) UDiv 230 229
Store 22
7(uv) 231
2
32: 14(int) Load 200
(i16)
2
33: 27(int) SConvert 232
23
4: 17(int) Bitcast 233
23
5: 225(ivec3) Load 227
(uv)
23
6: 225(ivec3) CompositeConstruct 234 234 234
23
7: 225(ivec3) UMod 235 236
Store 22
7(uv) 237
23
8: 193(ivec3) Load 195
(u16v)
23
9: 225(ivec3) UConvert 238
2
40: 225(ivec3) Load 227
(uv)
2
41: 225(ivec3) IAdd 239 240
Store 22
7(uv) 241
24
4: 14(int) Load 200
(i16)
24
5: 71(int) SConvert 244
24
6: 71(int) Load 243
(i64)
24
7: 71(int) ISub 245 246
Store 2
43(i64) 247
24
8: 193(ivec3) Load 195
(u16v)
24
9: 225(ivec3) UConvert 248
2
50: 225(ivec3) Load 227
(uv)
2
51: 225(ivec3) IMul 249 250
Store 22
7(uv) 251
2
52: 14(int) Load 200
(i16)
2
53: 71(int) SConvert 252
25
4: 71(int) Load 243
(i64)
25
5: 71(int) IMul 253 254
Store 2
43(i64) 255
25
6: 14(int) Load 200
(i16)
25
7: 27(int) SConvert 256
25
8: 27(int) Load 220
(i)
25
9: 27(int) SMod 257 258
Store 2
20(i) 259
2
60: 14(int) Load 200
(i16)
2
61: 193(ivec3) Load 195
(u16v)
2
62: 197(ivec3) CompositeConstruct 260 260 260
2
63: 193(ivec3) ShiftLeftLogical 261 262
Store 19
5(u16v) 263
26
5: 37(ptr) AccessChain 195(u16v) 264
26
6: 36(int) Load 265
26
7: 14(int) Load 200
(i16)
26
8: 14(int) ShiftRightArithmetic 267 266
Store
200(i16) 268
26
9: 14(int) Load 200
(i16)
2
71: 37(ptr) AccessChain 195(u16v) 270
2
72: 36(int) Load 271
2
73: 14(int) ShiftLeftLogical 269 272
Store
200(i16) 273
27
4: 193(ivec3) Load 195
(u16v)
27
6: 275(ivec3) UConvert 274
27
7: 275(ivec3) Bitcast 276
27
8: 27(int) Load 220
(i)
27
9: 275(ivec3) CompositeConstruct 278 278 278
2
80: 275(ivec3) ShiftLeftLogical 277 279
2
81: 225(ivec3) Bitcast 280
Store 22
7(uv) 281
28
5: 37(ptr) AccessChain 195(u16v) 284
28
6: 36(int) Load 285
28
7: 14(int) Load 200
(i16)
28
8: 36(int) Bitcast 287
28
9: 173(bool) INotEqual 286 288
Store 2
83(b) 289
2
90: 14(int) Load 200
(i16)
2
91: 36(int) Bitcast 290
2
92: 37(ptr) AccessChain 195(u16v) 284
2
93: 36(int) Load 292
2
94: 173(bool) IEqual 291 293
Store 2
83(b) 294
29
5: 37(ptr) AccessChain 195(u16v) 284
29
6: 36(int) Load 295
29
7: 17(int) UConvert 296
29
9: 298(ptr) AccessChain 227(uv) 264
300: 17(int) Load 299
301: 173(bool) UGreaterThan 297 300
Store 2
83(b) 301
302: 14(int) Load 200
(i16)
303: 27(int) SConvert 302
304: 27(int) Load 220
(i)
30
5: 173(bool) SLessThan 303 304
Store 2
83(b) 305
30
6: 37(ptr) AccessChain 195(u16v) 264
30
7: 36(int) Load 306
30
8: 17(int) UConvert 307
30
9: 298(ptr) AccessChain 227(uv) 284
3
10: 17(int) Load 309
3
11: 173(bool) UGreaterThanEqual 308 310
Store 2
83(b) 311
3
12: 14(int) Load 200
(i16)
3
13: 27(int) SConvert 312
3
14: 27(int) Load 220
(i)
31
5: 173(bool) SLessThanEqual 313 314
Store 2
83(b) 315
31
6: 14(int) Load 200
(i16)
31
7: 27(int) SConvert 316
31
8: 17(int) Bitcast 317
31
9: 225(ivec3) Load 227
(uv)
3
20: 225(ivec3) CompositeConstruct 318 318 318
3
21: 225(ivec3) BitwiseOr 319 320
Store 22
7(uv) 321
3
22: 14(int) Load 200
(i16)
3
23: 27(int) SConvert 322
3
24: 27(int) Load 220
(i)
32
5: 27(int) BitwiseOr 323 324
Store 2
20(i) 325
32
6: 14(int) Load 200
(i16)
32
7: 71(int) SConvert 326
32
8: 71(int) Load 243
(i64)
32
9: 71(int) BitwiseAnd 328 327
Store 2
43(i64) 329
3
30: 193(ivec3) Load 195
(u16v)
3
31: 225(ivec3) UConvert 330
3
32: 225(ivec3) Load 227
(uv)
3
33: 225(ivec3) BitwiseAnd 331 332
Store 22
7(uv) 333
3
34: 14(int) Load 200
(i16)
33
5: 27(int) SConvert 334
33
6: 17(int) Bitcast 335
33
7: 225(ivec3) Load 227
(uv)
33
8: 225(ivec3) CompositeConstruct 336 336 336
33
9: 225(ivec3) BitwiseXor 337 338
Store 22
7(uv) 339
3
40: 193(ivec3) Load 195
(u16v)
3
41: 14(int) Load 200
(i16)
3
42: 36(int) Bitcast 341
3
43: 193(ivec3) CompositeConstruct 342 342 342
3
44: 193(ivec3) BitwiseXor 340 343
Store 19
5(u16v) 344
Return
FunctionEnd
12(builtinFuncs(): 2 Function None 3
13: Label
34
0
(i16v): 53(ptr) Variable Function
34
3
(i16): 15(ptr) Variable Function
35
3(u16v): 191
(ptr) Variable Function
3
55
(u16): 37(ptr) Variable Function
4
25(i32): 37
(ptr) Variable Function
4
28(i64): 238
(ptr) Variable Function
43
1(i16v4): 430
(ptr) Variable Function
43
4(u32): 293
(ptr) Variable Function
4
35(u16v2): 50
(ptr) Variable Function
4
39(u64): 438
(ptr) Variable Function
44
2(u16v4): 441
(ptr) Variable Function
45
4(bv): 453
(ptr) Variable Function
34
1: 52(ivec2) Load 340
(i16v)
34
2: 52(ivec2) ExtInst 1(GLSL.std.450) 5(SAbs) 341
Store 34
0(i16v) 342
34
4: 14(int) Load 343
(i16)
3
45: 14(int) ExtInst 1(GLSL.std.450) 7(SSign) 344
Store 34
3(i16) 345
3
46: 52(ivec2) Load 340
(i16v)
3
47: 14(int) Load 343
(i16)
3
48: 52(ivec2) CompositeConstruct 347 347
3
49: 52(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 346 348
Store 34
0(i16v) 349
35
0: 52(ivec2) Load 340
(i16v)
35
2: 52(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 350 351
Store 34
0(i16v) 352
35
4: 190(ivec3) Load 353
(u16v)
3
56: 27(int) Load 355
(u16)
3
57: 190(ivec3) CompositeConstruct 356 356 356
3
58: 190(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 354 357
Store 35
3(u16v) 358
3
59: 190(ivec3) Load 353
(u16v)
36
1: 190(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 359 360
Store 35
3(u16v) 361
36
2: 52(ivec2) Load 340
(i16v)
36
3: 14(int) Load 343
(i16)
36
4: 52(ivec2) CompositeConstruct 363 363
3
65: 52(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 362 364
Store 34
0(i16v) 365
3
66: 52(ivec2) Load 340
(i16v)
3
67: 52(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 366 351
Store 34
0(i16v) 367
3
68: 190(ivec3) Load 353
(u16v)
3
69: 27(int) Load 355
(u16)
37
0: 190(ivec3) CompositeConstruct 369 369 369
37
1: 190(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 368 370
Store 35
3(u16v) 371
37
2: 190(ivec3) Load 353
(u16v)
37
3: 190(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 372 360
Store 35
3(u16v) 373
37
4: 52(ivec2) Load 340
(i16v)
3
75: 14(int) Load 343
(i16)
3
76: 14(int) SNegate 375
3
77: 14(int) Load 343
(i16)
3
78: 52(ivec2) CompositeConstruct 376 376
3
79: 52(ivec2) CompositeConstruct 377 377
38
0: 52(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 374 378 379
Store 34
0(i16v) 380
38
1: 52(ivec2) Load 340
(i16v)
38
2: 52(ivec2) Load 340
(i16v)
38
3: 52(ivec2) SNegate 382
38
4: 52(ivec2) Load 340
(i16v)
3
85: 52(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 381 383 384
Store 34
0(i16v) 385
3
86: 190(ivec3) Load 353
(u16v)
3
87: 27(int) Load 355
(u16)
3
88: 27(int) SNegate 387
3
89: 27(int) Load 355
(u16)
39
0: 190(ivec3) CompositeConstruct 388 388 388
39
1: 190(ivec3) CompositeConstruct 389 389 389
39
2: 190(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 386 390 391
Store 35
3(u16v) 392
39
3: 190(ivec3) Load 353
(u16v)
39
4: 190(ivec3) Load 353
(u16v)
395: 190(ivec3) SNegate 394
396: 190(ivec3) Load 353
(u16v)
397: 190(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 393 395 396
Store 35
3(u16v) 397
398: 15(ptr) AccessChain 340(i16v) 279
399: 14(int) Load 398
40
0: 15(ptr) AccessChain 340(i16v) 260
40
1: 14(int) Load 400
40
3: 14(int) Select 402 401 399
Store 34
3(i16) 403
40
4: 14(int) Load 343
(i16)
4
05: 52(ivec2) CompositeConstruct 404 404
4
06: 14(int) Load 343
(i16)
4
07: 14(int) SNegate 406
4
08: 52(ivec2) CompositeConstruct 407 407
41
1: 52(ivec2) Select 410 408 405
Store 34
0(i16v) 411
41
2: 37(ptr) AccessChain 353(u16v) 279
41
3: 27(int) Load 412
41
4: 37(ptr) AccessChain 353(u16v) 260
4
15: 27(int) Load 414
4
16: 27(int) Select 402 415 413
Store 3
55(u16) 416
4
17: 27(int) Load 355
(u16)
4
18: 190(ivec3) CompositeConstruct 417 417 417
4
19: 27(int) Load 355
(u16)
42
0: 27(int) SNegate 419
42
1: 190(ivec3) CompositeConstruct 420 420 420
42
4: 190(ivec3) Select 423 421 418
Store 35
3(u16v) 424
4
26: 52(ivec2) Load 340
(i16v)
4
27: 27(int) Bitcast 426
Store 4
25(i32) 427
43
2: 429(ivec4) Load 431
(i16v4)
43
3: 69(int) Bitcast 432
Store 4
28(i64) 433
4
36: 49(ivec2) Load 435
(u16v2)
4
37: 17(int) Bitcast 436
Store 43
4(u32) 437
44
3: 440(ivec4) Load 442
(u16v4)
44
4: 75(int) Bitcast 443
Store 4
39(u64) 444
4
45: 27(int) Load 425
(i32)
4
46: 52(ivec2) Bitcast 445
Store 34
0(i16v) 446
4
47: 69(int) Load 428
(i64)
4
48: 429(ivec4) Bitcast 447
Store 43
1(i16v4) 448
4
49: 17(int) Load 434
(u32)
45
0: 49(ivec2) Bitcast 449
Store 4
35(u16v2) 450
45
1: 75(int) Load 439
(u64)
45
2: 440(ivec4) Bitcast 451
Store 44
2(u16v4) 452
4
55: 190(ivec3) Load 353
(u16v)
4
56: 27(int) Load 355
(u16)
4
57: 190(ivec3) CompositeConstruct 456 456 456
4
58: 422(bvec3) ULessThan 455 457
Store 45
4(bv) 458
4
59: 52(ivec2) Load 340
(i16v)
46
0: 14(int) Load 343
(i16)
46
1: 52(ivec2) CompositeConstruct 460 460
46
2: 170(bvec2) SLessThan 459 461
46
3: 422(bvec3) Load 454
(bv)
46
4: 422(bvec3) VectorShuffle 463 462
3 4 2
Store 45
4(bv) 464
4
65: 190(ivec3) Load 353
(u16v)
4
66: 27(int) Load 355
(u16)
4
67: 190(ivec3) CompositeConstruct 466 466 466
4
68: 422(bvec3) ULessThanEqual 465 467
Store 45
4(bv) 468
4
69: 52(ivec2) Load 340
(i16v)
47
0: 14(int) Load 343
(i16)
47
1: 52(ivec2) CompositeConstruct 470 470
47
2: 170(bvec2) SLessThanEqual 469 471
47
3: 422(bvec3) Load 454
(bv)
47
4: 422(bvec3) VectorShuffle 473 472
3 4 2
Store 45
4(bv) 474
4
75: 190(ivec3) Load 353
(u16v)
4
76: 27(int) Load 355
(u16)
4
77: 190(ivec3) CompositeConstruct 476 476 476
4
78: 422(bvec3) UGreaterThan 475 477
Store 45
4(bv) 478
4
79: 52(ivec2) Load 340
(i16v)
48
0: 14(int) Load 343
(i16)
48
1: 52(ivec2) CompositeConstruct 480 480
48
2: 170(bvec2) SGreaterThan 479 481
48
3: 422(bvec3) Load 454
(bv)
48
4: 422(bvec3) VectorShuffle 483 482
3 4 2
Store 45
4(bv) 484
4
85: 190(ivec3) Load 353
(u16v)
4
86: 27(int) Load 355
(u16)
4
87: 190(ivec3) CompositeConstruct 486 486 486
4
88: 422(bvec3) UGreaterThanEqual 485 487
Store 45
4(bv) 488
4
89: 52(ivec2) Load 340
(i16v)
49
0: 14(int) Load 343
(i16)
49
1: 52(ivec2) CompositeConstruct 490 490
49
2: 170(bvec2) SGreaterThanEqual 489 491
49
3: 422(bvec3) Load 454
(bv)
49
4: 422(bvec3) VectorShuffle 493 492
3 4 2
Store 45
4(bv) 494
495: 190(ivec3) Load 353
(u16v)
496: 27(int) Load 355
(u16)
497: 190(ivec3) CompositeConstruct 496 496 496
498: 422(bvec3) IEqual 495 497
Store 45
4(bv) 498
499: 52(ivec2) Load 340
(i16v)
50
0: 14(int) Load 343
(i16)
50
1: 52(ivec2) CompositeConstruct 500 500
50
2: 170(bvec2) IEqual 499 501
50
3: 422(bvec3) Load 454
(bv)
50
4: 422(bvec3) VectorShuffle 503 502
3 4 2
Store 45
4(bv) 504
5
05: 190(ivec3) Load 353
(u16v)
5
06: 27(int) Load 355
(u16)
5
07: 190(ivec3) CompositeConstruct 506 506 506
5
08: 422(bvec3) INotEqual 505 507
Store 45
4(bv) 508
5
09: 52(ivec2) Load 340
(i16v)
51
0: 14(int) Load 343
(i16)
51
1: 52(ivec2) CompositeConstruct 510 510
51
2: 170(bvec2) INotEqual 509 511
51
3: 422(bvec3) Load 454
(bv)
51
4: 422(bvec3) VectorShuffle 513 512
3 4 2
Store 45
4(bv) 514
34
5
(i16v): 53(ptr) Variable Function
34
8
(i16): 15(ptr) Variable Function
35
8(u16v): 194
(ptr) Variable Function
3
60
(u16): 37(ptr) Variable Function
4
30(i32): 219
(ptr) Variable Function
4
33(i64): 242
(ptr) Variable Function
43
6(i16v4): 435
(ptr) Variable Function
43
9(u32): 298
(ptr) Variable Function
4
40(u16v2): 58
(ptr) Variable Function
4
44(u64): 443
(ptr) Variable Function
44
7(u16v4): 446
(ptr) Variable Function
45
9(bv): 458
(ptr) Variable Function
34
6: 52(ivec2) Load 345
(i16v)
34
7: 52(ivec2) ExtInst 1(GLSL.std.450) 5(SAbs) 346
Store 34
5(i16v) 347
34
9: 14(int) Load 348
(i16)
3
50: 14(int) ExtInst 1(GLSL.std.450) 7(SSign) 349
Store 34
8(i16) 350
3
51: 52(ivec2) Load 345
(i16v)
3
52: 14(int) Load 348
(i16)
3
53: 52(ivec2) CompositeConstruct 352 352
3
54: 52(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 351 353
Store 34
5(i16v) 354
35
5: 52(ivec2) Load 345
(i16v)
35
7: 52(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 355 356
Store 34
5(i16v) 357
35
9: 193(ivec3) Load 358
(u16v)
3
61: 36(int) Load 360
(u16)
3
62: 193(ivec3) CompositeConstruct 361 361 361
3
63: 193(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 359 362
Store 35
8(u16v) 363
3
64: 193(ivec3) Load 358
(u16v)
36
6: 193(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 364 365
Store 35
8(u16v) 366
36
7: 52(ivec2) Load 345
(i16v)
36
8: 14(int) Load 348
(i16)
36
9: 52(ivec2) CompositeConstruct 368 368
3
70: 52(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 367 369
Store 34
5(i16v) 370
3
71: 52(ivec2) Load 345
(i16v)
3
72: 52(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 371 356
Store 34
5(i16v) 372
3
73: 193(ivec3) Load 358
(u16v)
3
74: 36(int) Load 360
(u16)
37
5: 193(ivec3) CompositeConstruct 374 374 374
37
6: 193(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 373 375
Store 35
8(u16v) 376
37
7: 193(ivec3) Load 358
(u16v)
37
8: 193(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 377 365
Store 35
8(u16v) 378
37
9: 52(ivec2) Load 345
(i16v)
3
80: 14(int) Load 348
(i16)
3
81: 14(int) SNegate 380
3
82: 14(int) Load 348
(i16)
3
83: 52(ivec2) CompositeConstruct 381 381
3
84: 52(ivec2) CompositeConstruct 382 382
38
5: 52(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 379 383 384
Store 34
5(i16v) 385
38
6: 52(ivec2) Load 345
(i16v)
38
7: 52(ivec2) Load 345
(i16v)
38
8: 52(ivec2) SNegate 387
38
9: 52(ivec2) Load 345
(i16v)
3
90: 52(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 386 388 389
Store 34
5(i16v) 390
3
91: 193(ivec3) Load 358
(u16v)
3
92: 36(int) Load 360
(u16)
3
93: 36(int) SNegate 392
3
94: 36(int) Load 360
(u16)
39
5: 193(ivec3) CompositeConstruct 393 393 393
39
6: 193(ivec3) CompositeConstruct 394 394 394
39
7: 193(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 391 395 396
Store 35
8(u16v) 397
39
8: 193(ivec3) Load 358
(u16v)
39
9: 193(ivec3) Load 358
(u16v)
400: 193(ivec3) SNegate 399
401: 193(ivec3) Load 358
(u16v)
402: 193(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 398 400 401
Store 35
8(u16v) 402
403: 15(ptr) AccessChain 345(i16v) 284
404: 14(int) Load 403
40
5: 15(ptr) AccessChain 345(i16v) 264
40
6: 14(int) Load 405
40
8: 14(int) Select 407 406 404
Store 34
8(i16) 408
40
9: 14(int) Load 348
(i16)
4
10: 52(ivec2) CompositeConstruct 409 409
4
11: 14(int) Load 348
(i16)
4
12: 14(int) SNegate 411
4
13: 52(ivec2) CompositeConstruct 412 412
41
6: 52(ivec2) Select 415 413 410
Store 34
5(i16v) 416
41
7: 37(ptr) AccessChain 358(u16v) 284
41
8: 36(int) Load 417
41
9: 37(ptr) AccessChain 358(u16v) 264
4
20: 36(int) Load 419
4
21: 36(int) Select 407 420 418
Store 3
60(u16) 421
4
22: 36(int) Load 360
(u16)
4
23: 193(ivec3) CompositeConstruct 422 422 422
4
24: 36(int) Load 360
(u16)
42
5: 36(int) SNegate 424
42
6: 193(ivec3) CompositeConstruct 425 425 425
42
9: 193(ivec3) Select 428 426 423
Store 35
8(u16v) 429
4
31: 52(ivec2) Load 345
(i16v)
4
32: 27(int) Bitcast 431
Store 4
30(i32) 432
43
7: 434(ivec4) Load 436
(i16v4)
43
8: 71(int) Bitcast 437
Store 4
33(i64) 438
4
41: 57(ivec2) Load 440
(u16v2)
4
42: 17(int) Bitcast 441
Store 43
9(u32) 442
44
8: 445(ivec4) Load 447
(u16v4)
44
9: 77(int) Bitcast 448
Store 4
44(u64) 449
4
50: 27(int) Load 430
(i32)
4
51: 52(ivec2) Bitcast 450
Store 34
5(i16v) 451
4
52: 71(int) Load 433
(i64)
4
53: 434(ivec4) Bitcast 452
Store 43
6(i16v4) 453
4
54: 17(int) Load 439
(u32)
45
5: 57(ivec2) Bitcast 454
Store 4
40(u16v2) 455
45
6: 77(int) Load 444
(u64)
45
7: 445(ivec4) Bitcast 456
Store 44
7(u16v4) 457
4
60: 193(ivec3) Load 358
(u16v)
4
61: 36(int) Load 360
(u16)
4
62: 193(ivec3) CompositeConstruct 461 461 461
4
63: 427(bvec3) ULessThan 460 462
Store 45
9(bv) 463
4
64: 52(ivec2) Load 345
(i16v)
46
5: 14(int) Load 348
(i16)
46
6: 52(ivec2) CompositeConstruct 465 465
46
7: 174(bvec2) SLessThan 464 466
46
8: 427(bvec3) Load 459
(bv)
46
9: 427(bvec3) VectorShuffle 468 467
3 4 2
Store 45
9(bv) 469
4
70: 193(ivec3) Load 358
(u16v)
4
71: 36(int) Load 360
(u16)
4
72: 193(ivec3) CompositeConstruct 471 471 471
4
73: 427(bvec3) ULessThanEqual 470 472
Store 45
9(bv) 473
4
74: 52(ivec2) Load 345
(i16v)
47
5: 14(int) Load 348
(i16)
47
6: 52(ivec2) CompositeConstruct 475 475
47
7: 174(bvec2) SLessThanEqual 474 476
47
8: 427(bvec3) Load 459
(bv)
47
9: 427(bvec3) VectorShuffle 478 477
3 4 2
Store 45
9(bv) 479
4
80: 193(ivec3) Load 358
(u16v)
4
81: 36(int) Load 360
(u16)
4
82: 193(ivec3) CompositeConstruct 481 481 481
4
83: 427(bvec3) UGreaterThan 480 482
Store 45
9(bv) 483
4
84: 52(ivec2) Load 345
(i16v)
48
5: 14(int) Load 348
(i16)
48
6: 52(ivec2) CompositeConstruct 485 485
48
7: 174(bvec2) SGreaterThan 484 486
48
8: 427(bvec3) Load 459
(bv)
48
9: 427(bvec3) VectorShuffle 488 487
3 4 2
Store 45
9(bv) 489
4
90: 193(ivec3) Load 358
(u16v)
4
91: 36(int) Load 360
(u16)
4
92: 193(ivec3) CompositeConstruct 491 491 491
4
93: 427(bvec3) UGreaterThanEqual 490 492
Store 45
9(bv) 493
4
94: 52(ivec2) Load 345
(i16v)
49
5: 14(int) Load 348
(i16)
49
6: 52(ivec2) CompositeConstruct 495 495
49
7: 174(bvec2) SGreaterThanEqual 494 496
49
8: 427(bvec3) Load 459
(bv)
49
9: 427(bvec3) VectorShuffle 498 497
3 4 2
Store 45
9(bv) 499
500: 193(ivec3) Load 358
(u16v)
501: 36(int) Load 360
(u16)
502: 193(ivec3) CompositeConstruct 501 501 501
503: 427(bvec3) IEqual 500 502
Store 45
9(bv) 503
504: 52(ivec2) Load 345
(i16v)
50
5: 14(int) Load 348
(i16)
50
6: 52(ivec2) CompositeConstruct 505 505
50
7: 174(bvec2) IEqual 504 506
50
8: 427(bvec3) Load 459
(bv)
50
9: 427(bvec3) VectorShuffle 508 507
3 4 2
Store 45
9(bv) 509
5
10: 193(ivec3) Load 358
(u16v)
5
11: 36(int) Load 360
(u16)
5
12: 193(ivec3) CompositeConstruct 511 511 511
5
13: 427(bvec3) INotEqual 510 512
Store 45
9(bv) 513
5
14: 52(ivec2) Load 345
(i16v)
51
5: 14(int) Load 348
(i16)
51
6: 52(ivec2) CompositeConstruct 515 515
51
7: 174(bvec2) INotEqual 514 516
51
8: 427(bvec3) Load 459
(bv)
51
9: 427(bvec3) VectorShuffle 518 517
3 4 2
Store 45
9(bv) 519
Return
FunctionEnd
Test/baseResults/spv.int32.frag.out
View file @
1790a40c
spv.int32.frag
// Module Version 10000
// Generated by (magic number): 80004
// Id's are bound by 49
1
// Id's are bound by 49
5
Capability Shader
Capability Float16
...
...
@@ -45,63 +45,63 @@ spv.int32.frag
Name 84 "f64v"
Name 94 "i8v"
Name 103 "i16v"
Name 12
1
"u8v"
Name 1
28
"u16v"
Name 1
48
"f16v"
Name 16
4
"bv"
Name 18
2
"u32v"
Name 1
87
"i32"
Name 2
06
"i"
Name 21
0
"uv"
Name 22
3
"i64"
Name 2
58
"b"
Name 31
0
"i32v"
Name 31
3
"i32"
Name 32
3
"u32v"
Name 32
5
"u32"
Name
397
"i8v4"
Name 40
0
"i16v2"
Name 40
5
"u8v4"
Name 4
08
"u16v2"
Name 41
1
"i64"
Name 41
4
"u32v2"
Name 4
16
"u64"
Name 42
0
"bv"
Name 48
3
"Block"
MemberName 48
3
(Block) 0 "i32"
MemberName 48
3
(Block) 1 "i32v2"
MemberName 48
3
(Block) 2 "i32v3"
MemberName 48
3
(Block) 3 "i32v4"
MemberName 48
3
(Block) 4 "u32"
MemberName 48
3
(Block) 5 "u32v2"
MemberName 48
3
(Block) 6 "u32v3"
MemberName 48
3
(Block) 7 "u32v4"
Name 48
5
"block"
Name 4
86
"si32"
Name 4
87
"su32"
Name 4
88
"si"
Name 4
89
"su"
Name 49
0
"sb"
Name 12
3
"u8v"
Name 1
32
"u16v"
Name 1
52
"f16v"
Name 16
8
"bv"
Name 18
6
"u32v"
Name 1
91
"i32"
Name 2
10
"i"
Name 21
4
"uv"
Name 22
7
"i64"
Name 2
62
"b"
Name 31
4
"i32v"
Name 31
7
"i32"
Name 32
7
"u32v"
Name 32
9
"u32"
Name
401
"i8v4"
Name 40
4
"i16v2"
Name 40
9
"u8v4"
Name 4
12
"u16v2"
Name 41
5
"i64"
Name 41
8
"u32v2"
Name 4
20
"u64"
Name 42
4
"bv"
Name 48
7
"Block"
MemberName 48
7
(Block) 0 "i32"
MemberName 48
7
(Block) 1 "i32v2"
MemberName 48
7
(Block) 2 "i32v3"
MemberName 48
7
(Block) 3 "i32v4"
MemberName 48
7
(Block) 4 "u32"
MemberName 48
7
(Block) 5 "u32v2"
MemberName 48
7
(Block) 6 "u32v3"
MemberName 48
7
(Block) 7 "u32v4"
Name 48
9
"block"
Name 4
90
"si32"
Name 4
91
"su32"
Name 4
92
"si"
Name 4
93
"su"
Name 49
4
"sb"
MemberDecorate 27(Uniforms) 0 Offset 0
Decorate 27(Uniforms) Block
Decorate 29 DescriptorSet 0
Decorate 29 Binding 0
MemberDecorate 48
3
(Block) 0 Offset 0
MemberDecorate 48
3
(Block) 1 Offset 8
MemberDecorate 48
3
(Block) 2 Offset 16
MemberDecorate 48
3
(Block) 3 Offset 32
MemberDecorate 48
3
(Block) 4 Offset 48
MemberDecorate 48
3
(Block) 5 Offset 56
MemberDecorate 48
3
(Block) 6 Offset 64
MemberDecorate 48
3
(Block) 7 Offset 80
Decorate 48
3
(Block) Block
Decorate 48
5
(block) DescriptorSet 0
Decorate 48
5
(block) Binding 1
Decorate 4
86
(si32) SpecId 100
Decorate 4
87
(su32) SpecId 101
Decorate 4
88
(si) SpecId 102
Decorate 4
89
(su) SpecId 103
Decorate 49
0
(sb) SpecId 104
MemberDecorate 48
7
(Block) 0 Offset 0
MemberDecorate 48
7
(Block) 1 Offset 8
MemberDecorate 48
7
(Block) 2 Offset 16
MemberDecorate 48
7
(Block) 3 Offset 32
MemberDecorate 48
7
(Block) 4 Offset 48
MemberDecorate 48
7
(Block) 5 Offset 56
MemberDecorate 48
7
(Block) 6 Offset 64
MemberDecorate 48
7
(Block) 7 Offset 80
Decorate 48
7
(Block) Block
Decorate 48
9
(block) DescriptorSet 0
Decorate 48
9
(block) Binding 1
Decorate 4
90
(si32) SpecId 100
Decorate 4
91
(su32) SpecId 101
Decorate 4
92
(si) SpecId 102
Decorate 4
93
(su) SpecId 103
Decorate 49
4
(sb) SpecId 104
2: TypeVoid
3: TypeFunction 2
14: TypeInt 32 0
...
...
@@ -150,49 +150,53 @@ spv.int32.frag
101: TypeVector 100(int) 2
102: TypePointer Function 101(ivec2)
120: TypeInt 8 0
127: TypeInt 16 0
145: TypeFloat 16
146: TypeVector 145(float) 2
147: TypePointer Function 146(fvec2)
161: TypeBool
162: TypeVector 161(bool) 2
163: TypePointer Function 162(bvec2)
166: 18(int) Constant 1
167: 52(ivec2) ConstantComposite 30 30
168: 52(ivec2) ConstantComposite 166 166
171: 14(int) Constant 0
172: 14(int) Constant 1
173: 49(ivec2) ConstantComposite 171 171
174: 49(ivec2) ConstantComposite 172 172
180: TypeVector 14(int) 3
181: TypePointer Function 180(ivec3)
184: TypeVector 18(int) 3
222: TypePointer Function 57(int)
247: 14(int) Constant 2
257: TypePointer Function 161(bool)
321: 52(ivec2) ConstantComposite 24 24
330: 180(ivec3) ConstantComposite 171 171 171
372: 161(bool) ConstantTrue
379: 161(bool) ConstantFalse
380: 162(bvec2) ConstantComposite 379 379
392: TypeVector 161(bool) 3
393: 392(bvec3) ConstantComposite 379 379 379
395: TypeVector 91(int) 4
396: TypePointer Function 395(ivec4)
403: TypeVector 100(int) 4
404: TypePointer Function 403(ivec4)
415: TypePointer Function 63(int)
419: TypePointer Function 392(bvec3)
481: TypeVector 18(int) 4
482: TypeVector 14(int) 4
483(Block): TypeStruct 18(int) 52(ivec2) 184(ivec3) 481(ivec4) 14(int) 49(ivec2) 180(ivec3) 482(ivec4)
484: TypePointer Uniform 483(Block)
485(block): 484(ptr) Variable Uniform
486(si32): 18(int) SpecConstant 4294967286
487(su32): 14(int) SpecConstant 20
488(si): 18(int) SpecConstant 4294967291
489(su): 14(int) SpecConstant 4
490(sb): 161(bool) SpecConstantTrue
121: TypeVector 120(int) 2
122: TypePointer Function 121(ivec2)
129: TypeInt 16 0
130: TypeVector 129(int) 2
131: TypePointer Function 130(ivec2)
149: TypeFloat 16
150: TypeVector 149(float) 2
151: TypePointer Function 150(fvec2)
165: TypeBool
166: TypeVector 165(bool) 2
167: TypePointer Function 166(bvec2)
170: 18(int) Constant 1
171: 52(ivec2) ConstantComposite 30 30
172: 52(ivec2) ConstantComposite 170 170
175: 14(int) Constant 0
176: 14(int) Constant 1
177: 49(ivec2) ConstantComposite 175 175
178: 49(ivec2) ConstantComposite 176 176
184: TypeVector 14(int) 3
185: TypePointer Function 184(ivec3)
188: TypeVector 18(int) 3
226: TypePointer Function 57(int)
251: 14(int) Constant 2
261: TypePointer Function 165(bool)
325: 52(ivec2) ConstantComposite 24 24
334: 184(ivec3) ConstantComposite 175 175 175
376: 165(bool) ConstantTrue
383: 165(bool) ConstantFalse
384: 166(bvec2) ConstantComposite 383 383
396: TypeVector 165(bool) 3
397: 396(bvec3) ConstantComposite 383 383 383
399: TypeVector 91(int) 4
400: TypePointer Function 399(ivec4)
407: TypeVector 120(int) 4
408: TypePointer Function 407(ivec4)
419: TypePointer Function 63(int)
423: TypePointer Function 396(bvec3)
485: TypeVector 18(int) 4
486: TypeVector 14(int) 4
487(Block): TypeStruct 18(int) 52(ivec2) 188(ivec3) 485(ivec4) 14(int) 49(ivec2) 184(ivec3) 486(ivec4)
488: TypePointer Uniform 487(Block)
489(block): 488(ptr) Variable Uniform
490(si32): 18(int) SpecConstant 4294967286
491(su32): 14(int) SpecConstant 20
492(si): 18(int) SpecConstant 4294967291
493(su): 14(int) SpecConstant 4
494(sb): 165(bool) SpecConstantTrue
4(main): 2 Function None 3
5: Label
Store 16(u32Max) 17
...
...
@@ -228,10 +232,10 @@ spv.int32.frag
84(f64v): 83(ptr) Variable Function
94(i8v): 93(ptr) Variable Function
103(i16v): 102(ptr) Variable Function
12
1(u8v): 10
2(ptr) Variable Function
1
28(u16v): 53
(ptr) Variable Function
1
48(f16v): 147
(ptr) Variable Function
16
4(bv): 163
(ptr) Variable Function
12
3(u8v): 12
2(ptr) Variable Function
1
32(u16v): 131
(ptr) Variable Function
1
52(f16v): 151
(ptr) Variable Function
16
8(bv): 167
(ptr) Variable Function
55: 52(ivec2) Load 54(i32v)
56: 49(ivec2) Bitcast 55
Store 51(u32v) 56
...
...
@@ -290,423 +294,423 @@ spv.int32.frag
118: 58(ivec2) UConvert 117
119: 58(ivec2) Bitcast 118
Store 60(i64v) 119
122: 52(ivec2) Load 54(i32v)
123: 92(ivec2) SConvert 122
124: 101(ivec2) Bitcast 123
Store 121(u8v) 124
125: 49(ivec2) Load 51(u32v)
126: 101(ivec2) UConvert 125
Store 121(u8v) 126
129: 52(ivec2) Load 54(i32v)
130: 101(ivec2) SConvert 129
131: 52(ivec2) Bitcast 130
Store 128(u16v) 131
132: 49(ivec2) Load 51(u32v)
133: 52(ivec2) UConvert 132
Store 128(u16v) 133
134: 52(ivec2) Load 54(i32v)
135: 49(ivec2) Bitcast 134
Store 51(u32v) 135
124: 52(ivec2) Load 54(i32v)
125: 92(ivec2) SConvert 124
126: 121(ivec2) Bitcast 125
Store 123(u8v) 126
127: 49(ivec2) Load 51(u32v)
128: 121(ivec2) UConvert 127
Store 123(u8v) 128
133: 52(ivec2) Load 54(i32v)
134: 101(ivec2) SConvert 133
135: 130(ivec2) Bitcast 134
Store 132(u16v) 135
136: 49(ivec2) Load 51(u32v)
137: 14(int) CompositeExtract 136 0
138: 14(int) CompositeExtract 136 1
139: 49(ivec2) CompositeConstruct 137 138
137: 130(ivec2) UConvert 136
Store 132(u16v) 137
138: 52(ivec2) Load 54(i32v)
139: 49(ivec2) Bitcast 138
Store 51(u32v) 139
140: 52(ivec2) Load 54(i32v)
141: 58(ivec2) SConvert 140
142: 64(ivec2) Bitcast 141
Store 66(u64v) 142
143: 49(ivec2) Load 51(u32v)
144: 64(ivec2) UConvert 143
Store 66(u64v) 144
149: 52(ivec2) Load 54(i32v)
150: 146(fvec2) ConvertSToF 149
Store 148(f16v) 150
151: 52(ivec2) Load 54(i32v)
152: 76(fvec2) ConvertSToF 151
Store 78(f32v) 152
140: 49(ivec2) Load 51(u32v)
141: 14(int) CompositeExtract 140 0
142: 14(int) CompositeExtract 140 1
143: 49(ivec2) CompositeConstruct 141 142
Store 51(u32v) 143
144: 52(ivec2) Load 54(i32v)
145: 58(ivec2) SConvert 144
146: 64(ivec2) Bitcast 145
Store 66(u64v) 146
147: 49(ivec2) Load 51(u32v)
148: 64(ivec2) UConvert 147
Store 66(u64v) 148
153: 52(ivec2) Load 54(i32v)
154:
82
(fvec2) ConvertSToF 153
Store
84(f64
v) 154
155:
49(ivec2) Load 51(u
32v)
156:
146(fvec2) ConvertU
ToF 155
Store
148(f16
v) 156
157:
49(ivec2) Load 51(u
32v)
158:
76(fvec2) ConvertU
ToF 157
Store
78(f32
v) 158
154:
150
(fvec2) ConvertSToF 153
Store
152(f16
v) 154
155:
52(ivec2) Load 54(i
32v)
156:
76(fvec2) ConvertS
ToF 155
Store
78(f32
v) 156
157:
52(ivec2) Load 54(i
32v)
158:
82(fvec2) ConvertS
ToF 157
Store
84(f64
v) 158
159: 49(ivec2) Load 51(u32v)
160: 82(fvec2) ConvertUToF 159
Store 84(f64v) 160
165: 162(bvec2) Load 164(bv)
169: 52(ivec2) Select 165 168 167
Store 54(i32v) 169
170: 162(bvec2) Load 164(bv)
175: 49(ivec2) Select 170 174 173
Store 51(u32v) 175
176: 52(ivec2) Load 54(i32v)
177: 162(bvec2) INotEqual 176 173
Store 164(bv) 177
178: 49(ivec2) Load 51(u32v)
179: 162(bvec2) INotEqual 178 173
Store 164(bv) 179
160: 150(fvec2) ConvertUToF 159
Store 152(f16v) 160
161: 49(ivec2) Load 51(u32v)
162: 76(fvec2) ConvertUToF 161
Store 78(f32v) 162
163: 49(ivec2) Load 51(u32v)
164: 82(fvec2) ConvertUToF 163
Store 84(f64v) 164
169: 166(bvec2) Load 168(bv)
173: 52(ivec2) Select 169 172 171
Store 54(i32v) 173
174: 166(bvec2) Load 168(bv)
179: 49(ivec2) Select 174 178 177
Store 51(u32v) 179
180: 52(ivec2) Load 54(i32v)
181: 166(bvec2) INotEqual 180 177
Store 168(bv) 181
182: 49(ivec2) Load 51(u32v)
183: 166(bvec2) INotEqual 182 177
Store 168(bv) 183
Return
FunctionEnd
10(operators(): 2 Function None 3
11: Label
18
2(u32v): 181
(ptr) Variable Function
1
87
(i32): 19(ptr) Variable Function
2
06
(i): 19(ptr) Variable Function
21
0(uv): 181
(ptr) Variable Function
22
3(i64): 222
(ptr) Variable Function
2
58(b): 257
(ptr) Variable Function
18
3: 180(ivec3) Load 182
(u32v)
18
5: 184(ivec3) CompositeConstruct 166 166 166
1
86: 180(ivec3) IAdd 183 185
Store 18
2(u32v) 186
1
88: 18(int) Load 187
(i32)
1
89: 18(int) ISub 188 166
Store 1
87(i32) 189
19
0: 18(int) Load 187
(i32)
19
1: 18(int) IAdd 190 166
Store 1
87(i32) 191
19
2: 180(ivec3) Load 182
(u32v)
19
3: 184(ivec3) CompositeConstruct 166 166 166
19
4: 180(ivec3) ISub 192 193
Store 18
2(u32v) 194
19
5: 180(ivec3) Load 182
(u32v)
196: 180(ivec3) Not 195
Store 18
2(u32v) 196
197: 18(int) Load 187
(i32)
Store 1
87(i32) 197
198: 180(ivec3) Load 182
(u32v)
199: 180(ivec3) SNegate 198
Store 18
2(u32v) 199
20
0: 18(int) Load 187
(i32)
20
1: 18(int) Load 187
(i32)
20
2: 18(int) IAdd 201 200
Store 1
87(i32) 202
20
3: 180(ivec3) Load 182
(u32v)
20
4: 180(ivec3) Load 182
(u32v)
20
5: 180(ivec3) ISub 204 203
Store 18
2(u32v) 205
2
07: 18(int) Load 187
(i32)
2
08: 18(int) Load 206
(i)
2
09: 18(int) IMul 208 207
Store 2
06(i) 209
21
1: 180(ivec3) Load 182
(u32v)
21
2: 180(ivec3) Load 210
(uv)
21
3: 180(ivec3) UDiv 212 211
Store 21
0(uv) 213
21
4: 18(int) Load 187
(i32)
21
5: 14(int) Bitcast 214
2
16: 180(ivec3) Load 210
(uv)
2
17: 180(ivec3) CompositeConstruct 215 215 215
2
18: 180(ivec3) UMod 216 217
Store 21
0(uv) 218
2
19: 180(ivec3) Load 182
(u32v)
22
0: 180(ivec3) Load 210
(uv)
22
1: 180(ivec3) IAdd 219 220
Store 21
0(uv) 221
22
4: 18(int) Load 187
(i32)
22
5: 57(int) SConvert 224
2
26: 57(int) Load 223
(i64)
2
27: 57(int) ISub 225 226
Store 22
3(i64) 227
2
28: 180(ivec3) Load 182
(u32v)
2
29: 180(ivec3) Load 210
(uv)
23
0: 180(ivec3) IMul 228 229
Store 21
0(uv) 230
23
1: 18(int) Load 187
(i32)
23
2: 57(int) SConvert 231
23
3: 57(int) Load 223
(i64)
23
4: 57(int) IMul 232 233
Store 22
3(i64) 234
23
5: 18(int) Load 187
(i32)
2
36: 18(int) Load 206
(i)
2
37: 18(int) SMod 235 236
Store 2
06(i) 237
2
38: 18(int) Load 187
(i32)
2
39: 180(ivec3) Load 182
(u32v)
24
0: 184(ivec3) CompositeConstruct 238 238 238
24
1: 180(ivec3) ShiftLeftLogical 239 240
Store 18
2(u32v) 241
24
2: 38(ptr) AccessChain 182(u32v) 172
24
3: 14(int) Load 242
24
4: 18(int) Load 187
(i32)
24
5: 18(int) ShiftRightArithmetic 244 243
Store 1
87(i32) 245
2
46: 57(int) Load 223
(i64)
2
48: 38(ptr) AccessChain 182(u32v) 247
2
49: 14(int) Load 248
25
0: 57(int) UConvert 249
25
1: 57(int) Bitcast 250
25
2: 57(int) ShiftLeftLogical 246 251
Store 22
3(i64) 252
25
3: 180(ivec3) Load 182
(u32v)
25
4: 18(int) Load 206
(i)
25
5: 184(ivec3) CompositeConstruct 254 254 254
2
56: 180(ivec3) ShiftLeftLogical 253 255
Store 21
0(uv) 256
2
59: 38(ptr) AccessChain 182(u32v) 171
26
0: 14(int) Load 259
26
1: 18(int) Load 187
(i32)
26
2: 14(int) Bitcast 261
26
3: 161(bool) INotEqual 260 262
Store 2
58(b) 263
26
4: 18(int) Load 187
(i32)
26
5: 14(int) Bitcast 264
2
66: 38(ptr) AccessChain 182(u32v) 171
2
67: 14(int) Load 266
2
68: 161(bool) IEqual 265 267
Store 2
58(b) 268
2
69: 38(ptr) AccessChain 182(u32v) 171
27
0: 14(int) Load 269
27
1: 38(ptr) AccessChain 210(uv) 172
27
2: 14(int) Load 271
27
3: 161(bool) UGreaterThan 270 272
Store 2
58(b) 273
27
4: 18(int) Load 187
(i32)
27
5: 18(int) Load 206
(i)
2
76: 161(bool) SLessThan 274 275
Store 2
58(b) 276
2
77: 38(ptr) AccessChain 182(u32v) 172
2
78: 14(int) Load 277
2
79: 38(ptr) AccessChain 210(uv) 171
28
0: 14(int) Load 279
28
1: 161(bool) UGreaterThanEqual 278 280
Store 2
58(b) 281
28
2: 18(int) Load 187
(i32)
28
3: 18(int) Load 206
(i)
28
4: 161(bool) SLessThanEqual 282 283
Store 2
58(b) 284
28
5: 18(int) Load 187
(i32)
2
86: 14(int) Bitcast 285
2
87: 180(ivec3) Load 210
(uv)
2
88: 180(ivec3) CompositeConstruct 286 286 286
2
89: 180(ivec3) BitwiseOr 287 288
Store 21
0(uv) 289
29
0: 18(int) Load 187
(i32)
29
1: 18(int) Load 206
(i)
29
2: 18(int) BitwiseOr 290 291
Store 2
06(i) 292
29
3: 18(int) Load 187
(i32)
29
4: 57(int) SConvert 293
29
5: 57(int) Load 223
(i64)
296: 57(int) BitwiseAnd 295 294
Store 22
3(i64) 296
297: 180(ivec3) Load 182
(u32v)
298: 180(ivec3) Load 210
(uv)
299: 180(ivec3) BitwiseAnd 297 298
Store 21
0(uv) 299
30
0: 18(int) Load 187
(i32)
30
1: 14(int) Bitcast 300
30
2: 180(ivec3) Load 210
(uv)
30
3: 180(ivec3) CompositeConstruct 301 301 301
30
4: 180(ivec3) BitwiseXor 302 303
Store 21
0(uv) 304
30
5: 180(ivec3) Load 182
(u32v)
3
06: 18(int) Load 187
(i32)
3
07: 14(int) Bitcast 306
3
08: 180(ivec3) CompositeConstruct 307 307 307
3
09: 180(ivec3) BitwiseXor 305 308
Store 18
2(u32v) 309
18
6(u32v): 185
(ptr) Variable Function
1
91
(i32): 19(ptr) Variable Function
2
10
(i): 19(ptr) Variable Function
21
4(uv): 185
(ptr) Variable Function
22
7(i64): 226
(ptr) Variable Function
2
62(b): 261
(ptr) Variable Function
18
7: 184(ivec3) Load 186
(u32v)
18
9: 188(ivec3) CompositeConstruct 170 170 170
1
90: 184(ivec3) IAdd 187 189
Store 18
6(u32v) 190
1
92: 18(int) Load 191
(i32)
1
93: 18(int) ISub 192 170
Store 1
91(i32) 193
19
4: 18(int) Load 191
(i32)
19
5: 18(int) IAdd 194 170
Store 1
91(i32) 195
19
6: 184(ivec3) Load 186
(u32v)
19
7: 188(ivec3) CompositeConstruct 170 170 170
19
8: 184(ivec3) ISub 196 197
Store 18
6(u32v) 198
19
9: 184(ivec3) Load 186
(u32v)
200: 184(ivec3) Not 199
Store 18
6(u32v) 200
201: 18(int) Load 191
(i32)
Store 1
91(i32) 201
202: 184(ivec3) Load 186
(u32v)
203: 184(ivec3) SNegate 202
Store 18
6(u32v) 203
20
4: 18(int) Load 191
(i32)
20
5: 18(int) Load 191
(i32)
20
6: 18(int) IAdd 205 204
Store 1
91(i32) 206
20
7: 184(ivec3) Load 186
(u32v)
20
8: 184(ivec3) Load 186
(u32v)
20
9: 184(ivec3) ISub 208 207
Store 18
6(u32v) 209
2
11: 18(int) Load 191
(i32)
2
12: 18(int) Load 210
(i)
2
13: 18(int) IMul 212 211
Store 2
10(i) 213
21
5: 184(ivec3) Load 186
(u32v)
21
6: 184(ivec3) Load 214
(uv)
21
7: 184(ivec3) UDiv 216 215
Store 21
4(uv) 217
21
8: 18(int) Load 191
(i32)
21
9: 14(int) Bitcast 218
2
20: 184(ivec3) Load 214
(uv)
2
21: 184(ivec3) CompositeConstruct 219 219 219
2
22: 184(ivec3) UMod 220 221
Store 21
4(uv) 222
2
23: 184(ivec3) Load 186
(u32v)
22
4: 184(ivec3) Load 214
(uv)
22
5: 184(ivec3) IAdd 223 224
Store 21
4(uv) 225
22
8: 18(int) Load 191
(i32)
22
9: 57(int) SConvert 228
2
30: 57(int) Load 227
(i64)
2
31: 57(int) ISub 229 230
Store 22
7(i64) 231
2
32: 184(ivec3) Load 186
(u32v)
2
33: 184(ivec3) Load 214
(uv)
23
4: 184(ivec3) IMul 232 233
Store 21
4(uv) 234
23
5: 18(int) Load 191
(i32)
23
6: 57(int) SConvert 235
23
7: 57(int) Load 227
(i64)
23
8: 57(int) IMul 236 237
Store 22
7(i64) 238
23
9: 18(int) Load 191
(i32)
2
40: 18(int) Load 210
(i)
2
41: 18(int) SMod 239 240
Store 2
10(i) 241
2
42: 18(int) Load 191
(i32)
2
43: 184(ivec3) Load 186
(u32v)
24
4: 188(ivec3) CompositeConstruct 242 242 242
24
5: 184(ivec3) ShiftLeftLogical 243 244
Store 18
6(u32v) 245
24
6: 38(ptr) AccessChain 186(u32v) 176
24
7: 14(int) Load 246
24
8: 18(int) Load 191
(i32)
24
9: 18(int) ShiftRightArithmetic 248 247
Store 1
91(i32) 249
2
50: 57(int) Load 227
(i64)
2
52: 38(ptr) AccessChain 186(u32v) 251
2
53: 14(int) Load 252
25
4: 57(int) UConvert 253
25
5: 57(int) Bitcast 254
25
6: 57(int) ShiftLeftLogical 250 255
Store 22
7(i64) 256
25
7: 184(ivec3) Load 186
(u32v)
25
8: 18(int) Load 210
(i)
25
9: 188(ivec3) CompositeConstruct 258 258 258
2
60: 184(ivec3) ShiftLeftLogical 257 259
Store 21
4(uv) 260
2
63: 38(ptr) AccessChain 186(u32v) 175
26
4: 14(int) Load 263
26
5: 18(int) Load 191
(i32)
26
6: 14(int) Bitcast 265
26
7: 165(bool) INotEqual 264 266
Store 2
62(b) 267
26
8: 18(int) Load 191
(i32)
26
9: 14(int) Bitcast 268
2
70: 38(ptr) AccessChain 186(u32v) 175
2
71: 14(int) Load 270
2
72: 165(bool) IEqual 269 271
Store 2
62(b) 272
2
73: 38(ptr) AccessChain 186(u32v) 175
27
4: 14(int) Load 273
27
5: 38(ptr) AccessChain 214(uv) 176
27
6: 14(int) Load 275
27
7: 165(bool) UGreaterThan 274 276
Store 2
62(b) 277
27
8: 18(int) Load 191
(i32)
27
9: 18(int) Load 210
(i)
2
80: 165(bool) SLessThan 278 279
Store 2
62(b) 280
2
81: 38(ptr) AccessChain 186(u32v) 176
2
82: 14(int) Load 281
2
83: 38(ptr) AccessChain 214(uv) 175
28
4: 14(int) Load 283
28
5: 165(bool) UGreaterThanEqual 282 284
Store 2
62(b) 285
28
6: 18(int) Load 191
(i32)
28
7: 18(int) Load 210
(i)
28
8: 165(bool) SLessThanEqual 286 287
Store 2
62(b) 288
28
9: 18(int) Load 191
(i32)
2
90: 14(int) Bitcast 289
2
91: 184(ivec3) Load 214
(uv)
2
92: 184(ivec3) CompositeConstruct 290 290 290
2
93: 184(ivec3) BitwiseOr 291 292
Store 21
4(uv) 293
29
4: 18(int) Load 191
(i32)
29
5: 18(int) Load 210
(i)
29
6: 18(int) BitwiseOr 294 295
Store 2
10(i) 296
29
7: 18(int) Load 191
(i32)
29
8: 57(int) SConvert 297
29
9: 57(int) Load 227
(i64)
300: 57(int) BitwiseAnd 299 298
Store 22
7(i64) 300
301: 184(ivec3) Load 186
(u32v)
302: 184(ivec3) Load 214
(uv)
303: 184(ivec3) BitwiseAnd 301 302
Store 21
4(uv) 303
30
4: 18(int) Load 191
(i32)
30
5: 14(int) Bitcast 304
30
6: 184(ivec3) Load 214
(uv)
30
7: 184(ivec3) CompositeConstruct 305 305 305
30
8: 184(ivec3) BitwiseXor 306 307
Store 21
4(uv) 308
30
9: 184(ivec3) Load 186
(u32v)
3
10: 18(int) Load 191
(i32)
3
11: 14(int) Bitcast 310
3
12: 184(ivec3) CompositeConstruct 311 311 311
3
13: 184(ivec3) BitwiseXor 309 312
Store 18
6(u32v) 313
Return
FunctionEnd
12(builtinFuncs(): 2 Function None 3
13: Label
31
0
(i32v): 53(ptr) Variable Function
31
3
(i32): 19(ptr) Variable Function
32
3(u32v): 181
(ptr) Variable Function
32
5
(u32): 38(ptr) Variable Function
397(i8v4): 396
(ptr) Variable Function
40
0
(i16v2): 102(ptr) Variable Function
40
5(u8v4): 404
(ptr) Variable Function
4
08(u16v2): 53
(ptr) Variable Function
41
1(i64): 222
(ptr) Variable Function
41
4
(u32v2): 50(ptr) Variable Function
4
16(u64): 415
(ptr) Variable Function
42
0(bv): 419
(ptr) Variable Function
31
1: 52(ivec2) Load 310
(i32v)
31
2: 52(ivec2) ExtInst 1(GLSL.std.450) 5(SAbs) 311
Store 31
0(i32v) 312
31
4: 18(int) Load 313
(i32)
31
5: 18(int) ExtInst 1(GLSL.std.450) 7(SSign) 314
Store 31
3(i32) 315
3
16: 52(ivec2) Load 310
(i32v)
3
17: 18(int) Load 313
(i32)
3
18: 52(ivec2) CompositeConstruct 317 317
3
19: 52(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 316 318
Store 31
0(i32v) 319
32
0: 52(ivec2) Load 310
(i32v)
32
2: 52(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 320 321
Store 31
0(i32v) 322
32
4: 180(ivec3) Load 323
(u32v)
3
26: 14(int) Load 325
(u32)
3
27: 180(ivec3) CompositeConstruct 326 326 326
3
28: 180(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 324 327
Store 32
3(u32v) 328
3
29: 180(ivec3) Load 323
(u32v)
33
1: 180(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 329 330
Store 32
3(u32v) 331
33
2: 52(ivec2) Load 310
(i32v)
33
3: 18(int) Load 313
(i32)
33
4: 52(ivec2) CompositeConstruct 333 333
33
5: 52(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 332 334
Store 31
0(i32v) 335
3
36: 52(ivec2) Load 310
(i32v)
3
37: 52(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 336 321
Store 31
0(i32v) 337
3
38: 180(ivec3) Load 323
(u32v)
3
39: 14(int) Load 325
(u32)
34
0: 180(ivec3) CompositeConstruct 339 339 339
34
1: 180(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 338 340
Store 32
3(u32v) 341
34
2: 180(ivec3) Load 323
(u32v)
34
3: 180(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 342 330
Store 32
3(u32v) 343
34
4: 52(ivec2) Load 310
(i32v)
34
5: 18(int) Load 313
(i32)
3
46: 18(int) SNegate 345
3
47: 18(int) Load 313
(i32)
3
48: 52(ivec2) CompositeConstruct 346 346
3
49: 52(ivec2) CompositeConstruct 347 347
35
0: 52(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 344 348 349
Store 31
0(i32v) 350
35
1: 52(ivec2) Load 310
(i32v)
35
2: 52(ivec2) Load 310
(i32v)
35
3: 52(ivec2) SNegate 352
35
4: 52(ivec2) Load 310
(i32v)
35
5: 52(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 351 353 354
Store 31
0(i32v) 355
3
56: 180(ivec3) Load 323
(u32v)
3
57: 14(int) Load 325
(u32)
3
58: 14(int) SNegate 357
3
59: 14(int) Load 325
(u32)
36
0: 180(ivec3) CompositeConstruct 358 358 358
36
1: 180(ivec3) CompositeConstruct 359 359 359
36
2: 180(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 356 360 361
Store 32
3(u32v) 362
36
3: 180(ivec3) Load 323
(u32v)
36
4: 180(ivec3) Load 323
(u32v)
36
5: 180(ivec3) SNegate 364
3
66: 180(ivec3) Load 323
(u32v)
3
67: 180(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 363 365 366
Store 32
3(u32v) 367
3
68: 19(ptr) AccessChain 310(i32v) 171
3
69: 18(int) Load 368
37
0: 19(ptr) AccessChain 310(i32v) 172
37
1: 18(int) Load 370
37
3: 18(int) Select 372 371 369
Store 31
3(i32) 373
37
4: 18(int) Load 313
(i32)
37
5: 52(ivec2) CompositeConstruct 374 374
3
76: 18(int) Load 313
(i32)
3
77: 18(int) SNegate 376
3
78: 52(ivec2) CompositeConstruct 377 377
38
1: 52(ivec2) Select 380 378 375
Store 31
0(i32v) 381
38
2: 38(ptr) AccessChain 323(u32v) 171
38
3: 14(int) Load 382
38
4: 38(ptr) AccessChain 323(u32v) 172
38
5: 14(int) Load 384
3
86: 14(int) Select 372 385 383
Store 32
5(u32) 386
3
87: 14(int) Load 325
(u32)
3
88: 180(ivec3) CompositeConstruct 387 387 387
3
89: 14(int) Load 325
(u32)
39
0: 14(int) SNegate 389
39
1: 180(ivec3) CompositeConstruct 390 390 390
39
4: 180(ivec3) Select 393 391 388
Store 32
3(u32v) 394
398: 395(ivec4) Load 397
(i8v4)
399: 18(int) Bitcast 398
Store 31
3(i32) 399
40
1: 101(ivec2) Load 400
(i16v2)
40
2: 18(int) Bitcast 401
Store 31
3(i32) 402
4
06: 403(ivec4) Load 405
(u8v4)
4
07: 14(int) Bitcast 406
Store 32
5(u32) 407
4
09: 52(ivec2) Load 408
(u16v2)
41
0: 14(int) Bitcast 409
Store 32
5(u32) 410
41
2: 57(int) Load 411
(i64)
41
3: 52(ivec2) Bitcast 412
Store 31
0(i32v) 413
4
17: 63(int) Load 416
(u64)
4
18: 49(ivec2) Bitcast 417
Store 41
4(u32v2) 418
42
1: 180(ivec3) Load 323
(u32v)
42
2: 14(int) Load 325
(u32)
42
3: 180(ivec3) CompositeConstruct 422 422 422
42
4: 392(bvec3) ULessThan 421 423
Store 42
0(bv) 424
42
5: 52(ivec2) Load 310
(i32v)
4
26: 18(int) Load 313
(i32)
4
27: 52(ivec2) CompositeConstruct 426 426
4
28: 162(bvec2) SLessThan 425 427
4
29: 392(bvec3) Load 420
(bv)
43
0: 392(bvec3) VectorShuffle 429 428
3 4 2
Store 42
0(bv) 430
43
1: 180(ivec3) Load 323
(u32v)
43
2: 14(int) Load 325
(u32)
43
3: 180(ivec3) CompositeConstruct 432 432 432
43
4: 392(bvec3) ULessThanEqual 431 433
Store 42
0(bv) 434
43
5: 52(ivec2) Load 310
(i32v)
4
36: 18(int) Load 313
(i32)
4
37: 52(ivec2) CompositeConstruct 436 436
4
38: 162(bvec2) SLessThanEqual 435 437
4
39: 392(bvec3) Load 420
(bv)
44
0: 392(bvec3) VectorShuffle 439 438
3 4 2
Store 42
0(bv) 440
44
1: 180(ivec3) Load 323
(u32v)
44
2: 14(int) Load 325
(u32)
44
3: 180(ivec3) CompositeConstruct 442 442 442
44
4: 392(bvec3) UGreaterThan 441 443
Store 42
0(bv) 444
44
5: 52(ivec2) Load 310
(i32v)
4
46: 18(int) Load 313
(i32)
4
47: 52(ivec2) CompositeConstruct 446 446
4
48: 162(bvec2) SGreaterThan 445 447
4
49: 392(bvec3) Load 420
(bv)
45
0: 392(bvec3) VectorShuffle 449 448
3 4 2
Store 42
0(bv) 450
45
1: 180(ivec3) Load 323
(u32v)
45
2: 14(int) Load 325
(u32)
45
3: 180(ivec3) CompositeConstruct 452 452 452
45
4: 392(bvec3) UGreaterThanEqual 451 453
Store 42
0(bv) 454
45
5: 52(ivec2) Load 310
(i32v)
4
56: 18(int) Load 313
(i32)
4
57: 52(ivec2) CompositeConstruct 456 456
4
58: 162(bvec2) SGreaterThanEqual 455 457
4
59: 392(bvec3) Load 420
(bv)
46
0: 392(bvec3) VectorShuffle 459 458
3 4 2
Store 42
0(bv) 460
46
1: 180(ivec3) Load 323
(u32v)
46
2: 14(int) Load 325
(u32)
46
3: 180(ivec3) CompositeConstruct 462 462 462
46
4: 392(bvec3) IEqual 461 463
Store 42
0(bv) 464
46
5: 52(ivec2) Load 310
(i32v)
4
66: 18(int) Load 313
(i32)
4
67: 52(ivec2) CompositeConstruct 466 466
4
68: 162(bvec2) IEqual 465 467
4
69: 392(bvec3) Load 420
(bv)
47
0: 392(bvec3) VectorShuffle 469 468
3 4 2
Store 42
0(bv) 470
47
1: 180(ivec3) Load 323
(u32v)
47
2: 14(int) Load 325
(u32)
47
3: 180(ivec3) CompositeConstruct 472 472 472
47
4: 392(bvec3) INotEqual 471 473
Store 42
0(bv) 474
47
5: 52(ivec2) Load 310
(i32v)
4
76: 18(int) Load 313
(i32)
4
77: 52(ivec2) CompositeConstruct 476 476
4
78: 162(bvec2) INotEqual 475 477
4
79: 392(bvec3) Load 420
(bv)
48
0: 392(bvec3) VectorShuffle 479 478
3 4 2
Store 42
0(bv) 480
31
4
(i32v): 53(ptr) Variable Function
31
7
(i32): 19(ptr) Variable Function
32
7(u32v): 185
(ptr) Variable Function
32
9
(u32): 38(ptr) Variable Function
401(i8v4): 400
(ptr) Variable Function
40
4
(i16v2): 102(ptr) Variable Function
40
9(u8v4): 408
(ptr) Variable Function
4
12(u16v2): 131
(ptr) Variable Function
41
5(i64): 226
(ptr) Variable Function
41
8
(u32v2): 50(ptr) Variable Function
4
20(u64): 419
(ptr) Variable Function
42
4(bv): 423
(ptr) Variable Function
31
5: 52(ivec2) Load 314
(i32v)
31
6: 52(ivec2) ExtInst 1(GLSL.std.450) 5(SAbs) 315
Store 31
4(i32v) 316
31
8: 18(int) Load 317
(i32)
31
9: 18(int) ExtInst 1(GLSL.std.450) 7(SSign) 318
Store 31
7(i32) 319
3
20: 52(ivec2) Load 314
(i32v)
3
21: 18(int) Load 317
(i32)
3
22: 52(ivec2) CompositeConstruct 321 321
3
23: 52(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 320 322
Store 31
4(i32v) 323
32
4: 52(ivec2) Load 314
(i32v)
32
6: 52(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 324 325
Store 31
4(i32v) 326
32
8: 184(ivec3) Load 327
(u32v)
3
30: 14(int) Load 329
(u32)
3
31: 184(ivec3) CompositeConstruct 330 330 330
3
32: 184(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 328 331
Store 32
7(u32v) 332
3
33: 184(ivec3) Load 327
(u32v)
33
5: 184(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 333 334
Store 32
7(u32v) 335
33
6: 52(ivec2) Load 314
(i32v)
33
7: 18(int) Load 317
(i32)
33
8: 52(ivec2) CompositeConstruct 337 337
33
9: 52(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 336 338
Store 31
4(i32v) 339
3
40: 52(ivec2) Load 314
(i32v)
3
41: 52(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 340 325
Store 31
4(i32v) 341
3
42: 184(ivec3) Load 327
(u32v)
3
43: 14(int) Load 329
(u32)
34
4: 184(ivec3) CompositeConstruct 343 343 343
34
5: 184(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 342 344
Store 32
7(u32v) 345
34
6: 184(ivec3) Load 327
(u32v)
34
7: 184(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 346 334
Store 32
7(u32v) 347
34
8: 52(ivec2) Load 314
(i32v)
34
9: 18(int) Load 317
(i32)
3
50: 18(int) SNegate 349
3
51: 18(int) Load 317
(i32)
3
52: 52(ivec2) CompositeConstruct 350 350
3
53: 52(ivec2) CompositeConstruct 351 351
35
4: 52(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 348 352 353
Store 31
4(i32v) 354
35
5: 52(ivec2) Load 314
(i32v)
35
6: 52(ivec2) Load 314
(i32v)
35
7: 52(ivec2) SNegate 356
35
8: 52(ivec2) Load 314
(i32v)
35
9: 52(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 355 357 358
Store 31
4(i32v) 359
3
60: 184(ivec3) Load 327
(u32v)
3
61: 14(int) Load 329
(u32)
3
62: 14(int) SNegate 361
3
63: 14(int) Load 329
(u32)
36
4: 184(ivec3) CompositeConstruct 362 362 362
36
5: 184(ivec3) CompositeConstruct 363 363 363
36
6: 184(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 360 364 365
Store 32
7(u32v) 366
36
7: 184(ivec3) Load 327
(u32v)
36
8: 184(ivec3) Load 327
(u32v)
36
9: 184(ivec3) SNegate 368
3
70: 184(ivec3) Load 327
(u32v)
3
71: 184(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 367 369 370
Store 32
7(u32v) 371
3
72: 19(ptr) AccessChain 314(i32v) 175
3
73: 18(int) Load 372
37
4: 19(ptr) AccessChain 314(i32v) 176
37
5: 18(int) Load 374
37
7: 18(int) Select 376 375 373
Store 31
7(i32) 377
37
8: 18(int) Load 317
(i32)
37
9: 52(ivec2) CompositeConstruct 378 378
3
80: 18(int) Load 317
(i32)
3
81: 18(int) SNegate 380
3
82: 52(ivec2) CompositeConstruct 381 381
38
5: 52(ivec2) Select 384 382 379
Store 31
4(i32v) 385
38
6: 38(ptr) AccessChain 327(u32v) 175
38
7: 14(int) Load 386
38
8: 38(ptr) AccessChain 327(u32v) 176
38
9: 14(int) Load 388
3
90: 14(int) Select 376 389 387
Store 32
9(u32) 390
3
91: 14(int) Load 329
(u32)
3
92: 184(ivec3) CompositeConstruct 391 391 391
3
93: 14(int) Load 329
(u32)
39
4: 14(int) SNegate 393
39
5: 184(ivec3) CompositeConstruct 394 394 394
39
8: 184(ivec3) Select 397 395 392
Store 32
7(u32v) 398
402: 399(ivec4) Load 401
(i8v4)
403: 18(int) Bitcast 402
Store 31
7(i32) 403
40
5: 101(ivec2) Load 404
(i16v2)
40
6: 18(int) Bitcast 405
Store 31
7(i32) 406
4
10: 407(ivec4) Load 409
(u8v4)
4
11: 14(int) Bitcast 410
Store 32
9(u32) 411
4
13: 130(ivec2) Load 412
(u16v2)
41
4: 14(int) Bitcast 413
Store 32
9(u32) 414
41
6: 57(int) Load 415
(i64)
41
7: 52(ivec2) Bitcast 416
Store 31
4(i32v) 417
4
21: 63(int) Load 420
(u64)
4
22: 49(ivec2) Bitcast 421
Store 41
8(u32v2) 422
42
5: 184(ivec3) Load 327
(u32v)
42
6: 14(int) Load 329
(u32)
42
7: 184(ivec3) CompositeConstruct 426 426 426
42
8: 396(bvec3) ULessThan 425 427
Store 42
4(bv) 428
42
9: 52(ivec2) Load 314
(i32v)
4
30: 18(int) Load 317
(i32)
4
31: 52(ivec2) CompositeConstruct 430 430
4
32: 166(bvec2) SLessThan 429 431
4
33: 396(bvec3) Load 424
(bv)
43
4: 396(bvec3) VectorShuffle 433 432
3 4 2
Store 42
4(bv) 434
43
5: 184(ivec3) Load 327
(u32v)
43
6: 14(int) Load 329
(u32)
43
7: 184(ivec3) CompositeConstruct 436 436 436
43
8: 396(bvec3) ULessThanEqual 435 437
Store 42
4(bv) 438
43
9: 52(ivec2) Load 314
(i32v)
4
40: 18(int) Load 317
(i32)
4
41: 52(ivec2) CompositeConstruct 440 440
4
42: 166(bvec2) SLessThanEqual 439 441
4
43: 396(bvec3) Load 424
(bv)
44
4: 396(bvec3) VectorShuffle 443 442
3 4 2
Store 42
4(bv) 444
44
5: 184(ivec3) Load 327
(u32v)
44
6: 14(int) Load 329
(u32)
44
7: 184(ivec3) CompositeConstruct 446 446 446
44
8: 396(bvec3) UGreaterThan 445 447
Store 42
4(bv) 448
44
9: 52(ivec2) Load 314
(i32v)
4
50: 18(int) Load 317
(i32)
4
51: 52(ivec2) CompositeConstruct 450 450
4
52: 166(bvec2) SGreaterThan 449 451
4
53: 396(bvec3) Load 424
(bv)
45
4: 396(bvec3) VectorShuffle 453 452
3 4 2
Store 42
4(bv) 454
45
5: 184(ivec3) Load 327
(u32v)
45
6: 14(int) Load 329
(u32)
45
7: 184(ivec3) CompositeConstruct 456 456 456
45
8: 396(bvec3) UGreaterThanEqual 455 457
Store 42
4(bv) 458
45
9: 52(ivec2) Load 314
(i32v)
4
60: 18(int) Load 317
(i32)
4
61: 52(ivec2) CompositeConstruct 460 460
4
62: 166(bvec2) SGreaterThanEqual 459 461
4
63: 396(bvec3) Load 424
(bv)
46
4: 396(bvec3) VectorShuffle 463 462
3 4 2
Store 42
4(bv) 464
46
5: 184(ivec3) Load 327
(u32v)
46
6: 14(int) Load 329
(u32)
46
7: 184(ivec3) CompositeConstruct 466 466 466
46
8: 396(bvec3) IEqual 465 467
Store 42
4(bv) 468
46
9: 52(ivec2) Load 314
(i32v)
4
70: 18(int) Load 317
(i32)
4
71: 52(ivec2) CompositeConstruct 470 470
4
72: 166(bvec2) IEqual 469 471
4
73: 396(bvec3) Load 424
(bv)
47
4: 396(bvec3) VectorShuffle 473 472
3 4 2
Store 42
4(bv) 474
47
5: 184(ivec3) Load 327
(u32v)
47
6: 14(int) Load 329
(u32)
47
7: 184(ivec3) CompositeConstruct 476 476 476
47
8: 396(bvec3) INotEqual 475 477
Store 42
4(bv) 478
47
9: 52(ivec2) Load 314
(i32v)
4
80: 18(int) Load 317
(i32)
4
81: 52(ivec2) CompositeConstruct 480 480
4
82: 166(bvec2) INotEqual 479 481
4
83: 396(bvec3) Load 424
(bv)
48
4: 396(bvec3) VectorShuffle 483 482
3 4 2
Store 42
4(bv) 484
Return
FunctionEnd
Test/baseResults/spv.int8.frag.out
View file @
1790a40c
spv.int8.frag
// Module Version 10000
// Generated by (magic number): 80004
// Id's are bound by 5
26
// Id's are bound by 5
31
Capability Shader
Capability Float16
...
...
@@ -34,67 +34,67 @@ spv.int8.frag
MemberName 24(Uniforms) 0 "index"
Name 26 ""
Name 33 "indexable"
Name 3
9
"u8"
Name 4
7
"indexable"
Name 5
2
"u8v"
Name 5
5
"i8v"
Name
58
"i16v"
Name 6
6
"i32v"
Name 7
4
"u32v"
Name 8
1
"i64v"
Name 8
7
"u64v"
Name 10
1
"f16v"
Name 10
7
"f32v"
Name 11
3
"f64v"
Name 14
0
"u16v"
Name 17
0
"bv"
Name 1
89
"u8v"
Name 19
3
"i8"
Name 21
3
"i"
Name 22
0
"uv"
Name 2
38
"i16"
Name 27
5
"b"
Name 3
37
"i8v"
Name 34
0
"i8"
Name 35
0
"u8v"
Name 35
2
"u8"
Name 4
26
"i16"
Name 4
29
"i32"
Name 43
2
"i8v4"
Name 4
35
"u16"
Name 4
36
"u8v2"
Name 4
39
"u32"
Name 44
2
"u8v4"
Name 45
4
"bv"
Name 52
1
"Block"
MemberName 52
1
(Block) 0 "i8"
MemberName 52
1
(Block) 1 "i8v2"
MemberName 52
1
(Block) 2 "i8v3"
MemberName 52
1
(Block) 3 "i8v4"
MemberName 52
1
(Block) 4 "u8"
MemberName 52
1
(Block) 5 "u8v2"
MemberName 52
1
(Block) 6 "u8v3"
MemberName 52
1
(Block) 7 "u8v4"
Name 52
3
"block"
Name 52
4
"si8"
Name 5
25
"su8"
Name 3
8
"u8"
Name 4
6
"indexable"
Name 5
1
"u8v"
Name 5
4
"i8v"
Name
60
"i16v"
Name 6
8
"i32v"
Name 7
6
"u32v"
Name 8
3
"i64v"
Name 8
9
"u64v"
Name 10
3
"f16v"
Name 10
9
"f32v"
Name 11
5
"f64v"
Name 14
4
"u16v"
Name 17
4
"bv"
Name 1
92
"u8v"
Name 19
6
"i8"
Name 21
6
"i"
Name 22
3
"uv"
Name 2
42
"i16"
Name 27
9
"b"
Name 3
41
"i8v"
Name 34
4
"i8"
Name 35
4
"u8v"
Name 35
6
"u8"
Name 4
30
"i16"
Name 4
33
"i32"
Name 43
6
"i8v4"
Name 4
40
"u16"
Name 4
41
"u8v2"
Name 4
44
"u32"
Name 44
7
"u8v4"
Name 45
9
"bv"
Name 52
6
"Block"
MemberName 52
6
(Block) 0 "i8"
MemberName 52
6
(Block) 1 "i8v2"
MemberName 52
6
(Block) 2 "i8v3"
MemberName 52
6
(Block) 3 "i8v4"
MemberName 52
6
(Block) 4 "u8"
MemberName 52
6
(Block) 5 "u8v2"
MemberName 52
6
(Block) 6 "u8v3"
MemberName 52
6
(Block) 7 "u8v4"
Name 52
8
"block"
Name 52
9
"si8"
Name 5
30
"su8"
MemberDecorate 24(Uniforms) 0 Offset 0
Decorate 24(Uniforms) Block
Decorate 26 DescriptorSet 0
Decorate 26 Binding 0
MemberDecorate 52
1
(Block) 0 Offset 0
MemberDecorate 52
1
(Block) 1 Offset 2
MemberDecorate 52
1
(Block) 2 Offset 4
MemberDecorate 52
1
(Block) 3 Offset 8
MemberDecorate 52
1
(Block) 4 Offset 12
MemberDecorate 52
1
(Block) 5 Offset 14
MemberDecorate 52
1
(Block) 6 Offset 16
MemberDecorate 52
1
(Block) 7 Offset 20
Decorate 52
1
(Block) Block
Decorate 52
3
(block) DescriptorSet 0
Decorate 52
3
(block) Binding 1
Decorate 52
4
(si8) SpecId 100
Decorate 5
25
(su8) SpecId 101
MemberDecorate 52
6
(Block) 0 Offset 0
MemberDecorate 52
6
(Block) 1 Offset 2
MemberDecorate 52
6
(Block) 2 Offset 4
MemberDecorate 52
6
(Block) 3 Offset 8
MemberDecorate 52
6
(Block) 4 Offset 12
MemberDecorate 52
6
(Block) 5 Offset 14
MemberDecorate 52
6
(Block) 6 Offset 16
MemberDecorate 52
6
(Block) 7 Offset 20
Decorate 52
6
(Block) Block
Decorate 52
8
(block) DescriptorSet 0
Decorate 52
8
(block) Binding 1
Decorate 52
9
(si8) SpecId 100
Decorate 5
30
(su8) SpecId 101
2: TypeVoid
3: TypeFunction 2
14: TypeInt 8 1
...
...
@@ -114,77 +114,82 @@ spv.int8.frag
29: TypePointer Uniform 17(int)
32: TypePointer Function 19
36: TypeInt 8 0
37: TypeInt 16 1
38: TypePointer Function 37(int)
40: TypeArray 37(int) 18
41: 36(int) Constant 255
42: 36(int) Constant 127
43: 40 ConstantComposite 41 41 42
46: TypePointer Function 40
50: TypeVector 37(int) 2
51: TypePointer Function 50(ivec2)
53: TypeVector 14(int) 2
54: TypePointer Function 53(ivec2)
64: TypeVector 27(int) 2
65: TypePointer Function 64(ivec2)
72: TypeVector 17(int) 2
73: TypePointer Function 72(ivec2)
78: TypeInt 64 1
79: TypeVector 78(int) 2
80: TypePointer Function 79(ivec2)
84: TypeInt 64 0
85: TypeVector 84(int) 2
86: TypePointer Function 85(ivec2)
98: TypeFloat 16
99: TypeVector 98(float) 2
100: TypePointer Function 99(fvec2)
104: TypeFloat 32
105: TypeVector 104(float) 2
106: TypePointer Function 105(fvec2)
110: TypeFloat 64
111: TypeVector 110(float) 2
112: TypePointer Function 111(fvec2)
139: TypeInt 16 0
167: TypeBool
168: TypeVector 167(bool) 2
169: TypePointer Function 168(bvec2)
172: 14(int) Constant 1
173: 53(ivec2) ConstantComposite 22 22
174: 53(ivec2) ConstantComposite 172 172
177: 36(int) Constant 0
178: 36(int) Constant 1
179: TypeVector 36(int) 2
180: 179(ivec2) ConstantComposite 177 177
181: 179(ivec2) ConstantComposite 178 178
187: TypeVector 14(int) 3
188: TypePointer Function 187(ivec3)
212: TypePointer Function 27(int)
218: TypeVector 17(int) 3
219: TypePointer Function 218(ivec3)
222: TypeVector 27(int) 3
260: 17(int) Constant 1
266: 17(int) Constant 2
274: TypePointer Function 167(bool)
276: 17(int) Constant 0
289: TypePointer Function 17(int)
348: 53(ivec2) ConstantComposite 21 21
354: TypeVector 37(int) 3
358: 187(ivec3) ConstantComposite 22 22 22
400: 167(bool) ConstantTrue
407: 167(bool) ConstantFalse
408: 168(bvec2) ConstantComposite 407 407
423: TypeVector 167(bool) 3
424: 423(bvec3) ConstantComposite 407 407 407
430: TypeVector 14(int) 4
431: TypePointer Function 430(ivec4)
440: TypeVector 37(int) 4
441: TypePointer Function 440(ivec4)
453: TypePointer Function 423(bvec3)
521(Block): TypeStruct 14(int) 53(ivec2) 187(ivec3) 430(ivec4) 37(int) 50(ivec2) 187(ivec3) 440(ivec4)
522: TypePointer Uniform 521(Block)
523(block): 522(ptr) Variable Uniform
524(si8): 14(int) SpecConstant 4294967286
525(su8): 36(int) SpecConstant 20
37: TypePointer Function 36(int)
39: TypeArray 36(int) 18
40: 36(int) Constant 255
41: 36(int) Constant 127
42: 39 ConstantComposite 40 40 41
45: TypePointer Function 39
49: TypeVector 36(int) 2
50: TypePointer Function 49(ivec2)
52: TypeVector 14(int) 2
53: TypePointer Function 52(ivec2)
57: TypeInt 16 1
58: TypeVector 57(int) 2
59: TypePointer Function 58(ivec2)
66: TypeVector 27(int) 2
67: TypePointer Function 66(ivec2)
74: TypeVector 17(int) 2
75: TypePointer Function 74(ivec2)
80: TypeInt 64 1
81: TypeVector 80(int) 2
82: TypePointer Function 81(ivec2)
86: TypeInt 64 0
87: TypeVector 86(int) 2
88: TypePointer Function 87(ivec2)
100: TypeFloat 16
101: TypeVector 100(float) 2
102: TypePointer Function 101(fvec2)
106: TypeFloat 32
107: TypeVector 106(float) 2
108: TypePointer Function 107(fvec2)
112: TypeFloat 64
113: TypeVector 112(float) 2
114: TypePointer Function 113(fvec2)
141: TypeInt 16 0
142: TypeVector 141(int) 2
143: TypePointer Function 142(ivec2)
171: TypeBool
172: TypeVector 171(bool) 2
173: TypePointer Function 172(bvec2)
176: 14(int) Constant 1
177: 52(ivec2) ConstantComposite 22 22
178: 52(ivec2) ConstantComposite 176 176
181: 36(int) Constant 0
182: 36(int) Constant 1
183: 49(ivec2) ConstantComposite 181 181
184: 49(ivec2) ConstantComposite 182 182
190: TypeVector 14(int) 3
191: TypePointer Function 190(ivec3)
215: TypePointer Function 27(int)
221: TypeVector 17(int) 3
222: TypePointer Function 221(ivec3)
225: TypeVector 27(int) 3
241: TypePointer Function 57(int)
264: 17(int) Constant 1
270: 17(int) Constant 2
278: TypePointer Function 171(bool)
280: 17(int) Constant 0
293: TypePointer Function 17(int)
352: 52(ivec2) ConstantComposite 21 21
358: TypeVector 36(int) 3
362: 190(ivec3) ConstantComposite 22 22 22
404: 171(bool) ConstantTrue
411: 171(bool) ConstantFalse
412: 172(bvec2) ConstantComposite 411 411
427: TypeVector 171(bool) 3
428: 427(bvec3) ConstantComposite 411 411 411
434: TypeVector 14(int) 4
435: TypePointer Function 434(ivec4)
439: TypePointer Function 141(int)
445: TypeVector 36(int) 4
446: TypePointer Function 445(ivec4)
458: TypePointer Function 427(bvec3)
526(Block): TypeStruct 14(int) 52(ivec2) 190(ivec3) 434(ivec4) 36(int) 49(ivec2) 190(ivec3) 445(ivec4)
527: TypePointer Uniform 526(Block)
528(block): 527(ptr) Variable Uniform
529(si8): 14(int) SpecConstant 4294967286
530(su8): 36(int) SpecConstant 20
4(main): 2 Function None 3
5: Label
Return
...
...
@@ -193,553 +198,553 @@ spv.int8.frag
7: Label
16(i8): 15(ptr) Variable Function
33(indexable): 32(ptr) Variable Function
3
9(u8): 38
(ptr) Variable Function
4
7(indexable): 46
(ptr) Variable Function
3
8(u8): 37
(ptr) Variable Function
4
6(indexable): 45
(ptr) Variable Function
30: 29(ptr) AccessChain 26 28
31: 17(int) Load 30
Store 33(indexable) 23
34: 15(ptr) AccessChain 33(indexable) 31
35: 14(int) Load 34
Store 16(i8) 35
4
4
: 29(ptr) AccessChain 26 28
4
5: 17(int) Load 44
Store 4
7(indexable) 43
4
8: 38(ptr) AccessChain 47(indexable) 45
4
9: 37(int) Load 48
Store 3
9(u8) 49
4
3
: 29(ptr) AccessChain 26 28
4
4: 17(int) Load 43
Store 4
6(indexable) 42
4
7: 37(ptr) AccessChain 46(indexable) 44
4
8: 36(int) Load 47
Store 3
8(u8) 48
Return
FunctionEnd
8(typeCast8(): 2 Function None 3
9: Label
5
2(u8v): 51
(ptr) Variable Function
5
5(i8v): 54
(ptr) Variable Function
58(i16v): 51
(ptr) Variable Function
6
6(i32v): 65
(ptr) Variable Function
7
4(u32v): 73
(ptr) Variable Function
8
1(i64v): 80
(ptr) Variable Function
8
7(u64v): 86
(ptr) Variable Function
10
1(f16v): 100
(ptr) Variable Function
10
7(f32v): 106
(ptr) Variable Function
11
3(f64v): 112
(ptr) Variable Function
14
0(u16v): 65
(ptr) Variable Function
17
0(bv): 169
(ptr) Variable Function
5
6: 53(ivec2) Load 55
(i8v)
5
7: 50(ivec2) Bitcast 56
Store 5
2(u8v) 57
59: 53(ivec2) Load 55
(i8v)
6
0: 50(ivec2) SConvert 59
Store
58(i16v) 60
6
1: 50(ivec2) Load 52
(u8v)
6
2: 50(ivec2) UConvert 61
6
3: 50(ivec2) Bitcast 62
Store
58(i16v) 63
6
7: 53(ivec2) Load 55
(i8v)
68: 64(ivec2) SConvert 67
Store 6
6(i32v) 68
69: 50(ivec2) Load 52
(u8v)
7
0: 64(ivec2) UConvert 69
7
1: 64(ivec2) Bitcast 70
Store 6
6(i32v) 71
7
5: 53(ivec2) Load 55
(i8v)
7
6: 64(ivec2) SConvert 75
7
7: 72(ivec2) Bitcast 76
Store 7
4(u32v) 77
8
2: 53(ivec2) Load 55
(i8v)
8
3: 79(ivec2) SConvert 82
Store 8
1(i64v) 83
88: 53(ivec2) Load 55
(i8v)
89: 79(ivec2) SConvert 88
9
0: 85(ivec2) Bitcast 89
Store 8
7(u64v) 90
9
1: 50(ivec2) Load 52
(u8v)
9
2: 72(ivec2) UConvert 91
Store 7
4(u32v) 92
9
3: 50(ivec2) Load 52
(u8v)
9
4: 79(ivec2) UConvert 93
9
5: 79(ivec2) Bitcast 94
Store 8
1(i64v) 95
9
6: 50(ivec2) Load 52
(u8v)
9
7: 85(ivec2) UConvert 96
Store 8
7(u64v) 97
10
2: 53(ivec2) Load 55
(i8v)
10
3: 99(fvec2) ConvertSToF 102
Store 10
1(f16v) 103
1
08: 53(ivec2) Load 55
(i8v)
1
09: 105(fvec2) ConvertSToF 108
Store 10
7(f32v) 109
11
4: 53(ivec2) Load 55
(i8v)
11
5: 111(fvec2) ConvertSToF 114
Store 11
3(f64v) 115
11
6: 50(ivec2) Load 52
(u8v)
11
7: 99(fvec2) ConvertUToF 116
Store 10
1(f16v) 117
1
18: 50(ivec2) Load 52
(u8v)
1
19: 105(fvec2) ConvertUToF 118
Store 10
7(f32v) 119
12
0: 50(ivec2) Load 52
(u8v)
12
1: 111(fvec2) ConvertUToF 120
Store 11
3(f64v) 121
12
2: 50(ivec2) Load 52
(u8v)
12
3: 53(ivec2) Bitcast 122
Store 5
5(i8v) 123
12
4: 53(ivec2) Load 55
(i8v)
12
5: 50(ivec2) SConvert 124
Store
58(i16v) 125
12
6: 50(ivec2) Load 52
(u8v)
12
7: 50(ivec2) UConvert 126
1
28: 50(ivec2) Bitcast 127
Store
58(i16v) 128
1
29: 53(ivec2) Load 55
(i8v)
13
0: 64(ivec2) SConvert 129
Store 6
6(i32v) 130
13
1: 50(ivec2) Load 52
(u8v)
13
2: 64(ivec2) UConvert 131
13
3: 64(ivec2) Bitcast 132
Store 6
6(i32v) 133
13
4: 53(ivec2) Load 55
(i8v)
13
5: 79(ivec2) SConvert 134
Store 8
1(i64v) 135
13
6: 53(ivec2) Load 55
(i8v)
13
7: 79(ivec2) SConvert 136
1
38: 85(ivec2) Bitcast 137
Store 8
7(u64v) 138
14
1: 53(ivec2) Load 55
(i8v)
14
2: 50(ivec2) SConvert 141
14
3: 64(ivec2) Bitcast 142
Store 14
0(u16v) 143
14
4: 50(ivec2) Load 52
(u8v)
14
5: 64(ivec2) UConvert 144
Store 14
0(u16v) 145
1
46: 50(ivec2) Load 52
(u8v)
1
47: 72(ivec2) UConvert 146
Store 7
4(u32v) 147
1
48: 50(ivec2) Load 52
(u8v)
1
49: 79(ivec2) UConvert 148
15
0: 79(ivec2) Bitcast 149
Store 8
1(i64v) 150
15
1: 50(ivec2) Load 52
(u8v)
15
2: 79(ivec2) UConvert 151
15
3: 79(ivec2) Bitcast 152
15
4: 85(ivec2) Bitcast 153
Store 8
7(u64v) 154
15
5: 53(ivec2) Load 55
(i8v)
1
56: 99(fvec2) ConvertSToF 155
Store 10
1(f16v) 156
1
57: 53(ivec2) Load 55
(i8v)
1
58: 105(fvec2) ConvertSToF 157
Store 10
7(f32v) 158
1
59: 53(ivec2) Load 55
(i8v)
16
0: 111(fvec2) ConvertSToF 159
Store 11
3(f64v) 160
16
1: 50(ivec2) Load 52
(u8v)
16
2: 99(fvec2) ConvertUToF 161
Store 10
1(f16v) 162
16
3: 50(ivec2) Load 52
(u8v)
16
4: 105(fvec2) ConvertUToF 163
Store 10
7(f32v) 164
16
5: 50(ivec2) Load 52
(u8v)
1
66: 111(fvec2) ConvertUToF 165
Store 11
3(f64v) 166
17
1: 168(bvec2) Load 170
(bv)
17
5: 53(ivec2) Select 171 174 173
Store 5
5(i8v) 175
1
76: 168(bvec2) Load 170
(bv)
18
2: 50(ivec2) Select 176 181 180
Store 5
2(u8v) 182
18
3: 53(ivec2) Load 55
(i8v)
18
4: 168(bvec2) INotEqual 183 180
Store 17
0(bv) 184
18
5: 50(ivec2) Load 52
(u8v)
18
6: 168(bvec2) INotEqual 185 180
Store 17
0(bv) 186
5
1(u8v): 50
(ptr) Variable Function
5
4(i8v): 53
(ptr) Variable Function
60(i16v): 59
(ptr) Variable Function
6
8(i32v): 67
(ptr) Variable Function
7
6(u32v): 75
(ptr) Variable Function
8
3(i64v): 82
(ptr) Variable Function
8
9(u64v): 88
(ptr) Variable Function
10
3(f16v): 102
(ptr) Variable Function
10
9(f32v): 108
(ptr) Variable Function
11
5(f64v): 114
(ptr) Variable Function
14
4(u16v): 143
(ptr) Variable Function
17
4(bv): 173
(ptr) Variable Function
5
5: 52(ivec2) Load 54
(i8v)
5
6: 49(ivec2) Bitcast 55
Store 5
1(u8v) 56
61: 52(ivec2) Load 54
(i8v)
6
2: 58(ivec2) SConvert 61
Store
60(i16v) 62
6
3: 49(ivec2) Load 51
(u8v)
6
4: 58(ivec2) UConvert 63
6
5: 58(ivec2) Bitcast 64
Store
60(i16v) 65
6
9: 52(ivec2) Load 54
(i8v)
70: 66(ivec2) SConvert 69
Store 6
8(i32v) 70
71: 49(ivec2) Load 51
(u8v)
7
2: 66(ivec2) UConvert 71
7
3: 66(ivec2) Bitcast 72
Store 6
8(i32v) 73
7
7: 52(ivec2) Load 54
(i8v)
7
8: 66(ivec2) SConvert 77
7
9: 74(ivec2) Bitcast 78
Store 7
6(u32v) 79
8
4: 52(ivec2) Load 54
(i8v)
8
5: 81(ivec2) SConvert 84
Store 8
3(i64v) 85
90: 52(ivec2) Load 54
(i8v)
91: 81(ivec2) SConvert 90
9
2: 87(ivec2) Bitcast 91
Store 8
9(u64v) 92
9
3: 49(ivec2) Load 51
(u8v)
9
4: 74(ivec2) UConvert 93
Store 7
6(u32v) 94
9
5: 49(ivec2) Load 51
(u8v)
9
6: 81(ivec2) UConvert 95
9
7: 81(ivec2) Bitcast 96
Store 8
3(i64v) 97
9
8: 49(ivec2) Load 51
(u8v)
9
9: 87(ivec2) UConvert 98
Store 8
9(u64v) 99
10
4: 52(ivec2) Load 54
(i8v)
10
5: 101(fvec2) ConvertSToF 104
Store 10
3(f16v) 105
1
10: 52(ivec2) Load 54
(i8v)
1
11: 107(fvec2) ConvertSToF 110
Store 10
9(f32v) 111
11
6: 52(ivec2) Load 54
(i8v)
11
7: 113(fvec2) ConvertSToF 116
Store 11
5(f64v) 117
11
8: 49(ivec2) Load 51
(u8v)
11
9: 101(fvec2) ConvertUToF 118
Store 10
3(f16v) 119
1
20: 49(ivec2) Load 51
(u8v)
1
21: 107(fvec2) ConvertUToF 120
Store 10
9(f32v) 121
12
2: 49(ivec2) Load 51
(u8v)
12
3: 113(fvec2) ConvertUToF 122
Store 11
5(f64v) 123
12
4: 49(ivec2) Load 51
(u8v)
12
5: 52(ivec2) Bitcast 124
Store 5
4(i8v) 125
12
6: 52(ivec2) Load 54
(i8v)
12
7: 58(ivec2) SConvert 126
Store
60(i16v) 127
12
8: 49(ivec2) Load 51
(u8v)
12
9: 58(ivec2) UConvert 128
1
30: 58(ivec2) Bitcast 129
Store
60(i16v) 130
1
31: 52(ivec2) Load 54
(i8v)
13
2: 66(ivec2) SConvert 131
Store 6
8(i32v) 132
13
3: 49(ivec2) Load 51
(u8v)
13
4: 66(ivec2) UConvert 133
13
5: 66(ivec2) Bitcast 134
Store 6
8(i32v) 135
13
6: 52(ivec2) Load 54
(i8v)
13
7: 81(ivec2) SConvert 136
Store 8
3(i64v) 137
13
8: 52(ivec2) Load 54
(i8v)
13
9: 81(ivec2) SConvert 138
1
40: 87(ivec2) Bitcast 139
Store 8
9(u64v) 140
14
5: 52(ivec2) Load 54
(i8v)
14
6: 58(ivec2) SConvert 145
14
7: 142(ivec2) Bitcast 146
Store 14
4(u16v) 147
14
8: 49(ivec2) Load 51
(u8v)
14
9: 142(ivec2) UConvert 148
Store 14
4(u16v) 149
1
50: 49(ivec2) Load 51
(u8v)
1
51: 74(ivec2) UConvert 150
Store 7
6(u32v) 151
1
52: 49(ivec2) Load 51
(u8v)
1
53: 81(ivec2) UConvert 152
15
4: 81(ivec2) Bitcast 153
Store 8
3(i64v) 154
15
5: 49(ivec2) Load 51
(u8v)
15
6: 81(ivec2) UConvert 155
15
7: 81(ivec2) Bitcast 156
15
8: 87(ivec2) Bitcast 157
Store 8
9(u64v) 158
15
9: 52(ivec2) Load 54
(i8v)
1
60: 101(fvec2) ConvertSToF 159
Store 10
3(f16v) 160
1
61: 52(ivec2) Load 54
(i8v)
1
62: 107(fvec2) ConvertSToF 161
Store 10
9(f32v) 162
1
63: 52(ivec2) Load 54
(i8v)
16
4: 113(fvec2) ConvertSToF 163
Store 11
5(f64v) 164
16
5: 49(ivec2) Load 51
(u8v)
16
6: 101(fvec2) ConvertUToF 165
Store 10
3(f16v) 166
16
7: 49(ivec2) Load 51
(u8v)
16
8: 107(fvec2) ConvertUToF 167
Store 10
9(f32v) 168
16
9: 49(ivec2) Load 51
(u8v)
1
70: 113(fvec2) ConvertUToF 169
Store 11
5(f64v) 170
17
5: 172(bvec2) Load 174
(bv)
17
9: 52(ivec2) Select 175 178 177
Store 5
4(i8v) 179
1
80: 172(bvec2) Load 174
(bv)
18
5: 49(ivec2) Select 180 184 183
Store 5
1(u8v) 185
18
6: 52(ivec2) Load 54
(i8v)
18
7: 172(bvec2) INotEqual 186 183
Store 17
4(bv) 187
18
8: 49(ivec2) Load 51
(u8v)
18
9: 172(bvec2) INotEqual 188 183
Store 17
4(bv) 189
Return
FunctionEnd
10(operators(): 2 Function None 3
11: Label
189(u8v): 188(ptr) Variable Function
193(i8): 15(ptr) Variable Function
213(i): 212(ptr) Variable Function
220(uv): 219(ptr) Variable Function
238(i16): 38(ptr) Variable Function
275(b): 274(ptr) Variable Function
190: 187(ivec3) Load 189(u8v)
191: 187(ivec3) CompositeConstruct 172 172 172
192: 187(ivec3) IAdd 190 191
Store 189(u8v) 192
194: 14(int) Load 193(i8)
195: 14(int) ISub 194 172
Store 193(i8) 195
196: 14(int) Load 193(i8)
197: 14(int) IAdd 196 172
Store 193(i8) 197
198: 187(ivec3) Load 189(u8v)
199: 187(ivec3) CompositeConstruct 172 172 172
200: 187(ivec3) ISub 198 199
Store 189(u8v) 200
201: 187(ivec3) Load 189(u8v)
202: 187(ivec3) Not 201
Store 189(u8v) 202
203: 14(int) Load 193(i8)
Store 193(i8) 203
204: 187(ivec3) Load 189(u8v)
205: 187(ivec3) SNegate 204
Store 189(u8v) 205
206: 14(int) Load 193(i8)
207: 14(int) Load 193(i8)
208: 14(int) IAdd 207 206
Store 193(i8) 208
209: 187(ivec3) Load 189(u8v)
210: 187(ivec3) Load 189(u8v)
211: 187(ivec3) ISub 210 209
Store 189(u8v) 211
214: 14(int) Load 193(i8)
215: 27(int) SConvert 214
216: 27(int) Load 213(i)
217: 27(int) IMul 216 215
Store 213(i) 217
221: 187(ivec3) Load 189(u8v)
223: 222(ivec3) SConvert 221
224: 218(ivec3) Bitcast 223
225: 218(ivec3) Load 220(uv)
226: 218(ivec3) UDiv 225 224
Store 220(uv) 226
227: 14(int) Load 193(i8)
228: 27(int) SConvert 227
229: 17(int) Bitcast 228
230: 218(ivec3) Load 220(uv)
231: 218(ivec3) CompositeConstruct 229 229 229
232: 218(ivec3) UMod 230 231
Store 220(uv) 232
233: 187(ivec3) Load 189(u8v)
234: 222(ivec3) SConvert 233
235: 218(ivec3) Bitcast 234
236: 218(ivec3) Load 220(uv)
237: 218(ivec3) IAdd 235 236
Store 220(uv) 237
239: 14(int) Load 193(i8)
240: 37(int) SConvert 239
241: 37(int) Load 238(i16)
242: 37(int) ISub 240 241
Store 238(i16) 242
243: 187(ivec3) Load 189(u8v)
244: 222(ivec3) SConvert 243
245: 218(ivec3) Bitcast 244
246: 218(ivec3) Load 220(uv)
247: 218(ivec3) IMul 245 246
Store 220(uv) 247
248: 14(int) Load 193(i8)
249: 37(int) SConvert 248
250: 37(int) Load 238(i16)
251: 37(int) IMul 249 250
Store 238(i16) 251
252: 14(int) Load 193(i8)
253: 27(int) SConvert 252
254: 27(int) Load 213(i)
255: 27(int) SMod 253 254
Store 213(i) 255
256: 14(int) Load 193(i8)
257: 187(ivec3) Load 189(u8v)
258: 187(ivec3) CompositeConstruct 256 256 256
259: 187(ivec3) ShiftLeftLogical 257 258
Store 189(u8v) 259
261: 15(ptr) AccessChain 189(u8v) 260
262: 14(int) Load 261
263: 14(int) Load 193(i8)
264: 14(int) ShiftRightArithmetic 263 262
Store 193(i8) 264
265: 14(int) Load 193(i8)
267: 15(ptr) AccessChain 189(u8v) 266
268: 14(int) Load 267
269: 14(int) ShiftLeftLogical 265 268
Store 193(i8) 269
270: 187(ivec3) Load 189(u8v)
271: 14(int) Load 193(i8)
272: 187(ivec3) CompositeConstruct 271 271 271
273: 187(ivec3) ShiftLeftLogical 270 272
Store 189(u8v) 273
277: 15(ptr) AccessChain 189(u8v) 276
278: 14(int) Load 277
279: 14(int) Load 193(i8)
280: 167(bool) INotEqual 278 279
Store 275(b) 280
281: 14(int) Load 193(i8)
282: 15(ptr) AccessChain 189(u8v) 276
283: 14(int) Load 282
284: 167(bool) IEqual 281 283
Store 275(b) 284
285: 15(ptr) AccessChain 189(u8v) 276
286: 14(int) Load 285
287: 27(int) SConvert 286
288: 17(int) Bitcast 287
290: 289(ptr) AccessChain 220(uv) 260
291: 17(int) Load 290
292: 167(bool) UGreaterThan 288 291
Store 275(b) 292
293: 14(int) Load 193(i8)
294: 27(int) SConvert 293
295: 27(int) Load 213(i)
296: 167(bool) SLessThan 294 295
Store 275(b) 296
297: 15(ptr) AccessChain 189(u8v) 260
298: 14(int) Load 297
299: 27(int) SConvert 298
300: 17(int) Bitcast 299
301: 289(ptr) AccessChain 220(uv) 276
302: 17(int) Load 301
303: 167(bool) UGreaterThanEqual 300 302
Store 275(b) 303
304: 14(int) Load 193(i8)
305: 27(int) SConvert 304
306: 27(int) Load 213(i)
307: 167(bool) SLessThanEqual 305 306
Store 275(b) 307
308: 14(int) Load 193(i8)
192(u8v): 191(ptr) Variable Function
196(i8): 15(ptr) Variable Function
216(i): 215(ptr) Variable Function
223(uv): 222(ptr) Variable Function
242(i16): 241(ptr) Variable Function
279(b): 278(ptr) Variable Function
193: 190(ivec3) Load 192(u8v)
194: 190(ivec3) CompositeConstruct 176 176 176
195: 190(ivec3) IAdd 193 194
Store 192(u8v) 195
197: 14(int) Load 196(i8)
198: 14(int) ISub 197 176
Store 196(i8) 198
199: 14(int) Load 196(i8)
200: 14(int) IAdd 199 176
Store 196(i8) 200
201: 190(ivec3) Load 192(u8v)
202: 190(ivec3) CompositeConstruct 176 176 176
203: 190(ivec3) ISub 201 202
Store 192(u8v) 203
204: 190(ivec3) Load 192(u8v)
205: 190(ivec3) Not 204
Store 192(u8v) 205
206: 14(int) Load 196(i8)
Store 196(i8) 206
207: 190(ivec3) Load 192(u8v)
208: 190(ivec3) SNegate 207
Store 192(u8v) 208
209: 14(int) Load 196(i8)
210: 14(int) Load 196(i8)
211: 14(int) IAdd 210 209
Store 196(i8) 211
212: 190(ivec3) Load 192(u8v)
213: 190(ivec3) Load 192(u8v)
214: 190(ivec3) ISub 213 212
Store 192(u8v) 214
217: 14(int) Load 196(i8)
218: 27(int) SConvert 217
219: 27(int) Load 216(i)
220: 27(int) IMul 219 218
Store 216(i) 220
224: 190(ivec3) Load 192(u8v)
226: 225(ivec3) SConvert 224
227: 221(ivec3) Bitcast 226
228: 221(ivec3) Load 223(uv)
229: 221(ivec3) UDiv 228 227
Store 223(uv) 229
230: 14(int) Load 196(i8)
231: 27(int) SConvert 230
232: 17(int) Bitcast 231
233: 221(ivec3) Load 223(uv)
234: 221(ivec3) CompositeConstruct 232 232 232
235: 221(ivec3) UMod 233 234
Store 223(uv) 235
236: 190(ivec3) Load 192(u8v)
237: 225(ivec3) SConvert 236
238: 221(ivec3) Bitcast 237
239: 221(ivec3) Load 223(uv)
240: 221(ivec3) IAdd 238 239
Store 223(uv) 240
243: 14(int) Load 196(i8)
244: 57(int) SConvert 243
245: 57(int) Load 242(i16)
246: 57(int) ISub 244 245
Store 242(i16) 246
247: 190(ivec3) Load 192(u8v)
248: 225(ivec3) SConvert 247
249: 221(ivec3) Bitcast 248
250: 221(ivec3) Load 223(uv)
251: 221(ivec3) IMul 249 250
Store 223(uv) 251
252: 14(int) Load 196(i8)
253: 57(int) SConvert 252
254: 57(int) Load 242(i16)
255: 57(int) IMul 253 254
Store 242(i16) 255
256: 14(int) Load 196(i8)
257: 27(int) SConvert 256
258: 27(int) Load 216(i)
259: 27(int) SMod 257 258
Store 216(i) 259
260: 14(int) Load 196(i8)
261: 190(ivec3) Load 192(u8v)
262: 190(ivec3) CompositeConstruct 260 260 260
263: 190(ivec3) ShiftLeftLogical 261 262
Store 192(u8v) 263
265: 15(ptr) AccessChain 192(u8v) 264
266: 14(int) Load 265
267: 14(int) Load 196(i8)
268: 14(int) ShiftRightArithmetic 267 266
Store 196(i8) 268
269: 14(int) Load 196(i8)
271: 15(ptr) AccessChain 192(u8v) 270
272: 14(int) Load 271
273: 14(int) ShiftLeftLogical 269 272
Store 196(i8) 273
274: 190(ivec3) Load 192(u8v)
275: 14(int) Load 196(i8)
276: 190(ivec3) CompositeConstruct 275 275 275
277: 190(ivec3) ShiftLeftLogical 274 276
Store 192(u8v) 277
281: 15(ptr) AccessChain 192(u8v) 280
282: 14(int) Load 281
283: 14(int) Load 196(i8)
284: 171(bool) INotEqual 282 283
Store 279(b) 284
285: 14(int) Load 196(i8)
286: 15(ptr) AccessChain 192(u8v) 280
287: 14(int) Load 286
288: 171(bool) IEqual 285 287
Store 279(b) 288
289: 15(ptr) AccessChain 192(u8v) 280
290: 14(int) Load 289
291: 27(int) SConvert 290
292: 17(int) Bitcast 291
294: 293(ptr) AccessChain 223(uv) 264
295: 17(int) Load 294
296: 171(bool) UGreaterThan 292 295
Store 279(b) 296
297: 14(int) Load 196(i8)
298: 27(int) SConvert 297
299: 27(int) Load 216(i)
300: 171(bool) SLessThan 298 299
Store 279(b) 300
301: 15(ptr) AccessChain 192(u8v) 264
302: 14(int) Load 301
303: 27(int) SConvert 302
304: 17(int) Bitcast 303
305: 293(ptr) AccessChain 223(uv) 280
306: 17(int) Load 305
307: 171(bool) UGreaterThanEqual 304 306
Store 279(b) 307
308: 14(int) Load 196(i8)
309: 27(int) SConvert 308
310: 17(int) Bitcast 309
311: 218(ivec3) Load 220(uv)
312: 218(ivec3) CompositeConstruct 310 310 310
313: 218(ivec3) BitwiseOr 311 312
Store 220(uv) 313
314: 14(int) Load 193(i8)
315: 27(int) SConvert 314
316: 27(int) Load 213(i)
317: 27(int) BitwiseOr 315 316
Store 213(i) 317
318: 14(int) Load 193(i8)
319: 37(int) SConvert 318
320: 37(int) Load 238(i16)
321: 37(int) BitwiseAnd 320 319
Store 238(i16) 321
322: 187(ivec3) Load 189(u8v)
323: 222(ivec3) SConvert 322
324: 218(ivec3) Bitcast 323
325: 218(ivec3) Load 220(uv)
326: 218(ivec3) BitwiseAnd 324 325
Store 220(uv) 326
327: 14(int) Load 193(i8)
328: 27(int) SConvert 327
329: 17(int) Bitcast 328
330: 218(ivec3) Load 220(uv)
331: 218(ivec3) CompositeConstruct 329 329 329
332: 218(ivec3) BitwiseXor 330 331
Store 220(uv) 332
333: 187(ivec3) Load 189(u8v)
334: 14(int) Load 193(i8)
335: 187(ivec3) CompositeConstruct 334 334 334
336: 187(ivec3) BitwiseXor 333 335
Store 189(u8v) 336
310: 27(int) Load 216(i)
311: 171(bool) SLessThanEqual 309 310
Store 279(b) 311
312: 14(int) Load 196(i8)
313: 27(int) SConvert 312
314: 17(int) Bitcast 313
315: 221(ivec3) Load 223(uv)
316: 221(ivec3) CompositeConstruct 314 314 314
317: 221(ivec3) BitwiseOr 315 316
Store 223(uv) 317
318: 14(int) Load 196(i8)
319: 27(int) SConvert 318
320: 27(int) Load 216(i)
321: 27(int) BitwiseOr 319 320
Store 216(i) 321
322: 14(int) Load 196(i8)
323: 57(int) SConvert 322
324: 57(int) Load 242(i16)
325: 57(int) BitwiseAnd 324 323
Store 242(i16) 325
326: 190(ivec3) Load 192(u8v)
327: 225(ivec3) SConvert 326
328: 221(ivec3) Bitcast 327
329: 221(ivec3) Load 223(uv)
330: 221(ivec3) BitwiseAnd 328 329
Store 223(uv) 330
331: 14(int) Load 196(i8)
332: 27(int) SConvert 331
333: 17(int) Bitcast 332
334: 221(ivec3) Load 223(uv)
335: 221(ivec3) CompositeConstruct 333 333 333
336: 221(ivec3) BitwiseXor 334 335
Store 223(uv) 336
337: 190(ivec3) Load 192(u8v)
338: 14(int) Load 196(i8)
339: 190(ivec3) CompositeConstruct 338 338 338
340: 190(ivec3) BitwiseXor 337 339
Store 192(u8v) 340
Return
FunctionEnd
12(builtinFuncs(): 2 Function None 3
13: Label
337(i8v): 54(ptr) Variable Function
340(i8): 15(ptr) Variable Function
350(u8v): 188(ptr) Variable Function
352(u8): 38(ptr) Variable Function
426(i16): 38(ptr) Variable Function
429(i32): 212(ptr) Variable Function
432(i8v4): 431(ptr) Variable Function
435(u16): 212(ptr) Variable Function
436(u8v2): 51(ptr) Variable Function
439(u32): 289(ptr) Variable Function
442(u8v4): 441(ptr) Variable Function
454(bv): 453(ptr) Variable Function
338: 53(ivec2) Load 337(i8v)
339: 53(ivec2) ExtInst 1(GLSL.std.450) 5(SAbs) 338
Store 337(i8v) 339
341: 14(int) Load 340(i8)
342: 14(int) ExtInst 1(GLSL.std.450) 7(SSign) 341
Store 340(i8) 342
343: 53(ivec2) Load 337(i8v)
344: 14(int) Load 340(i8)
345: 53(ivec2) CompositeConstruct 344 344
346: 53(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 343 345
Store 337(i8v) 346
347: 53(ivec2) Load 337(i8v)
349: 53(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 347 348
Store 337(i8v) 349
351: 187(ivec3) Load 350(u8v)
353: 37(int) Load 352(u8)
355: 354(ivec3) CompositeConstruct 353 353 353
356: 187(ivec3) ExtInst 1(GLSL.std.450) 39(SMin) 351 355
Store 350(u8v) 356
357: 187(ivec3) Load 350(u8v)
359: 187(ivec3) ExtInst 1(GLSL.std.450) 39(SMin) 357 358
Store 350(u8v) 359
360: 53(ivec2) Load 337(i8v)
361: 14(int) Load 340(i8)
362: 53(ivec2) CompositeConstruct 361 361
363: 53(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 360 362
Store 337(i8v) 363
364: 53(ivec2) Load 337(i8v)
365: 53(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 364 348
Store 337(i8v) 365
366: 187(ivec3) Load 350(u8v)
367: 37(int) Load 352(u8)
368: 354(ivec3) CompositeConstruct 367 367 367
369: 187(ivec3) ExtInst 1(GLSL.std.450) 42(SMax) 366 368
Store 350(u8v) 369
370: 187(ivec3) Load 350(u8v)
371: 187(ivec3) ExtInst 1(GLSL.std.450) 42(SMax) 370 358
Store 350(u8v) 371
372: 53(ivec2) Load 337(i8v)
373: 14(int) Load 340(i8)
374: 14(int) SNegate 373
375: 14(int) Load 340(i8)
376: 53(ivec2) CompositeConstruct 374 374
377: 53(ivec2) CompositeConstruct 375 375
378: 53(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 372 376 377
Store 337(i8v) 378
379: 53(ivec2) Load 337(i8v)
380: 53(ivec2) Load 337(i8v)
381: 53(ivec2) SNegate 380
382: 53(ivec2) Load 337(i8v)
383: 53(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 379 381 382
Store 337(i8v) 383
384: 187(ivec3) Load 350(u8v)
385: 37(int) Load 352(u8)
386: 37(int) SNegate 385
387: 37(int) Load 352(u8)
388: 354(ivec3) CompositeConstruct 386 386 386
389: 354(ivec3) CompositeConstruct 387 387 387
390: 187(ivec3) ExtInst 1(GLSL.std.450) 45(SClamp) 384 388 389
Store 350(u8v) 390
391: 187(ivec3) Load 350(u8v)
392: 187(ivec3) Load 350(u8v)
393: 187(ivec3) SNegate 392
394: 187(ivec3) Load 350(u8v)
395: 187(ivec3) ExtInst 1(GLSL.std.450) 45(SClamp) 391 393 394
Store 350(u8v) 395
396: 15(ptr) AccessChain 337(i8v) 276
397: 14(int) Load 396
398: 15(ptr) AccessChain 337(i8v) 260
399: 14(int) Load 398
401: 14(int) Select 400 399 397
Store 340(i8) 401
402: 14(int) Load 340(i8)
403: 53(ivec2) CompositeConstruct 402 402
404: 14(int) Load 340(i8)
405: 14(int) SNegate 404
406: 53(ivec2) CompositeConstruct 405 405
409: 53(ivec2) Select 408 406 403
Store 337(i8v) 409
410: 15(ptr) AccessChain 350(u8v) 276
411: 14(int) Load 410
412: 15(ptr) AccessChain 350(u8v) 260
413: 14(int) Load 412
414: 14(int) Select 400 413 411
415: 37(int) Bitcast 414
Store 352(u8) 415
416: 37(int) Load 352(u8)
417: 14(int) Bitcast 416
418: 187(ivec3) CompositeConstruct 417 417 417
419: 37(int) Load 352(u8)
420: 37(int) SNegate 419
341(i8v): 53(ptr) Variable Function
344(i8): 15(ptr) Variable Function
354(u8v): 191(ptr) Variable Function
356(u8): 37(ptr) Variable Function
430(i16): 241(ptr) Variable Function
433(i32): 215(ptr) Variable Function
436(i8v4): 435(ptr) Variable Function
440(u16): 439(ptr) Variable Function
441(u8v2): 50(ptr) Variable Function
444(u32): 293(ptr) Variable Function
447(u8v4): 446(ptr) Variable Function
459(bv): 458(ptr) Variable Function
342: 52(ivec2) Load 341(i8v)
343: 52(ivec2) ExtInst 1(GLSL.std.450) 5(SAbs) 342
Store 341(i8v) 343
345: 14(int) Load 344(i8)
346: 14(int) ExtInst 1(GLSL.std.450) 7(SSign) 345
Store 344(i8) 346
347: 52(ivec2) Load 341(i8v)
348: 14(int) Load 344(i8)
349: 52(ivec2) CompositeConstruct 348 348
350: 52(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 347 349
Store 341(i8v) 350
351: 52(ivec2) Load 341(i8v)
353: 52(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 351 352
Store 341(i8v) 353
355: 190(ivec3) Load 354(u8v)
357: 36(int) Load 356(u8)
359: 358(ivec3) CompositeConstruct 357 357 357
360: 190(ivec3) ExtInst 1(GLSL.std.450) 39(SMin) 355 359
Store 354(u8v) 360
361: 190(ivec3) Load 354(u8v)
363: 190(ivec3) ExtInst 1(GLSL.std.450) 39(SMin) 361 362
Store 354(u8v) 363
364: 52(ivec2) Load 341(i8v)
365: 14(int) Load 344(i8)
366: 52(ivec2) CompositeConstruct 365 365
367: 52(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 364 366
Store 341(i8v) 367
368: 52(ivec2) Load 341(i8v)
369: 52(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 368 352
Store 341(i8v) 369
370: 190(ivec3) Load 354(u8v)
371: 36(int) Load 356(u8)
372: 358(ivec3) CompositeConstruct 371 371 371
373: 190(ivec3) ExtInst 1(GLSL.std.450) 42(SMax) 370 372
Store 354(u8v) 373
374: 190(ivec3) Load 354(u8v)
375: 190(ivec3) ExtInst 1(GLSL.std.450) 42(SMax) 374 362
Store 354(u8v) 375
376: 52(ivec2) Load 341(i8v)
377: 14(int) Load 344(i8)
378: 14(int) SNegate 377
379: 14(int) Load 344(i8)
380: 52(ivec2) CompositeConstruct 378 378
381: 52(ivec2) CompositeConstruct 379 379
382: 52(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 376 380 381
Store 341(i8v) 382
383: 52(ivec2) Load 341(i8v)
384: 52(ivec2) Load 341(i8v)
385: 52(ivec2) SNegate 384
386: 52(ivec2) Load 341(i8v)
387: 52(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 383 385 386
Store 341(i8v) 387
388: 190(ivec3) Load 354(u8v)
389: 36(int) Load 356(u8)
390: 36(int) SNegate 389
391: 36(int) Load 356(u8)
392: 358(ivec3) CompositeConstruct 390 390 390
393: 358(ivec3) CompositeConstruct 391 391 391
394: 190(ivec3) ExtInst 1(GLSL.std.450) 45(SClamp) 388 392 393
Store 354(u8v) 394
395: 190(ivec3) Load 354(u8v)
396: 190(ivec3) Load 354(u8v)
397: 190(ivec3) SNegate 396
398: 190(ivec3) Load 354(u8v)
399: 190(ivec3) ExtInst 1(GLSL.std.450) 45(SClamp) 395 397 398
Store 354(u8v) 399
400: 15(ptr) AccessChain 341(i8v) 280
401: 14(int) Load 400
402: 15(ptr) AccessChain 341(i8v) 264
403: 14(int) Load 402
405: 14(int) Select 404 403 401
Store 344(i8) 405
406: 14(int) Load 344(i8)
407: 52(ivec2) CompositeConstruct 406 406
408: 14(int) Load 344(i8)
409: 14(int) SNegate 408
410: 52(ivec2) CompositeConstruct 409 409
413: 52(ivec2) Select 412 410 407
Store 341(i8v) 413
414: 15(ptr) AccessChain 354(u8v) 280
415: 14(int) Load 414
416: 15(ptr) AccessChain 354(u8v) 264
417: 14(int) Load 416
418: 14(int) Select 404 417 415
419: 36(int) Bitcast 418
Store 356(u8) 419
420: 36(int) Load 356(u8)
421: 14(int) Bitcast 420
422: 187(ivec3) CompositeConstruct 421 421 421
425: 187(ivec3) Select 424 422 418
Store 350(u8v) 425
427: 53(ivec2) Load 337(i8v)
428: 37(int) Bitcast 427
Store 426(i16) 428
433: 430(ivec4) Load 432(i8v4)
434: 27(int) Bitcast 433
Store 429(i32) 434
437: 50(ivec2) Load 436(u8v2)
422: 190(ivec3) CompositeConstruct 421 421 421
423: 36(int) Load 356(u8)
424: 36(int) SNegate 423
425: 14(int) Bitcast 424
426: 190(ivec3) CompositeConstruct 425 425 425
429: 190(ivec3) Select 428 426 422
Store 354(u8v) 429
431: 52(ivec2) Load 341(i8v)
432: 57(int) Bitcast 431
Store 430(i16) 432
437: 434(ivec4) Load 436(i8v4)
438: 27(int) Bitcast 437
Store 435(u16) 438
443: 440(ivec4) Load 442(u8v4)
444: 17(int) Bitcast 443
Store 439(u32) 444
445: 37(int) Load 426(i16)
446: 53(ivec2) Bitcast 445
Store 337(i8v) 446
447: 27(int) Load 429(i32)
448: 430(ivec4) Bitcast 447
Store 432(i8v4) 448
449: 27(int) Load 435(u16)
450: 50(ivec2) Bitcast 449
Store 436(u8v2) 450
451: 17(int) Load 439(u32)
452: 440(ivec4) Bitcast 451
Store 442(u8v4) 452
455: 187(ivec3) Load 350(u8v)
456: 37(int) Load 352(u8)
457: 14(int) Bitcast 456
458: 187(ivec3) CompositeConstruct 457 457 457
459: 423(bvec3) SLessThan 455 458
Store 454(bv) 459
460: 53(ivec2) Load 337(i8v)
461: 14(int) Load 340(i8)
462: 53(ivec2) CompositeConstruct 461 461
463: 168(bvec2) SLessThan 460 462
464: 423(bvec3) Load 454(bv)
465: 423(bvec3) VectorShuffle 464 463 3 4 2
Store 454(bv) 465
466: 187(ivec3) Load 350(u8v)
467: 37(int) Load 352(u8)
468: 14(int) Bitcast 467
469: 187(ivec3) CompositeConstruct 468 468 468
470: 423(bvec3) SLessThanEqual 466 469
Store 454(bv) 470
471: 53(ivec2) Load 337(i8v)
472: 14(int) Load 340(i8)
473: 53(ivec2) CompositeConstruct 472 472
474: 168(bvec2) SLessThanEqual 471 473
475: 423(bvec3) Load 454(bv)
476: 423(bvec3) VectorShuffle 475 474 3 4 2
Store 454(bv) 476
477: 187(ivec3) Load 350(u8v)
478: 37(int) Load 352(u8)
479: 14(int) Bitcast 478
480: 187(ivec3) CompositeConstruct 479 479 479
481: 423(bvec3) SGreaterThan 477 480
Store 454(bv) 481
482: 53(ivec2) Load 337(i8v)
483: 14(int) Load 340(i8)
484: 53(ivec2) CompositeConstruct 483 483
485: 168(bvec2) SGreaterThan 482 484
486: 423(bvec3) Load 454(bv)
487: 423(bvec3) VectorShuffle 486 485 3 4 2
Store 454(bv) 487
488: 187(ivec3) Load 350(u8v)
489: 37(int) Load 352(u8)
490: 14(int) Bitcast 489
491: 187(ivec3) CompositeConstruct 490 490 490
492: 423(bvec3) SGreaterThanEqual 488 491
Store 454(bv) 492
493: 53(ivec2) Load 337(i8v)
494: 14(int) Load 340(i8)
495: 53(ivec2) CompositeConstruct 494 494
496: 168(bvec2) SGreaterThanEqual 493 495
497: 423(bvec3) Load 454(bv)
498: 423(bvec3) VectorShuffle 497 496 3 4 2
Store 454(bv) 498
499: 187(ivec3) Load 350(u8v)
500: 37(int) Load 352(u8)
501: 14(int) Bitcast 500
502: 187(ivec3) CompositeConstruct 501 501 501
503: 423(bvec3) IEqual 499 502
Store 454(bv) 503
504: 53(ivec2) Load 337(i8v)
505: 14(int) Load 340(i8)
506: 53(ivec2) CompositeConstruct 505 505
507: 168(bvec2) IEqual 504 506
508: 423(bvec3) Load 454(bv)
509: 423(bvec3) VectorShuffle 508 507 3 4 2
Store 454(bv) 509
510: 187(ivec3) Load 350(u8v)
511: 37(int) Load 352(u8)
512: 14(int) Bitcast 511
513: 187(ivec3) CompositeConstruct 512 512 512
514: 423(bvec3) INotEqual 510 513
Store 454(bv) 514
515: 53(ivec2) Load 337(i8v)
516: 14(int) Load 340(i8)
517: 53(ivec2) CompositeConstruct 516 516
518: 168(bvec2) INotEqual 515 517
519: 423(bvec3) Load 454(bv)
520: 423(bvec3) VectorShuffle 519 518 3 4 2
Store 454(bv) 520
Store 433(i32) 438
442: 49(ivec2) Load 441(u8v2)
443: 141(int) Bitcast 442
Store 440(u16) 443
448: 445(ivec4) Load 447(u8v4)
449: 17(int) Bitcast 448
Store 444(u32) 449
450: 57(int) Load 430(i16)
451: 52(ivec2) Bitcast 450
Store 341(i8v) 451
452: 27(int) Load 433(i32)
453: 434(ivec4) Bitcast 452
Store 436(i8v4) 453
454: 141(int) Load 440(u16)
455: 49(ivec2) Bitcast 454
Store 441(u8v2) 455
456: 17(int) Load 444(u32)
457: 445(ivec4) Bitcast 456
Store 447(u8v4) 457
460: 190(ivec3) Load 354(u8v)
461: 36(int) Load 356(u8)
462: 14(int) Bitcast 461
463: 190(ivec3) CompositeConstruct 462 462 462
464: 427(bvec3) SLessThan 460 463
Store 459(bv) 464
465: 52(ivec2) Load 341(i8v)
466: 14(int) Load 344(i8)
467: 52(ivec2) CompositeConstruct 466 466
468: 172(bvec2) SLessThan 465 467
469: 427(bvec3) Load 459(bv)
470: 427(bvec3) VectorShuffle 469 468 3 4 2
Store 459(bv) 470
471: 190(ivec3) Load 354(u8v)
472: 36(int) Load 356(u8)
473: 14(int) Bitcast 472
474: 190(ivec3) CompositeConstruct 473 473 473
475: 427(bvec3) SLessThanEqual 471 474
Store 459(bv) 475
476: 52(ivec2) Load 341(i8v)
477: 14(int) Load 344(i8)
478: 52(ivec2) CompositeConstruct 477 477
479: 172(bvec2) SLessThanEqual 476 478
480: 427(bvec3) Load 459(bv)
481: 427(bvec3) VectorShuffle 480 479 3 4 2
Store 459(bv) 481
482: 190(ivec3) Load 354(u8v)
483: 36(int) Load 356(u8)
484: 14(int) Bitcast 483
485: 190(ivec3) CompositeConstruct 484 484 484
486: 427(bvec3) SGreaterThan 482 485
Store 459(bv) 486
487: 52(ivec2) Load 341(i8v)
488: 14(int) Load 344(i8)
489: 52(ivec2) CompositeConstruct 488 488
490: 172(bvec2) SGreaterThan 487 489
491: 427(bvec3) Load 459(bv)
492: 427(bvec3) VectorShuffle 491 490 3 4 2
Store 459(bv) 492
493: 190(ivec3) Load 354(u8v)
494: 36(int) Load 356(u8)
495: 14(int) Bitcast 494
496: 190(ivec3) CompositeConstruct 495 495 495
497: 427(bvec3) SGreaterThanEqual 493 496
Store 459(bv) 497
498: 52(ivec2) Load 341(i8v)
499: 14(int) Load 344(i8)
500: 52(ivec2) CompositeConstruct 499 499
501: 172(bvec2) SGreaterThanEqual 498 500
502: 427(bvec3) Load 459(bv)
503: 427(bvec3) VectorShuffle 502 501 3 4 2
Store 459(bv) 503
504: 190(ivec3) Load 354(u8v)
505: 36(int) Load 356(u8)
506: 14(int) Bitcast 505
507: 190(ivec3) CompositeConstruct 506 506 506
508: 427(bvec3) IEqual 504 507
Store 459(bv) 508
509: 52(ivec2) Load 341(i8v)
510: 14(int) Load 344(i8)
511: 52(ivec2) CompositeConstruct 510 510
512: 172(bvec2) IEqual 509 511
513: 427(bvec3) Load 459(bv)
514: 427(bvec3) VectorShuffle 513 512 3 4 2
Store 459(bv) 514
515: 190(ivec3) Load 354(u8v)
516: 36(int) Load 356(u8)
517: 14(int) Bitcast 516
518: 190(ivec3) CompositeConstruct 517 517 517
519: 427(bvec3) INotEqual 515 518
Store 459(bv) 519
520: 52(ivec2) Load 341(i8v)
521: 14(int) Load 344(i8)
522: 52(ivec2) CompositeConstruct 521 521
523: 172(bvec2) INotEqual 520 522
524: 427(bvec3) Load 459(bv)
525: 427(bvec3) VectorShuffle 524 523 3 4 2
Store 459(bv) 525
Return
FunctionEnd
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment