LoopDawg | 7f93d56 | 2017-09-27 09:04:43 -0600 | [diff] [blame] | 1 | spv.register.subpass.frag |
John Kessenich | 2b5ea9f | 2018-01-31 18:35:56 -0700 | [diff] [blame] | 2 | // Module Version 10000 |
John Kessenich | d6c9755 | 2018-06-04 15:33:31 -0600 | [diff] [blame] | 3 | // Generated by (magic number): 80007 |
LoopDawg | 7f93d56 | 2017-09-27 09:04:43 -0600 | [diff] [blame] | 4 | // Id's are bound by 40 |
| 5 | |
| 6 | Capability Shader |
LoopDawg | 7f93d56 | 2017-09-27 09:04:43 -0600 | [diff] [blame] | 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 |
| 47 | 25(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) |
| 53 | 38(@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 |