1spv.register.subpass.frag
2// Module Version 10000
3// Generated by (magic number): 80007
4// Id's are bound by 40
5
6                              Capability Shader
7                              Capability InputAttachment
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint Fragment 4  "main" 38
11                              ExecutionMode 4 OriginUpperLeft
12                              Source HLSL 500
13                              Name 4  "main"
14                              Name 9  "@main("
15                              Name 12  "result00"
16                              Name 15  "subpass_f4"
17                              Name 22  "result10"
18                              Name 25  "subpass_ms_f4"
19                              Name 29  "result73"
20                              Name 30  "subpass_2"
21                              Name 38  "@entryPointOutput"
22                              Decorate 15(subpass_f4) DescriptorSet 0
23                              Decorate 15(subpass_f4) Binding 21
24                              Decorate 15(subpass_f4) InputAttachmentIndex 1
25                              Decorate 25(subpass_ms_f4) DescriptorSet 0
26                              Decorate 25(subpass_ms_f4) Binding 20
27                              Decorate 25(subpass_ms_f4) InputAttachmentIndex 4
28                              Decorate 30(subpass_2) DescriptorSet 0
29                              Decorate 30(subpass_2) Binding 22
30                              Decorate 30(subpass_2) InputAttachmentIndex 7
31                              Decorate 38(@entryPointOutput) Location 0
32               2:             TypeVoid
33               3:             TypeFunction 2
34               6:             TypeFloat 32
35               7:             TypeVector 6(float) 4
36               8:             TypeFunction 7(fvec4)
37              11:             TypePointer Function 7(fvec4)
38              13:             TypeImage 6(float) SubpassData nonsampled format:Unknown
39              14:             TypePointer UniformConstant 13
40  15(subpass_f4):     14(ptr) Variable UniformConstant
41              17:             TypeInt 32 1
42              18:     17(int) Constant 0
43              19:             TypeVector 17(int) 2
44              20:   19(ivec2) ConstantComposite 18 18
45              23:             TypeImage 6(float) SubpassData multi-sampled nonsampled format:Unknown
46              24:             TypePointer UniformConstant 23
4725(subpass_ms_f4):     24(ptr) Variable UniformConstant
48              27:     17(int) Constant 3
49   30(subpass_2):     14(ptr) Variable UniformConstant
50              33:    6(float) Constant 0
51              34:    7(fvec4) ConstantComposite 33 33 33 33
52              37:             TypePointer Output 7(fvec4)
5338(@entryPointOutput):     37(ptr) Variable Output
54         4(main):           2 Function None 3
55               5:             Label
56              39:    7(fvec4) FunctionCall 9(@main()
57                              Store 38(@entryPointOutput) 39
58                              Return
59                              FunctionEnd
60       9(@main():    7(fvec4) Function None 8
61              10:             Label
62    12(result00):     11(ptr) Variable Function
63    22(result10):     11(ptr) Variable Function
64    29(result73):     11(ptr) Variable Function
65              16:          13 Load 15(subpass_f4)
66              21:    7(fvec4) ImageRead 16 20
67                              Store 12(result00) 21
68              26:          23 Load 25(subpass_ms_f4)
69              28:    7(fvec4) ImageRead 26 20 Sample 27
70                              Store 22(result10) 28
71              31:          13 Load 30(subpass_2)
72              32:    7(fvec4) ImageRead 31 20
73                              Store 29(result73) 32
74                              ReturnValue 34
75                              FunctionEnd
76