Lines Matching refs:barrier
245 # Scope of a control barrier
310 # a barrier is an intrinsic with no inputs/outputs but which can't be moved
312 def barrier(name):
315 barrier("discard")
323 barrier("demote")
327 barrier("terminate")
329 # A workgroup-level control barrier. Any thread which hits this barrier will
331 # barrier. For compute shaders, the workgroup is defined as the local group.
333 # patch. This intrinsic does not imply any sort of memory barrier.
334 barrier("control_barrier")
336 # Memory barrier with semantics analogous to the memoryBarrier() GLSL
338 barrier("memory_barrier")
340 # Control/Memory barrier with explicit scope. Follows the semantics of SPIR-V
342 # Storage that the barrier applies is represented using NIR variable modes.
349 # The latter can be used as code motion barrier, which is currently not
379 # Memory barrier with semantics analogous to the compute shader
382 barrier("group_memory_barrier")
383 barrier("memory_barrier_atomic_counter")
384 barrier("memory_barrier_buffer")
385 barrier("memory_barrier_image")
386 barrier("memory_barrier_shared")
387 barrier("begin_invocation_interlock")
388 barrier("end_invocation_interlock")
390 # Memory barrier for synchronizing TCS patch outputs
391 barrier("memory_barrier_tcs_patch")