[Mesa-dev] [PATCH] glsl: correct compute shader checks for memoryBarrier functions
kenneth at whitecape.org
Tue Feb 7 05:13:55 UTC 2017
On Monday, February 6, 2017 9:07:30 AM PST Marc Di Luzio wrote:
> 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" <mesa-stable at lists.freedesktop.org>
> Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
83fb63d31de..21efe2528cd master -> master
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: This is a digitally signed message part.
More information about the mesa-dev