glthread: rename scripts to match the names of generated files

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33634>
This commit is contained in:
Marek Olšák 2025-01-21 15:43:51 -05:00 committed by Marge Bot
parent 9a2974019b
commit 1f75715dae
5 changed files with 6 additions and 6 deletions

View file

@ -70,7 +70,7 @@ class PrintCode(gl_XML.gl_print_base):
def __init__(self):
super(PrintCode, self).__init__()
self.name = 'gl_marshal.py'
self.name = 'marshal_generated_c.py'
self.license = license.bsd_license_template % (
'Copyright (C) 2012 Intel Corporation', 'INTEL CORPORATION')

View file

@ -41,7 +41,7 @@ class PrintCode(gl_XML.gl_print_base):
def __init__(self):
super(PrintCode, self).__init__()
self.name = 'gl_marshal_h.py'
self.name = 'marshal_generated_h.py'
self.license = license.bsd_license_template % (
'Copyright (C) 2012 Intel Corporation', 'INTEL CORPORATION')

View file

@ -110,7 +110,7 @@ main_api_hw_select_init_h = custom_target(
main_unmarshal_table_c = custom_target(
'unmarshal_table.c',
input : ['gl_unmarshal_table.py', 'gl_and_es_API.xml'],
input : ['unmarshal_table_c.py', 'gl_and_es_API.xml'],
output : 'unmarshal_table.c',
command : [prog_python, '@INPUT0@', '@INPUT1@', sizeof_pointer],
depend_files : glapi_xml_py_deps,
@ -121,7 +121,7 @@ main_marshal_generated_c = []
foreach x : ['0', '1', '2', '3', '4', '5', '6', '7']
main_marshal_generated_c += custom_target(
'marshal_generated' + x + '.c',
input : ['gl_marshal.py', 'gl_and_es_API.xml'],
input : ['marshal_generated_c.py', 'gl_and_es_API.xml'],
output : 'marshal_generated' + x + '.c',
command : [prog_python, '@INPUT0@', '@INPUT1@', x, '8', sizeof_pointer],
depend_files : glapi_xml_py_deps,

View file

@ -51,7 +51,7 @@ class PrintCode(gl_XML.gl_print_base):
def __init__(self):
super(PrintCode, self).__init__()
self.name = 'gl_marshal.py'
self.name = 'unmarshal_table_c.py'
self.license = license.bsd_license_template % (
'Copyright (C) 2012 Intel Corporation', 'INTEL CORPORATION')

View file

@ -12,7 +12,7 @@ main_dispatch_h = custom_target(
main_marshal_generated_h = custom_target(
'marshal_generated.h',
input : ['../../mapi/glapi/gen/gl_marshal_h.py', '../../mapi/glapi/gen/gl_and_es_API.xml'],
input : ['../../mapi/glapi/gen/marshal_generated_h.py', '../../mapi/glapi/gen/gl_and_es_API.xml'],
output : 'marshal_generated.h',
command : [prog_python, '@INPUT0@', '@INPUT1@', sizeof_pointer],
depend_files : glapi_xml_py_deps,