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