blob: b09f68d4e8da29c82a3fd139dfa83e246568f3a0 [file] [log] [blame]
steve-lunarg05f75142016-12-06 15:50:11 -07001hlsl.promote.atomic.frag
2Shader version: 450
3gl_FragCoord origin is upper left
40:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -060050:5 Function Definition: @main( ( temp 4-component vector of float)
steve-lunarg05f75142016-12-06 15:50:11 -070060:5 Function Parameters:
70:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -060080:13 move second child to first child ( temp int)
90:13 'Orig' ( temp int)
100:13 Convert uint to int ( temp int)
110:13 imageAtomicAdd ( temp uint)
120:13 's_uintbuff' (layout( r32ui) uniform uimageBuffer)
130:13 'Loc' ( temp int)
140:13 Convert int to uint ( temp uint)
150:13 'Inc' ( temp int)
John Kessenich02467d82017-01-19 15:41:47 -0700160:15 Branch: Return with expression
170:? Constant:
180:? 0.000000
190:? 0.000000
200:? 0.000000
210:? 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -0600220:5 Function Definition: main( ( temp void)
John Kessenich02467d82017-01-19 15:41:47 -0700230:5 Function Parameters:
240:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600250:5 move second child to first child ( temp 4-component vector of float)
260:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
270:5 Function Call: @main( ( temp 4-component vector of float)
steve-lunarg05f75142016-12-06 15:50:11 -0700280:? Linker Objects
John Kessenich71c100d2017-03-14 19:43:13 -0600290:? 's_uintbuff' (layout( r32ui) uniform uimageBuffer)
300:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
steve-lunarg05f75142016-12-06 15:50:11 -070031
32
33Linked fragment stage:
34
35
36Shader version: 450
37gl_FragCoord origin is upper left
380:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600390:5 Function Definition: @main( ( temp 4-component vector of float)
steve-lunarg05f75142016-12-06 15:50:11 -0700400:5 Function Parameters:
410:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600420:13 move second child to first child ( temp int)
430:13 'Orig' ( temp int)
440:13 Convert uint to int ( temp int)
450:13 imageAtomicAdd ( temp uint)
460:13 's_uintbuff' (layout( r32ui) uniform uimageBuffer)
470:13 'Loc' ( temp int)
480:13 Convert int to uint ( temp uint)
490:13 'Inc' ( temp int)
John Kessenich02467d82017-01-19 15:41:47 -0700500:15 Branch: Return with expression
510:? Constant:
520:? 0.000000
530:? 0.000000
540:? 0.000000
550:? 0.000000
John Kessenich71c100d2017-03-14 19:43:13 -0600560:5 Function Definition: main( ( temp void)
John Kessenich02467d82017-01-19 15:41:47 -0700570:5 Function Parameters:
580:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600590:5 move second child to first child ( temp 4-component vector of float)
600:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
610:5 Function Call: @main( ( temp 4-component vector of float)
steve-lunarg05f75142016-12-06 15:50:11 -0700620:? Linker Objects
John Kessenich71c100d2017-03-14 19:43:13 -0600630:? 's_uintbuff' (layout( r32ui) uniform uimageBuffer)
640:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
steve-lunarg05f75142016-12-06 15:50:11 -070065
66// Module Version 10000
67// Generated by (magic number): 80001
John Kessenich02467d82017-01-19 15:41:47 -070068// Id's are bound by 36
steve-lunarg05f75142016-12-06 15:50:11 -070069
70 Capability Shader
71 Capability SampledBuffer
72 1: ExtInstImport "GLSL.std.450"
73 MemoryModel Logical GLSL450
John Kessenich02467d82017-01-19 15:41:47 -070074 EntryPoint Fragment 4 "main" 34
steve-lunarg05f75142016-12-06 15:50:11 -070075 ExecutionMode 4 OriginUpperLeft
76 Name 4 "main"
John Kessenich02467d82017-01-19 15:41:47 -070077 Name 9 "@main("
78 Name 13 "Orig"
79 Name 17 "s_uintbuff"
80 Name 18 "Loc"
81 Name 20 "Inc"
82 Name 34 "@entryPointOutput"
83 Decorate 17(s_uintbuff) DescriptorSet 0
84 Decorate 34(@entryPointOutput) Location 0
steve-lunarg05f75142016-12-06 15:50:11 -070085 2: TypeVoid
86 3: TypeFunction 2
John Kessenich02467d82017-01-19 15:41:47 -070087 6: TypeFloat 32
88 7: TypeVector 6(float) 4
89 8: TypeFunction 7(fvec4)
90 11: TypeInt 32 1
91 12: TypePointer Function 11(int)
92 14: TypeInt 32 0
93 15: TypeImage 14(int) Buffer nonsampled format:R32ui
94 16: TypePointer UniformConstant 15
95 17(s_uintbuff): 16(ptr) Variable UniformConstant
96 23: 14(int) Constant 0
97 24: TypePointer Image 14(int)
98 26: 14(int) Constant 1
99 29: 6(float) Constant 0
100 30: 7(fvec4) ConstantComposite 29 29 29 29
101 33: TypePointer Output 7(fvec4)
10234(@entryPointOutput): 33(ptr) Variable Output
steve-lunarg05f75142016-12-06 15:50:11 -0700103 4(main): 2 Function None 3
104 5: Label
John Kessenich02467d82017-01-19 15:41:47 -0700105 35: 7(fvec4) FunctionCall 9(@main()
106 Store 34(@entryPointOutput) 35
steve-lunarg05f75142016-12-06 15:50:11 -0700107 Return
108 FunctionEnd
John Kessenich02467d82017-01-19 15:41:47 -0700109 9(@main(): 7(fvec4) Function None 8
110 10: Label
111 13(Orig): 12(ptr) Variable Function
112 18(Loc): 12(ptr) Variable Function
113 20(Inc): 12(ptr) Variable Function
114 19: 11(int) Load 18(Loc)
115 21: 11(int) Load 20(Inc)
116 22: 14(int) Bitcast 21
117 25: 24(ptr) ImageTexelPointer 17(s_uintbuff) 19 23
118 27: 14(int) AtomicIAdd 25 26 23 22
119 28: 11(int) Bitcast 27
120 Store 13(Orig) 28
121 ReturnValue 30
122 FunctionEnd