mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-12 20:10:25 +01:00
glsl/builtin_variables: Populate MaxCombinedShaderStorageBlocks on GLSL 4.40
Built-in variable "MaxCombinedShaderStorageBlocks" was added to GLSL 4.40
revision 9.
Section "1.2.1 Changes since revision 8 of GLSL version 4.40",
page 3 of the PDF states:
"Bug 11734: Add gl_MaxCombinedShaderOutputResources and mark
gl_MaxCombinedImageUnitsAndFragmentOutputs as deprecated."
Fixes: GL44-CTS.shader_image_load_store.basic-glsl-const
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
1cdb4da1d6
commit
a93bb2e33f
1 changed files with 1 additions and 1 deletions
|
|
@ -864,7 +864,7 @@ builtin_variable_generator::generate_constants()
|
|||
}
|
||||
}
|
||||
|
||||
if (state->is_version(450, 310) ||
|
||||
if (state->is_version(440, 310) ||
|
||||
state->ARB_ES3_1_compatibility_enable) {
|
||||
add_const("gl_MaxCombinedShaderOutputResources",
|
||||
state->Const.MaxCombinedShaderOutputResources);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue