[Mesa-dev] [PATCH 1/6] glsl: Implement parser support for atomic counters.

Matt Turner mattst88 at gmail.com
Wed Nov 6 09:54:26 PST 2013

On Tue, Oct 29, 2013 at 4:37 PM, Francisco Jerez <currojerez at riseup.net> wrote:
> v2: Mark atomic counters as read-only variables.  Move offset overlap
>     code to the linker.  Use the contains_atomic() convenience method.
> v3: Use pointer to integer instead of non-const reference.  Add
>     comment so we remember to add a spec quotation from the next GLSL
>     release once the issue of atomic counter aggregation within
>     structures is clarified.
> ---

You asked me recently to check some minimum values on the Windows
driver. From your minmax test (first col is minumum required, second
col is number allowed by the driver):

GL_MAX_FRAGMENT_ATOMIC_COUNTERS                           8     4096
GL_MAX_COMBINED_ATOMIC_COUNTERS                           8     4096
GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS                    1        8
GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS                    1        8
(40 on Haswell)
GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE                        32    16384
GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS                     1        8

More information about the mesa-dev mailing list