dispatch: Code generate api_exec.c.
This patch adjusts makefiles to cause src/mesa/main/api_exec.c to be generated using src/mapi/glapi/gen/gl_genexec.py. There should be no functional change. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
@@ -55,6 +55,7 @@ MESA_OUTPUTS = \
|
||||
$(MESA_GLAPI_OUTPUTS) \
|
||||
$(MESA_GLAPI_ASM_OUTPUTS) \
|
||||
$(MESA_DIR)/main/enums.c \
|
||||
$(MESA_DIR)/main/api_exec.c \
|
||||
$(MESA_DIR)/main/dispatch.h \
|
||||
$(MESA_DIR)/main/remap_helper.h \
|
||||
$(MESA_GLX_DIR)/indirect.c \
|
||||
@@ -215,6 +216,9 @@ $(MESA_GLAPI_DIR)/glapi_sparc.S: gl_SPARC_asm.py $(COMMON)
|
||||
$(MESA_DIR)/main/enums.c: gl_enums.py $(COMMON)
|
||||
$(PYTHON_GEN) $< -f $(srcdir)/gl_and_es_API.xml > $@
|
||||
|
||||
$(MESA_DIR)/main/api_exec.c: gl_genexec.py $(COMMON)
|
||||
$(PYTHON_GEN) $< -f $(srcdir)/gl_and_es_API.xml > $@
|
||||
|
||||
$(MESA_DIR)/main/dispatch.h: gl_table.py $(COMMON)
|
||||
$(PYTHON_GEN) $< -f $(srcdir)/gl_and_es_API.xml -m remap_table > $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user