Re: [Mesa-dev] [PATCH 08/24] glsl: Add new atomic_uint built-in GLSL type.

2013-09-18 Thread Francisco Jerez
Paul Berry writes: > On 17 September 2013 14:14, Francisco Jerez wrote: > >> Paul Berry writes: >> >> > On 17 September 2013 12:18, Paul Berry wrote: >> >[...] >> > I also notice that most of your uses of atomic_size() in this patch >> series >> > are merely to see whether the type contains an

Re: [Mesa-dev] [PATCH 08/24] glsl: Add new atomic_uint built-in GLSL type.

2013-09-18 Thread Ian Romanick
On 09/17/2013 02:18 PM, Paul Berry wrote: > On 15 September 2013 00:10, Francisco Jerez > wrote: > > --- > src/glsl/ast_to_hir.cpp | 1 + > src/glsl/builtin_type_macros.h | 2 ++ > src/glsl/builtin_types.cpp

Re: [Mesa-dev] [PATCH 08/24] glsl: Add new atomic_uint built-in GLSL type.

2013-09-17 Thread Paul Berry
On 17 September 2013 12:18, Paul Berry wrote: > On 15 September 2013 00:10, Francisco Jerez wrote: > >> >> /** >> +* Return the amount of atomic counter storage required for a type. >> +*/ >> + unsigned atomic_size() const >> + { >> + if (base_type == GLSL_TYPE_ATOMIC_UINT)

Re: [Mesa-dev] [PATCH 08/24] glsl: Add new atomic_uint built-in GLSL type.

2013-09-17 Thread Paul Berry
On 15 September 2013 00:10, Francisco Jerez wrote: > --- > src/glsl/ast_to_hir.cpp | 1 + > src/glsl/builtin_type_macros.h | 2 ++ > src/glsl/builtin_types.cpp | 6 ++ > src/glsl/glsl_types.cpp | 2 ++ > src/glsl/g

[Mesa-dev] [PATCH 08/24] glsl: Add new atomic_uint built-in GLSL type.

2013-09-15 Thread Francisco Jerez
--- src/glsl/ast_to_hir.cpp | 1 + src/glsl/builtin_type_macros.h | 2 ++ src/glsl/builtin_types.cpp | 6 ++ src/glsl/glsl_types.cpp | 2 ++ src/glsl/glsl_types.h| 14 ++ src/glsl/