summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_lower_idiv.c
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2015-10-09 14:16:05 -0700
committerJordan Justen <[email protected]>2015-11-06 13:14:44 -0800
commit91f188710ad8dce79936c5d28fd7b9a91b6d870a (patch)
tree20363dcfe9e086fef266741528490b3647ae0306 /src/glsl/nir/nir_lower_idiv.c
parent6bad554d98004e6c8ab46e8cbe73f3b3024e55c5 (diff)
glsl: Add new barrier functions for compute shaders
When these functions are called in GLSL code, we create an intrinsic function call: * groupMemoryBarrier => __intrinsic_group_memory_barrier * memoryBarrierAtomicCounter => __intrinsic_memory_barrier_atomic_counter * memoryBarrierBuffer => __intrinsic_memory_barrier_buffer * memoryBarrierImage => __intrinsic_memory_barrier_image * memoryBarrierShared => __intrinsic_memory_barrier_shared v2: * Consolidate with memoryBarrier function/intrinsic creation (curro) v3: * Instead of add_memory_barrier_function, add an intrinsic_name parameter to _memory_barrier (curro) Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_lower_idiv.c')
0 files changed, 0 insertions, 0 deletions