diff options
author | Jordan Justen <[email protected]> | 2015-10-09 14:16:05 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2015-11-06 13:14:44 -0800 |
commit | 91f188710ad8dce79936c5d28fd7b9a91b6d870a (patch) | |
tree | 20363dcfe9e086fef266741528490b3647ae0306 /src/glsl/opt_copy_propagation.cpp | |
parent | 6bad554d98004e6c8ab46e8cbe73f3b3024e55c5 (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/opt_copy_propagation.cpp')
0 files changed, 0 insertions, 0 deletions