• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.intrinsics.barriers.comp
2Shader version: 500
3local_size = (1, 1, 1)
40:? Sequence
50:3  Function Definition: @ComputeShaderFunction( ( temp float)
60:3    Function Parameters:
70:?     Sequence
80:4      MemoryBarrier ( temp void)
90:5      AllMemoryBarrierWithGroupSync ( temp void)
100:6      DeviceMemoryBarrier ( temp void)
110:7      DeviceMemoryBarrierWithGroupSync ( temp void)
120:8      WorkgroupMemoryBarrier ( temp void)
130:9      WorkgroupMemoryBarrierWithGroupSync ( temp void)
140:11      Branch: Return with expression
150:11        Constant:
160:11          0.000000
170:3  Function Definition: ComputeShaderFunction( ( temp void)
180:3    Function Parameters:
190:?     Sequence
200:3      move second child to first child ( temp float)
210:?         '@entryPointOutput' (layout( location=0) out float)
220:3        Function Call: @ComputeShaderFunction( ( temp float)
230:?   Linker Objects
240:?     '@entryPointOutput' (layout( location=0) out float)
25
26
27Linked compute stage:
28
29
30Shader version: 500
31local_size = (1, 1, 1)
320:? Sequence
330:3  Function Definition: @ComputeShaderFunction( ( temp float)
340:3    Function Parameters:
350:?     Sequence
360:4      MemoryBarrier ( temp void)
370:5      AllMemoryBarrierWithGroupSync ( temp void)
380:6      DeviceMemoryBarrier ( temp void)
390:7      DeviceMemoryBarrierWithGroupSync ( temp void)
400:8      WorkgroupMemoryBarrier ( temp void)
410:9      WorkgroupMemoryBarrierWithGroupSync ( temp void)
420:11      Branch: Return with expression
430:11        Constant:
440:11          0.000000
450:3  Function Definition: ComputeShaderFunction( ( temp void)
460:3    Function Parameters:
470:?     Sequence
480:3      move second child to first child ( temp float)
490:?         '@entryPointOutput' (layout( location=0) out float)
500:3        Function Call: @ComputeShaderFunction( ( temp float)
510:?   Linker Objects
520:?     '@entryPointOutput' (layout( location=0) out float)
53
54// Module Version 10000
55// Generated by (magic number): 80007
56// Id's are bound by 22
57
58                              Capability Shader
59               1:             ExtInstImport  "GLSL.std.450"
60                              MemoryModel Logical GLSL450
61                              EntryPoint GLCompute 4  "ComputeShaderFunction" 20
62                              ExecutionMode 4 LocalSize 1 1 1
63                              Source HLSL 500
64                              Name 4  "ComputeShaderFunction"
65                              Name 8  "@ComputeShaderFunction("
66                              Name 20  "@entryPointOutput"
67                              Decorate 20(@entryPointOutput) Location 0
68               2:             TypeVoid
69               3:             TypeFunction 2
70               6:             TypeFloat 32
71               7:             TypeFunction 6(float)
72              10:             TypeInt 32 0
73              11:     10(int) Constant 1
74              12:     10(int) Constant 3400
75              13:     10(int) Constant 2
76              14:     10(int) Constant 2120
77              15:     10(int) Constant 264
78              16:    6(float) Constant 0
79              19:             TypePointer Output 6(float)
8020(@entryPointOutput):     19(ptr) Variable Output
814(ComputeShaderFunction):           2 Function None 3
82               5:             Label
83              21:    6(float) FunctionCall 8(@ComputeShaderFunction()
84                              Store 20(@entryPointOutput) 21
85                              Return
86                              FunctionEnd
878(@ComputeShaderFunction():    6(float) Function None 7
88               9:             Label
89                              MemoryBarrier 11 12
90                              ControlBarrier 13 11 12
91                              MemoryBarrier 11 14
92                              ControlBarrier 13 11 14
93                              MemoryBarrier 13 15
94                              ControlBarrier 13 13 15
95                              ReturnValue 16
96                              FunctionEnd
97