mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 02:00:21 +01:00
mesa: OpenGL 1.4 feature GL_EXT_blend_color is not optional
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14213>
This commit is contained in:
parent
86db69e7e8
commit
fbd17ede10
4 changed files with 2 additions and 6 deletions
|
|
@ -161,7 +161,6 @@ struct gl_extensions
|
|||
GLboolean ARB_vertex_type_10f_11f_11f_rev;
|
||||
GLboolean ARB_vertex_type_2_10_10_10_rev;
|
||||
GLboolean ARB_viewport_array;
|
||||
GLboolean EXT_blend_color;
|
||||
GLboolean EXT_blend_equation_separate;
|
||||
GLboolean EXT_blend_func_separate;
|
||||
GLboolean EXT_blend_minmax;
|
||||
|
|
|
|||
|
|
@ -281,7 +281,6 @@ _mesa_init_extensions(struct gl_extensions *extensions)
|
|||
extensions->ARB_vertex_program = GL_TRUE;
|
||||
extensions->ARB_vertex_shader = GL_TRUE;
|
||||
|
||||
extensions->EXT_blend_color = GL_TRUE;
|
||||
extensions->EXT_blend_func_separate = GL_TRUE;
|
||||
extensions->EXT_blend_minmax = GL_TRUE;
|
||||
extensions->EXT_EGL_image_storage = GL_TRUE;
|
||||
|
|
|
|||
|
|
@ -214,7 +214,7 @@ EXT(EXT_EGL_sync , dummy_true
|
|||
EXT(EXT_abgr , dummy_true , GLL, GLC, x , x , 1995)
|
||||
EXT(EXT_base_instance , ARB_base_instance , x , x , x , 30, 2014)
|
||||
EXT(EXT_bgra , dummy_true , GLL, x , x , x , 1995)
|
||||
EXT(EXT_blend_color , EXT_blend_color , GLL, x , x , x , 1995)
|
||||
EXT(EXT_blend_color , dummy_true , GLL, x , x , x , 1995)
|
||||
EXT(EXT_blend_equation_separate , EXT_blend_equation_separate , GLL, GLC, x , x , 2003)
|
||||
EXT(EXT_blend_func_extended , ARB_blend_func_extended , x , x , x , ES2, 2015)
|
||||
EXT(EXT_blend_func_separate , EXT_blend_func_separate , GLL, x , x , x , 1999)
|
||||
|
|
|
|||
|
|
@ -252,7 +252,6 @@ compute_version(const struct gl_extensions *extensions,
|
|||
GLuint major, minor, version;
|
||||
|
||||
const bool ver_1_4 = (extensions->ARB_shadow &&
|
||||
extensions->EXT_blend_color &&
|
||||
extensions->EXT_blend_func_separate &&
|
||||
extensions->EXT_blend_minmax &&
|
||||
extensions->EXT_point_parameters);
|
||||
|
|
@ -497,8 +496,7 @@ compute_version_es2(const struct gl_extensions *extensions,
|
|||
const struct gl_constants *consts)
|
||||
{
|
||||
/* OpenGL ES 2.0 is derived from OpenGL 2.0 */
|
||||
const bool ver_2_0 = (extensions->EXT_blend_color &&
|
||||
extensions->EXT_blend_func_separate &&
|
||||
const bool ver_2_0 = (extensions->EXT_blend_func_separate &&
|
||||
extensions->EXT_blend_minmax &&
|
||||
extensions->ARB_vertex_shader &&
|
||||
extensions->ARB_fragment_shader &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue