mapi: Drop the unused_functions table.
Since we don't support loading an older driver with newer loader any more, we don't need to bother tracking entrypoints that Mesa no longer supports. Acked-by: Marek Olšák <marek.olsak@amd.com> Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23451>
This commit is contained in:
@@ -710,7 +710,7 @@ class gl_function( gl_item ):
|
|||||||
else:
|
else:
|
||||||
if self.exec_flavor != "skip":
|
if self.exec_flavor != "skip":
|
||||||
raise RuntimeError("Entry-point %s is missing offset in static_data.py. Add one at the bottom of the list." % (name))
|
raise RuntimeError("Entry-point %s is missing offset in static_data.py. Add one at the bottom of the list." % (name))
|
||||||
self.assign_offset = self.exec_flavor != "skip" or name in static_data.unused_functions
|
self.assign_offset = False
|
||||||
|
|
||||||
if not self.name:
|
if not self.name:
|
||||||
self.name = true_name
|
self.name = true_name
|
||||||
|
@@ -3007,59 +3007,3 @@ functions = [
|
|||||||
"WindowPos3sv",
|
"WindowPos3sv",
|
||||||
"WindowPos3svARB",
|
"WindowPos3svARB",
|
||||||
]
|
]
|
||||||
|
|
||||||
"""Functions that need dispatch slots but are not used
|
|
||||||
|
|
||||||
Some of these functions may have GLX protocol support (for
|
|
||||||
indirect-rendering). Other were used in previous versions of Mesa. They keep
|
|
||||||
slots in the dispatch table so that newer versions of libGL can still be used
|
|
||||||
with older drivers."""
|
|
||||||
unused_functions = [
|
|
||||||
# SGIS_multisample
|
|
||||||
"SampleMaskSGIS",
|
|
||||||
"SamplePatternSGIS",
|
|
||||||
|
|
||||||
# NV_vertex_program
|
|
||||||
"AreProgramsResidentNV",
|
|
||||||
"ExecuteProgramNV",
|
|
||||||
"GetProgramParameterdvNV",
|
|
||||||
"GetProgramParameterfvNV",
|
|
||||||
"GetProgramivNV",
|
|
||||||
"GetProgramStringNV",
|
|
||||||
"GetTrackMatrixivNV",
|
|
||||||
"GetVertexAttribdvNV",
|
|
||||||
"GetVertexAttribfvNV",
|
|
||||||
"GetVertexAttribivNV",
|
|
||||||
"LoadProgramNV",
|
|
||||||
"ProgramParameters4dvNV",
|
|
||||||
"ProgramParameters4fvNV",
|
|
||||||
"RequestResidentProgramsNV",
|
|
||||||
"TrackMatrixNV",
|
|
||||||
"VertexAttribPointerNV",
|
|
||||||
|
|
||||||
# MESA_resize_buffers
|
|
||||||
"ResizeBuffersMESA",
|
|
||||||
|
|
||||||
# ATI_envmap_bumpmap
|
|
||||||
"TexBumpParameterfvATI",
|
|
||||||
"TexBumpParameterivATI",
|
|
||||||
"GetTexBumpParameterfvATI",
|
|
||||||
"GetTexBumpParameterivATI",
|
|
||||||
|
|
||||||
# NV_fragment_program
|
|
||||||
"ProgramNamedParameter4fNV",
|
|
||||||
"ProgramNamedParameter4dNV",
|
|
||||||
"ProgramNamedParameter4fvNV",
|
|
||||||
"ProgramNamedParameter4dvNV",
|
|
||||||
"GetProgramNamedParameterfvNV",
|
|
||||||
"GetProgramNamedParameterdvNV",
|
|
||||||
|
|
||||||
# APPLE_flush_buffer_range
|
|
||||||
"BufferParameteriAPPLE",
|
|
||||||
"FlushMappedBufferRangeAPPLE",
|
|
||||||
|
|
||||||
# EXT_separate_shader_objects
|
|
||||||
"UseShaderProgramEXT",
|
|
||||||
"ActiveProgramEXT",
|
|
||||||
"CreateShaderProgramEXT",
|
|
||||||
]
|
|
||||||
|
Reference in New Issue
Block a user