• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.subpass.frag
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 67
5
6                              Capability Shader
7                              Capability InputAttachment
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint Fragment 4  "main" 15 27 53
11                              ExecutionMode 4 OriginUpperLeft
12                              Source GLSL 400
13                              Name 4  "main"
14                              Name 11  "foo(iIPM1;"
15                              Name 10  "sb"
16                              Name 15  "icolor"
17                              Name 27  "color"
18                              Name 30  "sub"
19                              Name 35  "subMS"
20                              Name 42  "isub"
21                              Name 45  "isubMS"
22                              Name 53  "ucolor"
23                              Name 56  "usub"
24                              Name 61  "usubMS"
25                              Decorate 15(icolor) Location 1
26                              Decorate 27(color) Location 0
27                              Decorate 30(sub) DescriptorSet 0
28                              Decorate 30(sub) Binding 0
29                              Decorate 30(sub) InputAttachmentIndex 1
30                              Decorate 35(subMS) DescriptorSet 0
31                              Decorate 35(subMS) Binding 1
32                              Decorate 35(subMS) InputAttachmentIndex 2
33                              Decorate 42(isub) DescriptorSet 0
34                              Decorate 42(isub) Binding 2
35                              Decorate 42(isub) InputAttachmentIndex 3
36                              Decorate 45(isubMS) DescriptorSet 0
37                              Decorate 45(isubMS) Binding 3
38                              Decorate 45(isubMS) InputAttachmentIndex 4
39                              Decorate 53(ucolor) Location 2
40                              Decorate 56(usub) DescriptorSet 0
41                              Decorate 56(usub) Binding 4
42                              Decorate 56(usub) InputAttachmentIndex 5
43                              Decorate 61(usubMS) DescriptorSet 0
44                              Decorate 61(usubMS) Binding 5
45                              Decorate 61(usubMS) InputAttachmentIndex 6
46               2:             TypeVoid
47               3:             TypeFunction 2
48               6:             TypeInt 32 1
49               7:             TypeImage 6(int) SubpassData multi-sampled nonsampled format:Unknown
50               8:             TypePointer UniformConstant 7
51               9:             TypeFunction 2 8(ptr)
52              13:             TypeVector 6(int) 4
53              14:             TypePointer Output 13(ivec4)
54      15(icolor):     14(ptr) Variable Output
55              17:      6(int) Constant 3
56              18:      6(int) Constant 0
57              19:             TypeVector 6(int) 2
58              20:   19(ivec2) ConstantComposite 18 18
59              24:             TypeFloat 32
60              25:             TypeVector 24(float) 4
61              26:             TypePointer Output 25(fvec4)
62       27(color):     26(ptr) Variable Output
63              28:             TypeImage 24(float) SubpassData nonsampled format:Unknown
64              29:             TypePointer UniformConstant 28
65         30(sub):     29(ptr) Variable UniformConstant
66              33:             TypeImage 24(float) SubpassData multi-sampled nonsampled format:Unknown
67              34:             TypePointer UniformConstant 33
68       35(subMS):     34(ptr) Variable UniformConstant
69              40:             TypeImage 6(int) SubpassData nonsampled format:Unknown
70              41:             TypePointer UniformConstant 40
71        42(isub):     41(ptr) Variable UniformConstant
72      45(isubMS):      8(ptr) Variable UniformConstant
73              50:             TypeInt 32 0
74              51:             TypeVector 50(int) 4
75              52:             TypePointer Output 51(ivec4)
76      53(ucolor):     52(ptr) Variable Output
77              54:             TypeImage 50(int) SubpassData nonsampled format:Unknown
78              55:             TypePointer UniformConstant 54
79        56(usub):     55(ptr) Variable UniformConstant
80              59:             TypeImage 50(int) SubpassData multi-sampled nonsampled format:Unknown
81              60:             TypePointer UniformConstant 59
82      61(usubMS):     60(ptr) Variable UniformConstant
83         4(main):           2 Function None 3
84               5:             Label
85              31:          28 Load 30(sub)
86              32:   25(fvec4) ImageRead 31 20
87                              Store 27(color) 32
88              36:          33 Load 35(subMS)
89              37:   25(fvec4) ImageRead 36 20 Sample 17
90              38:   25(fvec4) Load 27(color)
91              39:   25(fvec4) FAdd 38 37
92                              Store 27(color) 39
93              43:          40 Load 42(isub)
94              44:   13(ivec4) ImageRead 43 20
95                              Store 15(icolor) 44
96              46:           7 Load 45(isubMS)
97              47:   13(ivec4) ImageRead 46 20 Sample 17
98              48:   13(ivec4) Load 15(icolor)
99              49:   13(ivec4) IAdd 48 47
100                              Store 15(icolor) 49
101              57:          54 Load 56(usub)
102              58:   51(ivec4) ImageRead 57 20
103                              Store 53(ucolor) 58
104              62:          59 Load 61(usubMS)
105              63:   51(ivec4) ImageRead 62 20 Sample 17
106              64:   51(ivec4) Load 53(ucolor)
107              65:   51(ivec4) IAdd 64 63
108                              Store 53(ucolor) 65
109              66:           2 FunctionCall 11(foo(iIPM1;) 45(isubMS)
110                              Return
111                              FunctionEnd
112  11(foo(iIPM1;):           2 Function None 9
113          10(sb):      8(ptr) FunctionParameter
114              12:             Label
115              16:           7 Load 10(sb)
116              21:   13(ivec4) ImageRead 16 20 Sample 17
117              22:   13(ivec4) Load 15(icolor)
118              23:   13(ivec4) IAdd 22 21
119                              Store 15(icolor) 23
120                              Return
121                              FunctionEnd
122