mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-30 08:20:41 +02:00
glapi: remove FEATURE_remap_table test (it's always defined)
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
8e7f7e9693
commit
0bcced7716
1 changed files with 0 additions and 15 deletions
|
|
@ -147,17 +147,6 @@ class PrintRemapTable(gl_XML.gl_print_base):
|
|||
for f, index in abi_functions:
|
||||
print '#define _gloffset_%s %d' % (f.name, f.offset)
|
||||
|
||||
print ''
|
||||
print '#if !FEATURE_remap_table'
|
||||
print ''
|
||||
|
||||
for f, index in functions:
|
||||
print '#define _gloffset_%s %d' % (f.name, f.offset)
|
||||
|
||||
print ''
|
||||
print '#else /* !FEATURE_remap_table */'
|
||||
print ''
|
||||
|
||||
if self.es:
|
||||
remap_table = "esLocalRemapTable"
|
||||
|
||||
|
|
@ -180,8 +169,6 @@ class PrintRemapTable(gl_XML.gl_print_base):
|
|||
print '#define _gloffset_%s %s[%s_remap_index]' % (f.name, remap_table, f.name)
|
||||
|
||||
print ''
|
||||
print '#endif /* !FEATURE_remap_table */'
|
||||
print ''
|
||||
|
||||
for f, index in abi_functions + functions:
|
||||
arg_string = gl_XML.create_parameter_string( f.parameters, 0 )
|
||||
|
|
@ -209,12 +196,10 @@ class PrintRemapTable(gl_XML.gl_print_base):
|
|||
print '#define SET_%s(disp, fn) SET_%s(disp, fn)' % (name, f.name)
|
||||
print ''
|
||||
|
||||
print '#if FEATURE_remap_table'
|
||||
for f in alias_functions:
|
||||
for name in f.entry_points:
|
||||
if name != f.name:
|
||||
print '#define %s_remap_index %s_remap_index' % (name, f.name)
|
||||
print '#endif /* FEATURE_remap_table */'
|
||||
print ''
|
||||
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue