• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.bufferhandle11.frag
2WARNING: 0:6: '' : all default precisions are highp; use precision statements to quiet warning, e.g.:
3         "precision mediump int; precision highp float;"
4
5// Module Version 10000
6// Generated by (magic number): 8000a
7// Id's are bound by 61
8
9                              Capability Shader
10                              Capability StorageBuffer8BitAccess
11                              Capability PhysicalStorageBufferAddressesEXT
12                              Extension  "SPV_EXT_physical_storage_buffer"
13                              Extension  "SPV_KHR_8bit_storage"
14                              Extension  "SPV_KHR_storage_buffer_storage_class"
15               1:             ExtInstImport  "GLSL.std.450"
16                              MemoryModel PhysicalStorageBuffer64EXT GLSL450
17                              EntryPoint Fragment 4  "main"
18                              ExecutionMode 4 OriginUpperLeft
19                              Source GLSL 450
20                              SourceExtension  "GL_EXT_buffer_reference"
21                              SourceExtension  "GL_EXT_shader_16bit_storage"
22                              SourceExtension  "GL_EXT_shader_8bit_storage"
23                              Name 4  "main"
24                              Name 12  "compare_uint8_t(u1;u1;"
25                              Name 10  "a"
26                              Name 11  "b"
27                              Name 20  "allOk"
28                              Name 26  "PC"
29                              MemberName 26(PC) 0  "block"
30                              Name 28  "Block"
31                              MemberName 28(Block) 0  "var"
32                              Name 30  ""
33                              Name 41  "param"
34                              Name 42  "param"
35                              Name 48  "AcBlock"
36                              MemberName 48(AcBlock) 0  "ac_numPassed"
37                              Name 50  ""
38                              MemberDecorate 26(PC) 0 Offset 0
39                              Decorate 26(PC) Block
40                              MemberDecorate 28(Block) 0 Offset 0
41                              Decorate 28(Block) Block
42                              MemberDecorate 48(AcBlock) 0 Offset 0
43                              Decorate 48(AcBlock) Block
44                              Decorate 50 DescriptorSet 0
45                              Decorate 50 Binding 0
46               2:             TypeVoid
47               3:             TypeFunction 2
48               6:             TypeInt 32 0
49               7:             TypePointer Function 6(int)
50               8:             TypeBool
51               9:             TypeFunction 8(bool) 7(ptr) 7(ptr)
52              19:             TypePointer Function 8(bool)
53              21:     8(bool) ConstantTrue
54                              TypeForwardPointer 25 PhysicalStorageBufferEXT
55          26(PC):             TypeStruct 25
56              27:             TypeInt 8 0
57       28(Block):             TypeStruct 27(int8_t)
58              25:             TypePointer PhysicalStorageBufferEXT 28(Block)
59              29:             TypePointer PushConstant 26(PC)
60              30:     29(ptr) Variable PushConstant
61              31:             TypeInt 32 1
62              32:     31(int) Constant 0
63              33:             TypePointer PushConstant 25(ptr)
64              36:             TypePointer PhysicalStorageBufferEXT 27(int8_t)
65              40:      6(int) Constant 7
66     48(AcBlock):             TypeStruct 6(int)
67              49:             TypePointer StorageBuffer 48(AcBlock)
68              50:     49(ptr) Variable StorageBuffer
69              51:             TypePointer StorageBuffer 6(int)
70              54:     31(int) Constant 1
71              58:      6(int) Constant 9
72         4(main):           2 Function None 3
73               5:             Label
74       20(allOk):     19(ptr) Variable Function
75       41(param):      7(ptr) Variable Function
76       42(param):      7(ptr) Variable Function
77                              Store 20(allOk) 21
78              22:     8(bool) Load 20(allOk)
79                              SelectionMerge 24 None
80                              BranchConditional 22 23 24
81              23:               Label
82              34:     33(ptr)   AccessChain 30 32
83              35:     25(ptr)   Load 34
84              37:     36(ptr)   AccessChain 35 32
85              38:  27(int8_t)   Load 37 Aligned 16
86              39:      6(int)   UConvert 38
87                                Store 41(param) 39
88                                Store 42(param) 40
89              43:     8(bool)   FunctionCall 12(compare_uint8_t(u1;u1;) 41(param) 42(param)
90                                Branch 24
91              24:             Label
92              44:     8(bool) Phi 22 5 43 23
93                              Store 20(allOk) 44
94              45:     8(bool) Load 20(allOk)
95                              SelectionMerge 47 None
96                              BranchConditional 45 46 47
97              46:               Label
98              52:     51(ptr)   AccessChain 50 32
99              53:      6(int)   Load 52
100              55:      6(int)   IAdd 53 54
101                                Store 52 55
102                                Branch 47
103              47:             Label
104              56:     33(ptr) AccessChain 30 32
105              57:     25(ptr) Load 56
106              59:  27(int8_t) UConvert 58
107              60:     36(ptr) AccessChain 57 32
108                              Store 60 59 Aligned 16
109                              Return
110                              FunctionEnd
11112(compare_uint8_t(u1;u1;):     8(bool) Function None 9
112           10(a):      7(ptr) FunctionParameter
113           11(b):      7(ptr) FunctionParameter
114              13:             Label
115              14:      6(int) Load 10(a)
116              15:      6(int) Load 11(b)
117              16:     8(bool) IEqual 14 15
118                              ReturnValue 16
119                              FunctionEnd
120