summaryrefslogtreecommitdiffstats
path: root/src/vulkan
diff options
context:
space:
mode:
authorMarc Di Luzio <[email protected]>2017-02-06 09:07:30 +0000
committerKenneth Graunke <[email protected]>2017-02-06 21:12:33 -0800
commit21efe2528cd88cb09ba9f69222f69a8ee47611c9 (patch)
tree0627dfc00868d730537c53b2d2841c9743983460 /src/vulkan
parent83fb63d31de51cd49a947f68393672e97b307f37 (diff)
glsl: correct compute shader checks for memoryBarrier functions
As per the spec - "The functions memoryBarrierShared() and groupMemoryBarrier() are available only in compute shaders; the other functions are available in all shader types." Conform to this by adding another delegate to check for compute shader support instead of only whether the current stage is compute This allows some fragment shaders in Dirt Rally to compile Cc: "17.0" <[email protected]> Reviewed-by: Anuj Phogat <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/vulkan')
0 files changed, 0 insertions, 0 deletions