Re: [Mesa-dev] [PATCH v2 35/42] glsl: Translate atomic intrinsic functions on shared variables

2015-11-25 Thread Iago Toral
On Tue, 2015-11-17 at 21:55 -0800, Jordan Justen wrote: > When an intrinsic atomic operation is used on a shared variable, we > translate it to a new 'share variable' specific intrinsic function s/share/shared > call. > > For example, add call to __intrinsic_atomic_add when used on a shared >

[Mesa-dev] [PATCH v2 35/42] glsl: Translate atomic intrinsic functions on shared variables

2015-11-17 Thread Jordan Justen
When an intrinsic atomic operation is used on a shared variable, we translate it to a new 'share variable' specific intrinsic function call. For example, add call to __intrinsic_atomic_add when used on a shared variable will be translated to a call to __intrinsic_atomic_add_shared.