• 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 void)
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:3  Function Definition: ComputeShaderFunction( ( temp void)
150:3    Function Parameters:
160:?     Sequence
170:3      Function Call: @ComputeShaderFunction( ( temp void)
180:?   Linker Objects
19
20
21Linked compute stage:
22
23
24Shader version: 500
25local_size = (1, 1, 1)
260:? Sequence
270:3  Function Definition: @ComputeShaderFunction( ( temp void)
280:3    Function Parameters:
290:?     Sequence
300:4      MemoryBarrier ( temp void)
310:5      AllMemoryBarrierWithGroupSync ( temp void)
320:6      DeviceMemoryBarrier ( temp void)
330:7      DeviceMemoryBarrierWithGroupSync ( temp void)
340:8      WorkgroupMemoryBarrier ( temp void)
350:9      WorkgroupMemoryBarrierWithGroupSync ( temp void)
360:3  Function Definition: ComputeShaderFunction( ( temp void)
370:3    Function Parameters:
380:?     Sequence
390:3      Function Call: @ComputeShaderFunction( ( temp void)
400:?   Linker Objects
41
42// Module Version 10000
43// Generated by (magic number): 8000b
44// Id's are bound by 15
45
46                              Capability Shader
47               1:             ExtInstImport  "GLSL.std.450"
48                              MemoryModel Logical GLSL450
49                              EntryPoint GLCompute 4  "ComputeShaderFunction"
50                              ExecutionMode 4 LocalSize 1 1 1
51                              Source HLSL 500
52                              Name 4  "ComputeShaderFunction"
53                              Name 6  "@ComputeShaderFunction("
54               2:             TypeVoid
55               3:             TypeFunction 2
56               8:             TypeInt 32 0
57               9:      8(int) Constant 1
58              10:      8(int) Constant 3400
59              11:      8(int) Constant 2
60              12:      8(int) Constant 2120
61              13:      8(int) Constant 264
624(ComputeShaderFunction):           2 Function None 3
63               5:             Label
64              14:           2 FunctionCall 6(@ComputeShaderFunction()
65                              Return
66                              FunctionEnd
676(@ComputeShaderFunction():           2 Function None 3
68               7:             Label
69                              MemoryBarrier 9 10
70                              ControlBarrier 11 9 10
71                              MemoryBarrier 9 12
72                              ControlBarrier 11 9 12
73                              MemoryBarrier 11 13
74                              ControlBarrier 11 11 13
75                              Return
76                              FunctionEnd
77