mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 22:10:10 +01:00
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:
parent
cd50906e03
commit
c717604dc4
2 changed files with 5 additions and 0 deletions
|
|
@ -536,6 +536,8 @@ init_program_limits(struct gl_constants *consts, gl_shader_stage stage,
|
||||||
|
|
||||||
prog->MaxAtomicBuffers = 0;
|
prog->MaxAtomicBuffers = 0;
|
||||||
prog->MaxAtomicCounters = 0;
|
prog->MaxAtomicCounters = 0;
|
||||||
|
|
||||||
|
prog->MaxShaderStorageBlocks = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3306,6 +3306,9 @@ struct gl_program_constants
|
||||||
|
|
||||||
/* GL_ARB_shader_image_load_store */
|
/* GL_ARB_shader_image_load_store */
|
||||||
GLuint MaxImageUniforms;
|
GLuint MaxImageUniforms;
|
||||||
|
|
||||||
|
/* GL_ARB_shader_storage_buffer_object */
|
||||||
|
GLuint MaxShaderStorageBlocks;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue