steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 1 | spv.rw.autoassign.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 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 4 | // Id's are bound by 42 |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 5 | |
| 6 | Capability Shader |
John Kessenich | 260f506 | 2017-08-14 22:10:00 -0600 | [diff] [blame] | 7 | Capability Image1D |
| 8 | Capability ImageBuffer |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 9 | 1: ExtInstImport "GLSL.std.450" |
| 10 | MemoryModel Logical GLSL450 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 11 | EntryPoint Fragment 4 "main" 39 |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 12 | ExecutionMode 4 OriginUpperLeft |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 13 | Source HLSL 500 |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 14 | Name 4 "main" |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 15 | Name 8 "PS_OUTPUT" |
| 16 | MemberName 8(PS_OUTPUT) 0 "Color" |
| 17 | Name 10 "@main(" |
| 18 | Name 13 "r00" |
| 19 | Name 16 "g_tTex1df1" |
| 20 | Name 23 "r01" |
| 21 | Name 26 "g_tBuf1du1" |
| 22 | Name 30 "psout" |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 23 | Name 39 "@entryPointOutput.Color" |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 24 | Decorate 16(g_tTex1df1) DescriptorSet 0 |
| 25 | Decorate 16(g_tTex1df1) Binding 20 |
| 26 | Decorate 26(g_tBuf1du1) DescriptorSet 0 |
| 27 | Decorate 26(g_tBuf1du1) Binding 21 |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 28 | Decorate 39(@entryPointOutput.Color) Location 0 |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 29 | 2: TypeVoid |
| 30 | 3: TypeFunction 2 |
| 31 | 6: TypeFloat 32 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 32 | 7: TypeVector 6(float) 4 |
| 33 | 8(PS_OUTPUT): TypeStruct 7(fvec4) |
| 34 | 9: TypeFunction 8(PS_OUTPUT) |
| 35 | 12: TypePointer Function 6(float) |
| 36 | 14: TypeImage 6(float) 1D nonsampled format:R32f |
| 37 | 15: TypePointer UniformConstant 14 |
| 38 | 16(g_tTex1df1): 15(ptr) Variable UniformConstant |
| 39 | 18: TypeInt 32 1 |
| 40 | 19: 18(int) Constant 0 |
| 41 | 21: TypeInt 32 0 |
| 42 | 22: TypePointer Function 21(int) |
| 43 | 24: TypeImage 21(int) Buffer nonsampled format:R32ui |
| 44 | 25: TypePointer UniformConstant 24 |
| 45 | 26(g_tBuf1du1): 25(ptr) Variable UniformConstant |
| 46 | 29: TypePointer Function 8(PS_OUTPUT) |
| 47 | 31: 6(float) Constant 0 |
| 48 | 32: 7(fvec4) ConstantComposite 31 31 31 31 |
| 49 | 33: TypePointer Function 7(fvec4) |
| 50 | 38: TypePointer Output 7(fvec4) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 51 | 39(@entryPointOutput.Color): 38(ptr) Variable Output |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 52 | 4(main): 2 Function None 3 |
| 53 | 5: Label |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 54 | 40:8(PS_OUTPUT) FunctionCall 10(@main() |
| 55 | 41: 7(fvec4) CompositeExtract 40 0 |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 56 | Store 39(@entryPointOutput.Color) 41 |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 57 | Return |
| 58 | FunctionEnd |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 59 | 10(@main():8(PS_OUTPUT) Function None 9 |
| 60 | 11: Label |
| 61 | 13(r00): 12(ptr) Variable Function |
| 62 | 23(r01): 22(ptr) Variable Function |
| 63 | 30(psout): 29(ptr) Variable Function |
| 64 | 17: 14 Load 16(g_tTex1df1) |
| 65 | 20: 6(float) ImageRead 17 19 |
| 66 | Store 13(r00) 20 |
| 67 | 27: 24 Load 26(g_tBuf1du1) |
| 68 | 28: 21(int) ImageRead 27 19 |
| 69 | Store 23(r01) 28 |
| 70 | 34: 33(ptr) AccessChain 30(psout) 19 |
| 71 | Store 34 32 |
| 72 | 35:8(PS_OUTPUT) Load 30(psout) |
| 73 | ReturnValue 35 |
| 74 | FunctionEnd |