Mesa (master): mesa: Remove silly "dummy_false" extension support
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Dec 11 16:29:51 UTC 2020
Module: Mesa
Branch: master
Commit: c0e7a2cd0229bfaae030c266dd847cdcd21a95af
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0e7a2cd0229bfaae030c266dd847cdcd21a95af
Author: Adam Jackson <ajax at redhat.com>
Date: Wed Dec 9 22:38:07 2020 -0500
mesa: Remove silly "dummy_false" extension support
This removes the memory of some old OES extensions from the table, which
seems to be harmless.
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8037>
---
src/compiler/glsl/standalone_scaffolding.cpp | 1 -
src/mesa/main/extensions_table.h | 3 ---
src/mesa/main/mtypes.h | 1 -
3 files changed, 5 deletions(-)
diff --git a/src/compiler/glsl/standalone_scaffolding.cpp b/src/compiler/glsl/standalone_scaffolding.cpp
index a88696f89d1..5d2ede26852 100644
--- a/src/compiler/glsl/standalone_scaffolding.cpp
+++ b/src/compiler/glsl/standalone_scaffolding.cpp
@@ -184,7 +184,6 @@ void initialize_context_to_defaults(struct gl_context *ctx, gl_api api)
ctx->API = api;
- ctx->Extensions.dummy_false = false;
ctx->Extensions.dummy_true = true;
ctx->Extensions.ARB_compute_shader = true;
ctx->Extensions.ARB_compute_variable_group_size = true;
diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h
index a6953030c05..a135568a0b8 100644
--- a/src/mesa/main/extensions_table.h
+++ b/src/mesa/main/extensions_table.h
@@ -423,7 +423,6 @@ EXT(OES_compressed_ETC1_RGB8_texture , OES_compressed_ETC1_RGB8_texture
EXT(OES_compressed_paletted_texture , dummy_true , x , x , ES1, x , 2003)
EXT(OES_copy_image , OES_copy_image , x , x , x , 30, 2014)
EXT(OES_depth24 , dummy_true , x , x , ES1, ES2, 2005)
-EXT(OES_depth32 , dummy_false , x , x , x , x , 2005)
EXT(OES_depth_texture , ARB_depth_texture , x , x , x , ES2, 2006)
EXT(OES_depth_texture_cube_map , OES_depth_texture_cube_map , x , x , x , ES2, 2012)
EXT(OES_draw_buffers_indexed , ARB_draw_buffers_blend , x , x , x , 30, 2014)
@@ -453,8 +452,6 @@ EXT(OES_shader_io_blocks , dummy_true
EXT(OES_shader_multisample_interpolation , OES_sample_variables , x , x , x , 30, 2014)
EXT(OES_single_precision , dummy_true , x , x , ES1, x , 2003)
EXT(OES_standard_derivatives , OES_standard_derivatives , x , x , x , ES2, 2005)
-EXT(OES_stencil1 , dummy_false , x , x , x , x , 2005)
-EXT(OES_stencil4 , dummy_false , x , x , x , x , 2005)
EXT(OES_stencil8 , dummy_true , x , x , ES1, ES2, 2005)
EXT(OES_stencil_wrap , dummy_true , x , x , ES1, x , 2002)
EXT(OES_surfaceless_context , dummy_true , x , x , ES1, ES2, 2012)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index b93991968f5..d847e27c0c1 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -4272,7 +4272,6 @@ struct gl_extensions
{
GLboolean dummy; /* don't remove this! */
GLboolean dummy_true; /* Set true by _mesa_init_extensions(). */
- GLboolean dummy_false; /* Set false by _mesa_init_extensions(). */
GLboolean ANGLE_texture_compression_dxt;
GLboolean ARB_ES2_compatibility;
GLboolean ARB_ES3_compatibility;
More information about the mesa-commit
mailing list