diff options
author | Tapani Pälli <[email protected]> | 2015-08-12 11:13:40 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2015-08-13 12:55:29 +0300 |
commit | 853853b2ac527698215b4290629ec242333e264a (patch) | |
tree | aa410f3d86731ab4392994926eb473eeca4ae257 /src/mesa/main/context.c | |
parent | 24695f4b2738d930a2bc71b4ebc9e5d993980cae (diff) |
mesa: update MaxShaderStorageBlockSize to 2^27
Extension spec originally required 2^24 but 2^27 is the minimum value
required by OpenGL 4.5 and OpenGL ES 3.1 specifications.
Fixes:
ES31-CTS.shader_storage_buffer_object.basic-max
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 7451e5a2bdd..888c461d1c2 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -604,7 +604,7 @@ _mesa_init_constants(struct gl_constants *consts, gl_api api) /** GL_ARB_shader_storage_buffer_object */ consts->MaxCombinedShaderStorageBlocks = 8; consts->MaxShaderStorageBufferBindings = 8; - consts->MaxShaderStorageBlockSize = 16 * 1024 * 1024; + consts->MaxShaderStorageBlockSize = 128 * 1024 * 1024; /* 2^27 */ consts->ShaderStorageBufferOffsetAlignment = 256; /* GL_ARB_explicit_uniform_location, GL_MAX_UNIFORM_LOCATIONS */ |