Add support for ARB_uniform_buffer_object
GLSL Version : >= 120 Purpose: Allow users to use features by enabling this extension, even in low versions. Extension Name: ARB_uniform_buffer_object Builtin-variables: Uniform Builtin-functions: Nah Keywords: Nah Features: uniform block Reference: https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_uniform_buffer_object.txt
This commit is contained in:
parent
bd97b6f9f2
commit
97c4c0936f
5 changed files with 18 additions and 2 deletions
|
|
@ -192,6 +192,7 @@ void TParseVersions::initializeExtensionBehavior()
|
|||
extensionBehavior[E_GL_ARB_shader_viewport_layer_array] = EBhDisable;
|
||||
extensionBehavior[E_GL_ARB_fragment_shader_interlock] = EBhDisable;
|
||||
extensionBehavior[E_GL_ARB_shader_clock] = EBhDisable;
|
||||
extensionBehavior[E_GL_ARB_uniform_buffer_object] = EBhDisable;
|
||||
|
||||
extensionBehavior[E_GL_KHR_shader_subgroup_basic] = EBhDisable;
|
||||
extensionBehavior[E_GL_KHR_shader_subgroup_vote] = EBhDisable;
|
||||
|
|
@ -397,6 +398,7 @@ void TParseVersions::getPreamble(std::string& preamble)
|
|||
// "#define GL_ARB_cull_distance 1\n" // present for 4.5, but need extension control over block members
|
||||
"#define GL_ARB_post_depth_coverage 1\n"
|
||||
"#define GL_ARB_fragment_shader_interlock 1\n"
|
||||
"#define GL_ARB_uniform_buffer_object 1\n"
|
||||
"#define GL_EXT_shader_non_constant_global_initializers 1\n"
|
||||
"#define GL_EXT_shader_image_load_formatted 1\n"
|
||||
"#define GL_EXT_post_depth_coverage 1\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue