• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.1.6.helperInvocation.memmodel.frag
2// Module Version 10600
3// Generated by (magic number): 8000b
4// Id's are bound by 21
5
6                              Capability Shader
7                              Capability VulkanMemoryModelKHR
8                              Capability DemoteToHelperInvocationEXT
9                              Extension  "SPV_EXT_demote_to_helper_invocation"
10               1:             ExtInstImport  "GLSL.std.450"
11                              MemoryModel Logical VulkanKHR
12                              EntryPoint Fragment 4  "main" 9 14
13                              ExecutionMode 4 OriginUpperLeft
14                              Source ESSL 310
15                              SourceExtension  "GL_EXT_demote_to_helper_invocation"
16                              Name 4  "main"
17                              Name 7  "B"
18                              MemberName 7(B) 0  "o"
19                              Name 9  ""
20                              Name 14  "gl_HelperInvocation"
21                              MemberDecorate 7(B) 0 Offset 0
22                              Decorate 7(B) Block
23                              Decorate 9 DescriptorSet 0
24                              Decorate 9 Binding 0
25                              Decorate 14(gl_HelperInvocation) BuiltIn HelperInvocation
26               2:             TypeVoid
27               3:             TypeFunction 2
28               6:             TypeFloat 32
29            7(B):             TypeStruct 6(float)
30               8:             TypePointer StorageBuffer 7(B)
31               9:      8(ptr) Variable StorageBuffer
32              10:             TypeInt 32 1
33              11:     10(int) Constant 0
34              12:             TypeBool
35              13:             TypePointer Input 12(bool)
3614(gl_HelperInvocation):     13(ptr) Variable Input
37              16:    6(float) Constant 1065353216
38              17:    6(float) Constant 0
39              19:             TypePointer StorageBuffer 6(float)
40         4(main):           2 Function None 3
41               5:             Label
42                              DemoteToHelperInvocationEXT
43              15:    12(bool) Load 14(gl_HelperInvocation) Volatile
44              18:    6(float) Select 15 16 17
45              20:     19(ptr) AccessChain 9 11
46                              Store 20 18
47                              Return
48                              FunctionEnd
49