st/mesa: enable ARB_shader_storage_buffer_object when supported

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Ilia Mirkin 2016-01-18 00:13:51 -05:00
parent 6fb8fac853
commit fea25db925

View file

@ -361,6 +361,7 @@ void st_init_limits(struct pipe_screen *screen,
c->MaxCombinedShaderOutputResources += c->MaxCombinedShaderOutputResources +=
c->MaxCombinedShaderStorageBlocks; c->MaxCombinedShaderStorageBlocks;
c->MaxShaderStorageBlockSize = 1 << 27; c->MaxShaderStorageBlockSize = 1 << 27;
extensions->ARB_shader_storage_buffer_object = GL_TRUE;
} }
} }