xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/baseResults/spv.1.6.quad.frag.out (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1spv.1.6.quad.frag
2// Module Version 10600
3// Generated by (magic number): 8000b
4// Id's are bound by 39
5
6                              Capability Shader
7                              Capability GroupNonUniform
8                              Capability GroupNonUniformVote
9                              Capability QuadControlKHR
10                              Extension  "SPV_KHR_quad_control"
11               1:             ExtInstImport  "GLSL.std.450"
12                              MemoryModel Logical GLSL450
13                              EntryPoint Fragment 4  "main" 16 33
14                              ExecutionMode 4 QuadDerivativesKHR
15                              ExecutionMode 4 RequireFullQuadsKHR
16                              ExecutionMode 4 OriginUpperLeft
17                              Source GLSL 460
18                              SourceExtension  "GL_EXT_shader_quad_control"
19                              SourceExtension  "GL_KHR_shader_subgroup_basic"
20                              SourceExtension  "GL_KHR_shader_subgroup_vote"
21                              Name 4  "main"
22                              Name 8  "bTemp"
23                              Name 16  "iInput"
24                              Name 33  "bOut"
25                              Decorate 16(iInput) Flat
26                              Decorate 16(iInput) Location 0
27                              Decorate 33(bOut) Location 0
28               2:             TypeVoid
29               3:             TypeFunction 2
30               6:             TypeBool
31               7:             TypePointer Function 6(bool)
32               9:     6(bool) ConstantFalse
33              14:             TypeInt 32 1
34              15:             TypePointer Input 14(int)
35      16(iInput):     15(ptr) Variable Input
36              18:     14(int) Constant 0
37              20:             TypeInt 32 0
38              21:     20(int) Constant 3
39              32:             TypePointer Output 14(int)
40        33(bOut):     32(ptr) Variable Output
41              35:     6(bool) ConstantTrue
42              37:     14(int) Constant 1
43         4(main):           2 Function None 3
44               5:             Label
45        8(bTemp):      7(ptr) Variable Function
46                              Store 8(bTemp) 9
47              10:     6(bool) Load 8(bTemp)
48              11:     6(bool) LogicalNot 10
49                              SelectionMerge 13 None
50                              BranchConditional 11 12 13
51              12:               Label
52              17:     14(int)   Load 16(iInput)
53              19:     6(bool)   SGreaterThan 17 18
54              22:     6(bool)   GroupNonUniformQuadAllKHR 19
55                                Branch 13
56              13:             Label
57              23:     6(bool) Phi 10 5 22 12
58                              Store 8(bTemp) 23
59              24:     6(bool) Load 8(bTemp)
60              25:     6(bool) LogicalNot 24
61                              SelectionMerge 27 None
62                              BranchConditional 25 26 27
63              26:               Label
64              28:     14(int)   Load 16(iInput)
65              29:     6(bool)   SGreaterThan 28 18
66              30:     6(bool)   GroupNonUniformQuadAnyKHR 29
67                                Branch 27
68              27:             Label
69              31:     6(bool) Phi 24 13 30 26
70                              Store 8(bTemp) 31
71              34:     6(bool) Load 8(bTemp)
72              36:     6(bool) LogicalEqual 34 35
73              38:     14(int) Select 36 37 18
74                              Store 33(bOut) 38
75                              Return
76                              FunctionEnd
77