mesa: add MaxShaderStorageBlocks to struct gl_program_constants
v2: - Set MaxShaderStorageBlocks to 8. Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
@@ -536,6 +536,8 @@ init_program_limits(struct gl_constants *consts, gl_shader_stage stage,
|
||||
|
||||
prog->MaxAtomicBuffers = 0;
|
||||
prog->MaxAtomicCounters = 0;
|
||||
|
||||
prog->MaxShaderStorageBlocks = 8;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -3306,6 +3306,9 @@ struct gl_program_constants
|
||||
|
||||
/* GL_ARB_shader_image_load_store */
|
||||
GLuint MaxImageUniforms;
|
||||
|
||||
/* GL_ARB_shader_storage_buffer_object */
|
||||
GLuint MaxShaderStorageBlocks;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user