steve-lunarg | 05f7514 | 2016-12-06 15:50:11 -0700 | [diff] [blame] | 1 | hlsl.promote.atomic.frag |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 2 | Shader version: 500 |
steve-lunarg | 05f7514 | 2016-12-06 15:50:11 -0700 | [diff] [blame] | 3 | gl_FragCoord origin is upper left |
| 4 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 5 | 0:5 Function Definition: @main( ( temp 4-component vector of float) |
steve-lunarg | 05f7514 | 2016-12-06 15:50:11 -0700 | [diff] [blame] | 6 | 0:5 Function Parameters: |
| 7 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 8 | 0:13 move second child to first child ( temp int) |
| 9 | 0:13 'Orig' ( temp int) |
| 10 | 0:13 Convert uint to int ( temp int) |
| 11 | 0:13 imageAtomicAdd ( temp uint) |
| 12 | 0:13 's_uintbuff' (layout( r32ui) uniform uimageBuffer) |
| 13 | 0:13 'Loc' ( temp int) |
| 14 | 0:13 Convert int to uint ( temp uint) |
| 15 | 0:13 'Inc' ( temp int) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 16 | 0:15 Branch: Return with expression |
| 17 | 0:? Constant: |
| 18 | 0:? 0.000000 |
| 19 | 0:? 0.000000 |
| 20 | 0:? 0.000000 |
| 21 | 0:? 0.000000 |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 22 | 0:5 Function Definition: main( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 23 | 0:5 Function Parameters: |
| 24 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 25 | 0:5 move second child to first child ( temp 4-component vector of float) |
| 26 | 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) |
| 27 | 0:5 Function Call: @main( ( temp 4-component vector of float) |
steve-lunarg | 05f7514 | 2016-12-06 15:50:11 -0700 | [diff] [blame] | 28 | 0:? Linker Objects |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 29 | 0:? 's_uintbuff' (layout( r32ui) uniform uimageBuffer) |
| 30 | 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) |
steve-lunarg | 05f7514 | 2016-12-06 15:50:11 -0700 | [diff] [blame] | 31 | |
| 32 | |
| 33 | Linked fragment stage: |
| 34 | |
| 35 | |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 36 | Shader version: 500 |
steve-lunarg | 05f7514 | 2016-12-06 15:50:11 -0700 | [diff] [blame] | 37 | gl_FragCoord origin is upper left |
| 38 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 39 | 0:5 Function Definition: @main( ( temp 4-component vector of float) |
steve-lunarg | 05f7514 | 2016-12-06 15:50:11 -0700 | [diff] [blame] | 40 | 0:5 Function Parameters: |
| 41 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 42 | 0:13 move second child to first child ( temp int) |
| 43 | 0:13 'Orig' ( temp int) |
| 44 | 0:13 Convert uint to int ( temp int) |
| 45 | 0:13 imageAtomicAdd ( temp uint) |
| 46 | 0:13 's_uintbuff' (layout( r32ui) uniform uimageBuffer) |
| 47 | 0:13 'Loc' ( temp int) |
| 48 | 0:13 Convert int to uint ( temp uint) |
| 49 | 0:13 'Inc' ( temp int) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 50 | 0:15 Branch: Return with expression |
| 51 | 0:? Constant: |
| 52 | 0:? 0.000000 |
| 53 | 0:? 0.000000 |
| 54 | 0:? 0.000000 |
| 55 | 0:? 0.000000 |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 56 | 0:5 Function Definition: main( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 57 | 0:5 Function Parameters: |
| 58 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 59 | 0:5 move second child to first child ( temp 4-component vector of float) |
| 60 | 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) |
| 61 | 0:5 Function Call: @main( ( temp 4-component vector of float) |
steve-lunarg | 05f7514 | 2016-12-06 15:50:11 -0700 | [diff] [blame] | 62 | 0:? Linker Objects |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 63 | 0:? 's_uintbuff' (layout( r32ui) uniform uimageBuffer) |
| 64 | 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) |
steve-lunarg | 05f7514 | 2016-12-06 15:50:11 -0700 | [diff] [blame] | 65 | |
John Kessenich | 2b5ea9f | 2018-01-31 18:35:56 -0700 | [diff] [blame] | 66 | // Module Version 10000 |
John Kessenich | d6c9755 | 2018-06-04 15:33:31 -0600 | [diff] [blame] | 67 | // Generated by (magic number): 80007 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 68 | // Id's are bound by 36 |
steve-lunarg | 05f7514 | 2016-12-06 15:50:11 -0700 | [diff] [blame] | 69 | |
| 70 | Capability Shader |
John Kessenich | 260f506 | 2017-08-14 22:10:00 -0600 | [diff] [blame] | 71 | Capability ImageBuffer |
steve-lunarg | 05f7514 | 2016-12-06 15:50:11 -0700 | [diff] [blame] | 72 | 1: ExtInstImport "GLSL.std.450" |
| 73 | MemoryModel Logical GLSL450 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 74 | EntryPoint Fragment 4 "main" 34 |
steve-lunarg | 05f7514 | 2016-12-06 15:50:11 -0700 | [diff] [blame] | 75 | ExecutionMode 4 OriginUpperLeft |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 76 | Source HLSL 500 |
steve-lunarg | 05f7514 | 2016-12-06 15:50:11 -0700 | [diff] [blame] | 77 | Name 4 "main" |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 78 | Name 9 "@main(" |
| 79 | Name 13 "Orig" |
| 80 | Name 17 "s_uintbuff" |
| 81 | Name 18 "Loc" |
| 82 | Name 20 "Inc" |
| 83 | Name 34 "@entryPointOutput" |
| 84 | Decorate 17(s_uintbuff) DescriptorSet 0 |
| 85 | Decorate 34(@entryPointOutput) Location 0 |
steve-lunarg | 05f7514 | 2016-12-06 15:50:11 -0700 | [diff] [blame] | 86 | 2: TypeVoid |
| 87 | 3: TypeFunction 2 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 88 | 6: TypeFloat 32 |
| 89 | 7: TypeVector 6(float) 4 |
| 90 | 8: TypeFunction 7(fvec4) |
| 91 | 11: TypeInt 32 1 |
| 92 | 12: TypePointer Function 11(int) |
| 93 | 14: TypeInt 32 0 |
| 94 | 15: TypeImage 14(int) Buffer nonsampled format:R32ui |
| 95 | 16: TypePointer UniformConstant 15 |
| 96 | 17(s_uintbuff): 16(ptr) Variable UniformConstant |
| 97 | 23: 14(int) Constant 0 |
| 98 | 24: TypePointer Image 14(int) |
| 99 | 26: 14(int) Constant 1 |
| 100 | 29: 6(float) Constant 0 |
| 101 | 30: 7(fvec4) ConstantComposite 29 29 29 29 |
| 102 | 33: TypePointer Output 7(fvec4) |
| 103 | 34(@entryPointOutput): 33(ptr) Variable Output |
steve-lunarg | 05f7514 | 2016-12-06 15:50:11 -0700 | [diff] [blame] | 104 | 4(main): 2 Function None 3 |
| 105 | 5: Label |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 106 | 35: 7(fvec4) FunctionCall 9(@main() |
| 107 | Store 34(@entryPointOutput) 35 |
steve-lunarg | 05f7514 | 2016-12-06 15:50:11 -0700 | [diff] [blame] | 108 | Return |
| 109 | FunctionEnd |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 110 | 9(@main(): 7(fvec4) Function None 8 |
| 111 | 10: Label |
| 112 | 13(Orig): 12(ptr) Variable Function |
| 113 | 18(Loc): 12(ptr) Variable Function |
| 114 | 20(Inc): 12(ptr) Variable Function |
| 115 | 19: 11(int) Load 18(Loc) |
| 116 | 21: 11(int) Load 20(Inc) |
| 117 | 22: 14(int) Bitcast 21 |
| 118 | 25: 24(ptr) ImageTexelPointer 17(s_uintbuff) 19 23 |
| 119 | 27: 14(int) AtomicIAdd 25 26 23 22 |
| 120 | 28: 11(int) Bitcast 27 |
| 121 | Store 13(Orig) 28 |
| 122 | ReturnValue 30 |
| 123 | FunctionEnd |