[Mesa-dev] [PATCH] glsl: correct compute shader checks for memoryBarrier functions

Kenneth Graunke 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>

and pushed:

To ssh://git.freedesktop.org/git/mesa/mesa
   83fb63d31de..21efe2528cd  master -> master

Thanks, Marc!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170206/d6c42009/attachment.sig>


More information about the mesa-dev mailing list