diff options
author | Ilia Mirkin <[email protected]> | 2016-02-19 23:18:33 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-03-10 22:36:17 -0500 |
commit | f8ea98e4ec4078924f79b0aadd2754726b835f5c (patch) | |
tree | 41f601cf8b2f671e2be1a5db077b25bf999dd495 /src/mesa/state_tracker/st_extensions.c | |
parent | 075a5742bf65b35d19a1d86346db1c02f6dba9b2 (diff) |
st/mesa: add GL_ARB_shader_atomic_counter_ops support
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_extensions.c')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 42d347c6600..3666ece8ee7 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -407,8 +407,10 @@ void st_init_limits(struct pipe_screen *screen, c->Program[MESA_SHADER_FRAGMENT].MaxAtomicBuffers; assert(c->MaxCombinedAtomicBuffers <= MAX_COMBINED_ATOMIC_BUFFERS); - if (c->MaxCombinedAtomicBuffers > 0) + if (c->MaxCombinedAtomicBuffers > 0) { extensions->ARB_shader_atomic_counters = GL_TRUE; + extensions->ARB_shader_atomic_counter_ops = GL_TRUE; + } c->MaxCombinedShaderOutputResources = c->MaxDrawBuffers; c->ShaderStorageBufferOffsetAlignment = |