VirtualBox

Changeset 103998 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Mar 22, 2024 9:31:52 AM (12 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
162385
Message:

Additions/3D/mesa/mesa-24.0.2: Makefile. bugref:10606

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/3D/mesa/mesa-24.0.2/Makefile.kmk

    r103994 r103998  
    132132        -wd4254 -wd5039 -wd5204 -wd5219
    133133
    134  TEMPLATE_VBoxMesa3DGuestR3Lib_CFLAGS.win  += $(VBOX_MESA3D_VCC_DISABLED_WARNINGS)
    135  TEMPLATE_VBoxMesa3DGuestR3Lib_CXXFLAGS.win += $(VBOX_MESA3D_VCC_DISABLED_WARNINGS)
     134 TEMPLATE_VBoxMesa3DGuestR3Lib_CFLAGS.win   = $(TEMPLATE_VBoxMesa3DGuestR3Dll_CFLAGS.win) $(VBOX_MESA3D_VCC_DISABLED_WARNINGS)
     135 TEMPLATE_VBoxMesa3DGuestR3Lib_CXXFLAGS.win = $(TEMPLATE_VBoxMesa3DGuestR3Dll_CXXFLAGS.win) $(VBOX_MESA3D_VCC_DISABLED_WARNINGS)
    136136endif
    137137TEMPLATE_VBoxMesa3DGuestR3Lib_INCS          = \
     
    156156 TEMPLATE_VBoxMesa3DGuestR3Lib_DEFS         = \
    157157        $(TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS) \
    158         PACKAGE_VERSION="$(VBOX_MESA)" \
     158        PACKAGE_VERSION="$(VBOX_MESA_VERSION)" \
    159159        PACKAGE_BUGREPORT="$(VBOX_MESA)"
    160160else
    161161 TEMPLATE_VBoxMesa3DGuestR3Lib_DEFS         = \
    162162        $(TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS) \
    163         PACKAGE_VERSION=\"$(VBOX_MESA)\" \
     163        PACKAGE_VERSION=\"$(VBOX_MESA_VERSION)\" \
    164164        PACKAGE_BUGREPORT=\"$(VBOX_MESA)\"
    165165endif
     
    167167TEMPLATE_VBoxMesa3DGuestR3Lib_DEFS         += \
    168168        MAPI_MODE_UTIL _GDI32_ BUILD_GL32 KHRONOS_DLL_EXPORTS GL_API=GLAPI GL_APIENTRY=GLAPIENTRY _GLAPI_NO_EXPORTS
     169TEMPLATE_VBoxMesa3DGuestR3Lib_DEFS         += \
     170        HAVE_OPENGL=1 HAVE_OPENGL_ES_1=1 HAVE_OPENGL_ES_2=1
    169171TEMPLATE_VBoxMesa3DGuestR3Lib_DEFS.release  = \
    170172        $(TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS.release) \
     
    176178#
    177179VBoxMesaUtilLib_TEMPLATE = VBoxMesa3DGuestR3Lib
    178 VBoxMesaUtilLib_INCS = \
    179         $(VBoxMesaUtilLib_0_OUTDIR)/src \
    180         $(VBoxMesaUtilLib_0_OUTDIR)/src/util/format \
    181         src/util/format
    182 
    183 VBoxMesaUtilLib_DEPS = \
    184         $(VBoxMesaUtilLib_0_OUTDIR)/src/util/format/u_format_pack.h
    185 
    186180VBoxMesaUtilLib_SOURCES = \
    187         $(VBoxMesaUtilLib_0_OUTDIR)/src/util/format/u_format_pack.c \
    188         $(VBoxMesaUtilLib_0_OUTDIR)/src/util/format_srgb.c
    189 
    190 $$(VBoxMesaUtilLib_0_OUTDIR)/src/util/format/u_format_pack.c: \
    191                 $(VBOX_PATH_MESA)/src/util/format/u_format_table.py \
    192                 $(VBOX_PATH_MESA)/src/util/format/u_format.csv | $$(dir $$@)
    193         $(call MSG_GENERATE,python,$@,$$@)
    194         $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/util/format/u_format.csv >$@
    195 
    196 $$(VBoxMesaUtilLib_0_OUTDIR)/src/util/format/u_format_pack.h: \
    197                 $(VBOX_PATH_MESA)/src/util/format/u_format_table.py \
    198                 $(VBOX_PATH_MESA)/src/util/format/u_format.csv | $$(dir $$@)
    199         $(call MSG_GENERATE,python,$@,$$@)
    200         $(QUIET)$(PYTHON_CMD) $< --header $(VBOX_PATH_MESA)/src/util/format/u_format.csv >$@
    201 
    202 $$(VBoxMesaUtilLib_0_OUTDIR)/src/util/format_srgb.c: \
    203                 $(VBOX_PATH_MESA)/src/util/format_srgb.py | $$(dir $$@)
    204         $(call MSG_GENERATE,python,$@,$$@)
    205         $(QUIET)$(PYTHON_CMD) $< >$@
    206 
    207 VBoxMesaUtilLib_SOURCES += \
    208181        src/util/anon_file.c \
    209182        src/util/bitscan.c \
     
    213186        src/util/crc32.c \
    214187        src/util/dag.c \
    215         src/util/debug.c \
    216188        src/util/disk_cache.c \
    217189        src/util/disk_cache_os.c \
     
    219191        src/util/fast_idiv_by_const.c \
    220192        src/util/fossilize_db.c \
     193        src/util/futex.c \
    221194        src/util/half_float.c \
    222195        src/util/hash_table.c \
     196        src/util/u_idalloc.c \
    223197        src/util/log.c \
    224198        src/util/memstream.c \
    225199        src/util/mesa-sha1.c \
     200        src/util/mesa-blake3.c \
     201        src/util/os_time.c \
    226202        src/util/os_file.c \
    227203        src/util/os_memory_fd.c \
    228204        src/util/os_misc.c \
    229205        src/util/os_socket.c \
    230         src/util/os_time.c \
     206        src/util/perf/u_trace.c \
     207        src/util/u_process.c \
     208        src/util/u_qsort.cpp \
     209        src/util/rwlock.c \
     210        src/util/sha1/sha1.c \
    231211        src/util/ralloc.c \
    232212        src/util/rand_xor.c \
     
    235215        src/util/rgtc.c \
    236216        src/util/set.c \
     217        src/util/simple_mtx.c \
    237218        src/util/slab.c \
    238219        src/util/softfloat.c \
     
    240221        src/util/string_buffer.c \
    241222        src/util/strtod.c \
     223        src/util/texcompress_astc_luts.cpp \
     224        src/util/texcompress_astc_luts_wrap.cpp \
    242225        src/util/u_atomic.c \
    243         src/util/u_cpu_detect.c \
    244         src/util/u_debug.c \
    245         src/util/u_debug_describe.c \
    246         src/util/u_debug_memory.c \
    247         src/util/u_debug_refcnt.c \
    248         src/util/u_debug_stack.c \
    249         src/util/u_debug_symbol.c \
     226        src/util/u_call_once.c \
     227        src/util/u_dl.c \
     228        src/util/u_dynarray.c \
    250229        src/util/u_hash_table.c \
    251         src/util/u_idalloc.c \
     230        src/util/u_queue.c \
     231        src/util/u_thread.c \
     232        src/util/u_vector.c \
    252233        src/util/u_math.c \
    253234        src/util/u_mm.c \
    254         src/util/u_process.c \
    255         src/util/u_queue.c \
    256         src/util/u_vector.c \
     235        src/util/u_debug.c \
     236        src/util/u_debug_memory.c \
     237        src/util/u_cpu_detect.c \
     238        src/util/u_printf.c \
     239        src/util/u_worklist.c \
     240        src/util/vl_zscan_data.c \
    257241        src/util/vma.c \
     242        src/util/mesa_cache_db.c \
     243        src/util/mesa_cache_db_multipart.c \
    258244        src/util/format/u_format.c \
    259245        src/util/format/u_format_bptc.c \
     
    268254        src/util/format/u_format_yuv.c \
    269255        src/util/format/u_format_zs.c \
    270         src/util/u_printf.cpp \
    271         src/util/u_qsort.cpp \
    272         src/util/sha1/sha1.c
    273 
    274 # Unused
    275 #       src/util/xmlconfig.c
     256        src/util/streaming-load-memcpy.c
     257
     258VBoxMesaUtilLib_SOURCES += \
     259        src/util/u_debug_stack.c \
     260        src/util/u_debug_symbol.c
     261
     262VBoxMesaUtilLib_INCS = \
     263        $(VBoxMesaUtilLib_0_OUTDIR)/$(VBOX_MESA)/src \
     264        $(VBoxMesaUtilLib_0_OUTDIR)/$(VBOX_MESA)/src/util/format \
     265        src/util/format
     266
     267VBoxMesaUtilLib_DEPS = \
     268        $(VBoxMesaUtilLib_0_OUTDIR)/$(VBOX_MESA)/src/util/format/u_format_pack.h
     269
     270VBoxMesaUtilLib_SOURCES += \
     271        $(VBoxMesaUtilLib_0_OUTDIR)/$(VBOX_MESA)/src/util/format_srgb.c \
     272        $(VBoxMesaUtilLib_0_OUTDIR)/$(VBOX_MESA)/src/util/format/u_format_table.c
     273
     274$$(VBoxMesaUtilLib_0_OUTDIR)/$(VBOX_MESA)/src/util/:
     275        $(QUIET)$(MKDIR) -p $@
     276$$(VBoxMesaUtilLib_0_OUTDIR)/$(VBOX_MESA)/src/util/format/:
     277        $(QUIET)$(MKDIR) -p $@
     278
     279$$(VBoxMesaUtilLib_0_OUTDIR)/$(VBOX_MESA)/src/util/format_srgb.c: \
     280                $(VBOX_PATH_MESA)/src/util/format_srgb.py | $$(dir $$@)
     281        $(call MSG_GENERATE,python,$@,$$@)
     282        $(QUIET)$(PYTHON_CMD) $< >$@
     283
     284$$(VBoxMesaUtilLib_0_OUTDIR)/$(VBOX_MESA)/src/util/format/u_format_table.c: \
     285                $(VBOX_PATH_MESA)/src/util/format/u_format_table.py \
     286                $(VBOX_PATH_MESA)/src/util/format/u_format.csv | $$(dir $$@)
     287        $(call MSG_GENERATE,python,$@,$$@)
     288        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/util/format/u_format.csv >$@
     289
     290$$(VBoxMesaUtilLib_0_OUTDIR)/$(VBOX_MESA)/src/util/format/u_format_pack.h: \
     291                $(VBOX_PATH_MESA)/src/util/format/u_format_table.py \
     292                $(VBOX_PATH_MESA)/src/util/format/u_format.csv | $$(dir $$@)
     293        $(call MSG_GENERATE,python,$@,$$@)
     294        $(QUIET)$(PYTHON_CMD) $< --header $(VBOX_PATH_MESA)/src/util/format/u_format.csv >$@
    276295
    277296# 32 bit lib for 64 bit build
     
    284303#
    285304VBoxMesaLib_TEMPLATE = VBoxMesa3DGuestR3Lib
    286 VBoxMesaLib_INCS = \
    287         $(VBoxMesaLib_0_OUTDIR)/src/compiler \
    288         $(VBoxMesaLib_0_OUTDIR)/src/compiler/glsl \
    289         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir \
    290         $(VBoxMesaLib_0_OUTDIR)/src/compiler/spirv \
    291         $(VBoxMesaLib_0_OUTDIR)/src/mapi/glapi \
    292         $(VBoxMesaLib_0_OUTDIR)/src/mesa \
    293         $(VBoxMesaLib_0_OUTDIR)/src/mesa/main \
    294         $(VBoxMesaLib_0_OUTDIR)/src/mesa/program \
    295         src/compiler/glsl \
    296         src/compiler/glsl/glcpp \
    297         src/compiler/spirv
    298 
    299 VBoxMesaLib_DEPS = \
    300         $(VBoxMesaLib_0_OUTDIR)/src/compiler/ir_expression_operation.h \
    301         $(VBoxMesaLib_0_OUTDIR)/src/compiler/ir_expression_operation_strings.h \
    302         $(VBoxMesaLib_0_OUTDIR)/src/compiler/ir_expression_operation_constant.h \
    303         $(VBoxMesaLib_0_OUTDIR)/src/compiler/glsl/float64_glsl.h \
    304         $(VBoxMesaLib_0_OUTDIR)/src/compiler/glsl/glsl_parser.h \
    305         $(VBoxMesaLib_0_OUTDIR)/src/compiler/glsl/glcpp/glcpp-parse.h \
    306         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_builder_opcodes.h \
    307         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_intrinsics.h \
    308         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_intrinsics_indices.h \
    309         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_opcodes.h \
    310         $(VBoxMesaLib_0_OUTDIR)/src/compiler/spirv/vtn_generator_ids.h \
    311         $(VBoxMesaLib_0_OUTDIR)/src/mapi/glapi/glapitable.h \
    312         $(VBoxMesaLib_0_OUTDIR)/src/mapi/glapi/glapitemp.h \
    313         $(VBoxMesaLib_0_OUTDIR)/src/mapi/glapi/glprocs.h \
    314         $(VBoxMesaLib_0_OUTDIR)/src/mesa/main/dispatch.h \
    315         $(VBoxMesaLib_0_OUTDIR)/src/mesa/main/format_info.h \
    316         $(VBoxMesaLib_0_OUTDIR)/src/mesa/main/get_hash.h \
    317         $(VBoxMesaLib_0_OUTDIR)/src/mesa/main/marshal_generated.h \
    318         $(VBoxMesaLib_0_OUTDIR)/src/mesa/main/remap_helper.h \
    319         $(VBoxMesaLib_0_OUTDIR)/src/mesa/program/program_parse.tab.h
     305
     306VBoxMesaLib_DEFS    = \
     307        PRIxPTR="p"
    320308
    321309VBoxMesaLib_SOURCES = \
    322         $(VBoxMesaLib_0_OUTDIR)/src/compiler/glsl/glsl_lexer.cpp \
    323         $(VBoxMesaLib_0_OUTDIR)/src/compiler/glsl/glsl_parser.cpp \
    324         $(VBoxMesaLib_0_OUTDIR)/src/compiler/glsl/glcpp/glcpp-lex.c \
    325         $(VBoxMesaLib_0_OUTDIR)/src/compiler/glsl/glcpp/glcpp-parse.c \
    326         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_constant_expressions.c \
    327         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_intrinsics.c \
    328         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_opcodes.c \
    329         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_opt_algebraic.c \
    330         $(VBoxMesaLib_0_OUTDIR)/src/compiler/spirv/spirv_info.c \
    331         $(VBoxMesaLib_0_OUTDIR)/src/compiler/spirv/vtn_gather_types.c \
    332         $(VBoxMesaLib_0_OUTDIR)/src/mapi/glapi/enums.c \
    333         $(VBoxMesaLib_0_OUTDIR)/src/mesa/main/api_exec.c \
    334         $(VBoxMesaLib_0_OUTDIR)/src/mesa/main/format_fallback.c \
    335         $(VBoxMesaLib_0_OUTDIR)/src/mesa/main/marshal_generated0.c \
    336         $(VBoxMesaLib_0_OUTDIR)/src/mesa/main/marshal_generated1.c \
    337         $(VBoxMesaLib_0_OUTDIR)/src/mesa/main/marshal_generated2.c \
    338         $(VBoxMesaLib_0_OUTDIR)/src/mesa/main/marshal_generated3.c \
    339         $(VBoxMesaLib_0_OUTDIR)/src/mesa/main/marshal_generated4.c \
    340         $(VBoxMesaLib_0_OUTDIR)/src/mesa/main/marshal_generated5.c \
    341         $(VBoxMesaLib_0_OUTDIR)/src/mesa/main/marshal_generated6.c \
    342         $(VBoxMesaLib_0_OUTDIR)/src/mesa/main/marshal_generated7.c \
    343         $(VBoxMesaLib_0_OUTDIR)/src/mesa/program/program_parse.tab.c \
    344         $(VBoxMesaLib_0_OUTDIR)/src/mesa/program/lex.yy.c
    345 
    346 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_builder_opcodes.h: \
    347                 $(VBOX_PATH_MESA)/src/compiler/nir/nir_builder_opcodes_h.py | $$(dir $$@)
    348         $(call MSG_GENERATE,python,$@,$$@)
    349         $(QUIET)$(PYTHON_CMD) $< >$@
    350 
    351 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_constant_expressions.c: \
    352                 $(VBOX_PATH_MESA)/src/compiler/nir/nir_constant_expressions.py | $$(dir $$@)
    353         $(call MSG_GENERATE,python,$@,$$@)
    354         $(QUIET)$(PYTHON_CMD) $< >$@
    355 
    356 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_opcodes.h: \
    357                 $(VBOX_PATH_MESA)/src/compiler/nir/nir_opcodes_h.py | $$(dir $$@)
    358         $(call MSG_GENERATE,python,$@,$$@)
    359         $(QUIET)$(PYTHON_CMD) $< >$@
    360 
    361 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_opcodes.c: \
    362                 $(VBOX_PATH_MESA)/src/compiler/nir/nir_opcodes_c.py | $$(dir $$@)
    363         $(call MSG_GENERATE,python,$@,$$@)
    364         $(QUIET)$(PYTHON_CMD) $< >$@
    365 
    366 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_opt_algebraic.c: \
    367                 $(VBOX_PATH_MESA)/src/compiler/nir/nir_opt_algebraic.py | $$(dir $$@)
    368         $(call MSG_GENERATE,python,$@,$$@)
    369         $(QUIET)$(PYTHON_CMD) $< >$@
    370 
    371 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_intrinsics.h: \
    372                 $(VBOX_PATH_MESA)/src/compiler/nir/nir_intrinsics_h.py | $$(dir $$@)
    373         $(call MSG_GENERATE,python,$@,$$@)
    374         $(QUIET)$(PYTHON_CMD) $< --outdir $(dir $@)
    375 
    376 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_intrinsics_indices.h: \
    377                 $(VBOX_PATH_MESA)/src/compiler/nir/nir_intrinsics_indices_h.py | $$(dir $$@)
    378         $(call MSG_GENERATE,python,$@,$$@)
    379         $(QUIET)$(PYTHON_CMD) $< --outdir $(dir $@)
    380 
    381 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_intrinsics.c: \
    382                 $(VBOX_PATH_MESA)/src/compiler/nir/nir_intrinsics_c.py | $$(dir $$@)
    383         $(call MSG_GENERATE,python,$@,$$@)
    384         $(QUIET)$(PYTHON_CMD) $< --outdir $(dir $@)
    385 
    386 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/ir_expression_operation.h: \
    387                 $(VBOX_PATH_MESA)/src/compiler/glsl/ir_expression_operation.py | $$(dir $$@)
    388         $(call MSG_GENERATE,python,$@,$$@)
    389         $(QUIET)$(PYTHON_CMD) $< enum >$@
    390 
    391 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/ir_expression_operation_strings.h: \
    392                 $(VBOX_PATH_MESA)/src/compiler/glsl/ir_expression_operation.py | $$(dir $$@)
    393         $(call MSG_GENERATE,python,$@,$$@)
    394         $(QUIET)$(PYTHON_CMD) $< strings >$@
    395 
    396 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/ir_expression_operation_constant.h: \
    397                 $(VBOX_PATH_MESA)/src/compiler/glsl/ir_expression_operation.py | $$(dir $$@)
    398         $(call MSG_GENERATE,python,$@,$$@)
    399         $(QUIET)$(PYTHON_CMD) $< constant >$@
    400 
    401 $$(VBoxMesaLib_0_OUTDIR)/src/mesa/main/dispatch.h: \
    402                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_table.py \
    403                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
    404         $(call MSG_GENERATE,python,$@,$$@)
    405         $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml -m remap_table >$@
    406 
    407 $$(VBoxMesaLib_0_OUTDIR)/src/mesa/main/marshal_generated.h: \
    408                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_marshal_h.py \
    409                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
    410         $(call MSG_GENERATE,python,$@,$$@)
    411         $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
    412 
    413 $$(VBoxMesaLib_0_OUTDIR)/src/mesa/main/marshal_generated0.c: \
    414                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_marshal.py \
    415                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
    416         $(call MSG_GENERATE,python,$@,$$@)
    417         $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml -i 0 -n 8 >$@
    418 
    419 $$(VBoxMesaLib_0_OUTDIR)/src/mesa/main/marshal_generated1.c: \
    420                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_marshal.py \
    421                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
    422         $(call MSG_GENERATE,python,$@,$$@)
    423         $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml -i 1 -n 8 >$@
    424 
    425 $$(VBoxMesaLib_0_OUTDIR)/src/mesa/main/marshal_generated2.c: \
    426                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_marshal.py \
    427                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
    428         $(call MSG_GENERATE,python,$@,$$@)
    429         $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml -i 2 -n 8 >$@
    430 
    431 $$(VBoxMesaLib_0_OUTDIR)/src/mesa/main/marshal_generated3.c: \
    432                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_marshal.py \
    433                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
    434         $(call MSG_GENERATE,python,$@,$$@)
    435         $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml -i 3 -n 8 >$@
    436 
    437 $$(VBoxMesaLib_0_OUTDIR)/src/mesa/main/marshal_generated4.c: \
    438                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_marshal.py \
    439                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
    440         $(call MSG_GENERATE,python,$@,$$@)
    441         $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml -i 4 -n 8 >$@
    442 
    443 $$(VBoxMesaLib_0_OUTDIR)/src/mesa/main/marshal_generated5.c: \
    444                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_marshal.py \
    445                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
    446         $(call MSG_GENERATE,python,$@,$$@)
    447         $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml -i 5 -n 8 >$@
    448 
    449 $$(VBoxMesaLib_0_OUTDIR)/src/mesa/main/marshal_generated6.c: \
    450                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_marshal.py \
    451                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
    452         $(call MSG_GENERATE,python,$@,$$@)
    453         $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml -i 6 -n 8 >$@
    454 
    455 $$(VBoxMesaLib_0_OUTDIR)/src/mesa/main/marshal_generated7.c: \
    456                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_marshal.py \
    457                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
    458         $(call MSG_GENERATE,python,$@,$$@)
    459         $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml -i 7 -n 8 >$@
    460 
    461 $$(VBoxMesaLib_0_OUTDIR)/src/mesa/main/api_exec.c: \
    462                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_genexec.py \
    463                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
    464         $(call MSG_GENERATE,python,$@,$$@)
    465         $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
    466 
    467 $$(VBoxMesaLib_0_OUTDIR)/src/mesa/main/format_info.h: \
    468                 $(VBOX_PATH_MESA)/src/mesa/main/format_info.py \
    469                 $(VBOX_PATH_MESA)/src/mesa/main/formats.csv | $$(dir $$@)
    470         $(call MSG_GENERATE,python,$@,$$@)
    471         $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/mesa/main/formats.csv >$@
    472 
    473 $$(VBoxMesaLib_0_OUTDIR)/src/mesa/main/format_fallback.c: \
    474                 $(VBOX_PATH_MESA)/src/mesa/main/format_fallback.py \
    475                 $(VBOX_PATH_MESA)/src/mesa/main/formats.csv | $$(dir $$@)
    476         $(call MSG_GENERATE,python,$@,$$@)
    477         $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/mesa/main/formats.csv $@
    478 
    479 $$(VBoxMesaLib_0_OUTDIR)/src/mesa/main/get_hash.h: \
    480                 $(VBOX_PATH_MESA)/src/mesa/main/get_hash_generator.py \
    481                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
    482         $(call MSG_GENERATE,python,$@,$$@)
    483         $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
    484 
    485 $$(VBoxMesaLib_0_OUTDIR)/src/mesa/main/remap_helper.h: \
    486                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/remap_helper.py \
    487                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
    488         $(call MSG_GENERATE,python,$@,$$@)
    489         $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
    490 
    491 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/glsl/glsl_parser.cpp \
    492 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/glsl/glsl_parser.h: \
    493                 $(VBOX_PATH_MESA)/src/compiler/glsl/glsl_parser.yy | $$(dir $$@)
    494         $(call MSG_GENERATE,bison,$@,$$@)
    495         $(QUIET)$(TOOL_BISON_YACC) -o $@ -p _mesa_glsl_ --defines=$(VBoxMesaLib_0_OUTDIR)/src/compiler/glsl/glsl_parser.h $<
    496 
    497 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/glsl/glsl_lexer.cpp: \
    498                 $(VBOX_PATH_MESA)/src/compiler/glsl/glsl_lexer.ll | $$(dir $$@)
    499         $(call MSG_GENERATE,flex,$@,$$@)
    500         $(QUIET)$(TOOL_FLEX_LEX) -o $@ $<
    501 
    502 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/glsl/glcpp/glcpp-parse.c \
    503 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/glsl/glcpp/glcpp-parse.h: \
    504                 $(VBOX_PATH_MESA)/src/compiler/glsl/glcpp/glcpp-parse.y | $$(dir $$@)
    505         $(call MSG_GENERATE,bison,$@,$$@)
    506         $(QUIET)$(TOOL_BISON_YACC) -o $@ -p glcpp_parser_ --defines=$(VBoxMesaLib_0_OUTDIR)/src/compiler/glsl/glcpp/glcpp-parse.h $<
    507 
    508 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/glsl/glcpp/glcpp-lex.c: \
    509                 $(VBOX_PATH_MESA)/src/compiler/glsl/glcpp/glcpp-lex.l | $$(dir $$@)
    510         $(call MSG_GENERATE,flex,$@,$$@)
    511         $(QUIET)$(TOOL_FLEX_LEX) -o $@ $<
    512 
    513 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/glsl/float64_glsl.h: \
    514                 $(VBOX_PATH_MESA)/src/util/xxd.py \
    515                 $(VBOX_PATH_MESA)/src/compiler/glsl/float64.glsl | $$(dir $$@)
    516         $(call MSG_GENERATE,python,$@,$$@)
    517         $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/compiler/glsl/float64.glsl $@ -n float64_source
    518 
    519 $$(VBoxMesaLib_0_OUTDIR)/src/mapi/glapi/glapitemp.h: \
    520                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_apitemp.py \
    521                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
    522         $(call MSG_GENERATE,python,$@,$$@)
    523         $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
    524 
    525 $$(VBoxMesaLib_0_OUTDIR)/src/mapi/glapi/glapitable.h: \
    526                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_table.py \
    527                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
    528         $(call MSG_GENERATE,python,$@,$$@)
    529         $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
    530 
    531 $$(VBoxMesaLib_0_OUTDIR)/src/mapi/glapi/glprocs.h: \
    532                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_procs.py \
    533                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
    534         $(call MSG_GENERATE,python,$@,$$@)
    535         $(QUIET)$(PYTHON_CMD) $< -c -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
    536 
    537 $$(VBoxMesaLib_0_OUTDIR)/src/mapi/glapi/enums.c: \
    538                 $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_enums.py \
    539                 $(VBOX_PATH_MESA)/src/mapi/glapi/registry/gl.xml | $$(dir $$@)
    540         $(call MSG_GENERATE,python,$@,$$@)
    541         $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/registry/gl.xml >$@
    542 
    543 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/spirv/spirv_info.c: \
    544                 $(VBOX_PATH_MESA)/src/compiler/spirv/spirv_info_c.py \
    545                 $(VBOX_PATH_MESA)/src/compiler/spirv/spirv.core.grammar.json | $$(dir $$@)
    546         $(call MSG_GENERATE,python,$@,$$@)
    547         $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/compiler/spirv/spirv.core.grammar.json $@
    548 
    549 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/spirv/vtn_gather_types.c: \
    550                 $(VBOX_PATH_MESA)/src/compiler/spirv/vtn_gather_types_c.py \
    551                 $(VBOX_PATH_MESA)/src/compiler/spirv/spirv.core.grammar.json | $$(dir $$@)
    552         $(call MSG_GENERATE,python,$@,$$@)
    553         $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/compiler/spirv/spirv.core.grammar.json $@
    554 
    555 $$(VBoxMesaLib_0_OUTDIR)/src/compiler/spirv/vtn_generator_ids.h: \
    556                 $(VBOX_PATH_MESA)/src/compiler/spirv/vtn_generator_ids_h.py \
    557                 $(VBOX_PATH_MESA)/src/compiler/spirv/spir-v.xml | $$(dir $$@)
    558         $(call MSG_GENERATE,python,$@,$$@)
    559         $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/compiler/spirv/spir-v.xml $@
    560 
    561 $$(VBoxMesaLib_0_OUTDIR)/src/mesa/program/program_parse.tab.c \
    562 $$(VBoxMesaLib_0_OUTDIR)/src/mesa/program/program_parse.tab.h: \
    563                 $(VBOX_PATH_MESA)/src/mesa/program/program_parse.y | $$(dir $$@)
    564         $(call MSG_GENERATE,bison,$@,$$@)
    565         $(QUIET)$(TOOL_BISON_YACC) -o $@ --defines=$(VBoxMesaLib_0_OUTDIR)/src/mesa/program/program_parse.tab.h $<
    566 
    567 $$(VBoxMesaLib_0_OUTDIR)/src/mesa/program/lex.yy.c: \
    568                 $(VBOX_PATH_MESA)/src/mesa/program/program_lexer.l | $$(dir $$@)
    569         $(call MSG_GENERATE,flex,$@,$$@)
    570         $(QUIET)$(TOOL_FLEX_LEX) -o $@ $<
    571 
    572 VBoxMesaLib_SOURCES += \
    573         src/mesa/state_tracker/st_atifs_to_nir.c \
    574         src/mesa/state_tracker/st_atom.c \
    575         src/mesa/state_tracker/st_atom_array.c \
    576         src/mesa/state_tracker/st_atom_atomicbuf.c \
    577         src/mesa/state_tracker/st_atom_blend.c \
    578         src/mesa/state_tracker/st_atom_clip.c \
    579         src/mesa/state_tracker/st_atom_constbuf.c \
    580         src/mesa/state_tracker/st_atom_depth.c \
    581         src/mesa/state_tracker/st_atom_framebuffer.c \
    582         src/mesa/state_tracker/st_atom_image.c \
    583         src/mesa/state_tracker/st_atom_msaa.c \
    584         src/mesa/state_tracker/st_atom_pixeltransfer.c \
    585         src/mesa/state_tracker/st_atom_rasterizer.c \
    586         src/mesa/state_tracker/st_atom_sampler.c \
    587         src/mesa/state_tracker/st_atom_scissor.c \
    588         src/mesa/state_tracker/st_atom_shader.c \
    589         src/mesa/state_tracker/st_atom_stipple.c \
    590         src/mesa/state_tracker/st_atom_storagebuf.c \
    591         src/mesa/state_tracker/st_atom_tess.c \
    592         src/mesa/state_tracker/st_atom_texture.c \
    593         src/mesa/state_tracker/st_atom_viewport.c \
    594         src/mesa/state_tracker/st_cb_bitmap.c \
    595         src/mesa/state_tracker/st_cb_bitmap_shader.c \
    596         src/mesa/state_tracker/st_cb_blit.c \
    597         src/mesa/state_tracker/st_cb_bufferobjects.c \
    598         src/mesa/state_tracker/st_cb_clear.c \
    599         src/mesa/state_tracker/st_cb_compute.c \
    600         src/mesa/state_tracker/st_cb_condrender.c \
    601         src/mesa/state_tracker/st_cb_copyimage.c \
    602         src/mesa/state_tracker/st_cb_drawpixels.c \
    603         src/mesa/state_tracker/st_cb_drawpixels_shader.c \
    604         src/mesa/state_tracker/st_cb_drawtex.c \
    605         src/mesa/state_tracker/st_cb_eglimage.c \
    606         src/mesa/state_tracker/st_cb_fbo.c \
    607         src/mesa/state_tracker/st_cb_feedback.c \
    608         src/mesa/state_tracker/st_cb_flush.c \
    609         src/mesa/state_tracker/st_cb_memoryobjects.c \
    610         src/mesa/state_tracker/st_cb_msaa.c \
    611         src/mesa/state_tracker/st_cb_perfmon.c \
    612         src/mesa/state_tracker/st_cb_perfquery.c \
    613         src/mesa/state_tracker/st_cb_program.c \
    614         src/mesa/state_tracker/st_cb_queryobj.c \
    615         src/mesa/state_tracker/st_cb_rasterpos.c \
    616         src/mesa/state_tracker/st_cb_readpixels.c \
    617         src/mesa/state_tracker/st_cb_semaphoreobjects.c \
    618         src/mesa/state_tracker/st_cb_strings.c \
    619         src/mesa/state_tracker/st_cb_syncobj.c \
    620         src/mesa/state_tracker/st_cb_texture.c \
    621         src/mesa/state_tracker/st_cb_texturebarrier.c \
    622         src/mesa/state_tracker/st_cb_viewport.c \
    623         src/mesa/state_tracker/st_cb_xformfb.c \
    624         src/mesa/state_tracker/st_context.c \
    625         src/mesa/state_tracker/st_copytex.c \
    626         src/mesa/state_tracker/st_debug.c \
    627         src/mesa/state_tracker/st_draw.c \
    628         src/mesa/state_tracker/st_draw_feedback.c \
    629         src/mesa/state_tracker/st_extensions.c \
    630         src/mesa/state_tracker/st_format.c \
    631         src/mesa/state_tracker/st_gen_mipmap.c \
    632         src/mesa/state_tracker/st_glsl_to_ir.cpp \
    633         src/mesa/state_tracker/st_glsl_to_nir.cpp \
    634         src/mesa/state_tracker/st_glsl_to_tgsi.cpp \
    635         src/mesa/state_tracker/st_glsl_to_tgsi_array_merge.cpp \
    636         src/mesa/state_tracker/st_glsl_to_tgsi_private.cpp \
    637         src/mesa/state_tracker/st_glsl_to_tgsi_temprename.cpp \
    638         src/mesa/state_tracker/st_manager.c \
    639         src/mesa/state_tracker/st_nir_builtins.c \
    640         src/mesa/state_tracker/st_nir_lower_builtin.c \
    641         src/mesa/state_tracker/st_nir_lower_tex_src_plane.c \
    642         src/mesa/state_tracker/st_pbo.c \
    643         src/mesa/state_tracker/st_program.c \
    644         src/mesa/state_tracker/st_sampler_view.c \
    645         src/mesa/state_tracker/st_scissor.c \
    646         src/mesa/state_tracker/st_shader_cache.c \
    647         src/mesa/state_tracker/st_texture.c \
    648         src/mesa/state_tracker/st_tgsi_lower_depth_clamp.c \
    649         src/mesa/state_tracker/st_tgsi_lower_yuv.c \
    650         src/mesa/state_tracker/st_vdpau.c
    651 VBoxMesaLib_SOURCES += \
    652         src/mesa/program/arbprogparse.c \
    653         src/mesa/program/ir_to_mesa.cpp \
    654         src/mesa/program/prog_cache.c \
    655         src/mesa/program/prog_execute.c \
    656         src/mesa/program/prog_instruction.c \
    657         src/mesa/program/prog_noise.c \
    658         src/mesa/program/prog_opt_constant_fold.c \
    659         src/mesa/program/prog_optimize.c \
    660         src/mesa/program/prog_parameter.c \
    661         src/mesa/program/prog_parameter_layout.c \
    662         src/mesa/program/prog_print.c \
    663         src/mesa/program/prog_statevars.c \
    664         src/mesa/program/prog_to_nir.c \
    665         src/mesa/program/program.c \
    666         src/mesa/program/program_parse_extra.c \
    667         src/mesa/program/programopt.c \
    668         src/mesa/program/symbol_table.c
     310        src/c11/impl/time.c \
     311        src/c11/impl/threads_win32.c \
     312        src/c11/impl/threads_win32_tls_callback.cpp
     313
    669314VBoxMesaLib_SOURCES += \
    670315        src/mesa/main/accum.c \
     
    682327        src/mesa/main/clear.c \
    683328        src/mesa/main/clip.c \
    684         src/mesa/main/colortab.c \
    685329        src/mesa/main/compute.c \
    686330        src/mesa/main/condrender.c \
    687331        src/mesa/main/conservativeraster.c \
    688332        src/mesa/main/context.c \
    689         src/mesa/main/convolve.c \
    690333        src/mesa/main/copyimage.c \
    691         src/mesa/main/cpuinfo.c \
    692334        src/mesa/main/debug.c \
    693335        src/mesa/main/debug_output.c \
     
    702344        src/mesa/main/es1_conversion.c \
    703345        src/mesa/main/eval.c \
    704         src/mesa/main/execmem.c \
    705346        src/mesa/main/extensions.c \
    706347        src/mesa/main/extensions_table.c \
     
    708349        src/mesa/main/fbobject.c \
    709350        src/mesa/main/feedback.c \
    710         src/mesa/main/ff_fragment_shader.cpp \
     351        src/mesa/main/ff_fragment_shader.c \
    711352        src/mesa/main/ffvertex_prog.c \
    712353        src/mesa/main/fog.c \
     
    723364        src/mesa/main/glthread_bufferobj.c \
    724365        src/mesa/main/glthread_draw.c \
     366        src/mesa/main/glthread_draw_unroll.c \
    725367        src/mesa/main/glthread_get.c \
    726368        src/mesa/main/glthread_list.c \
     
    729371        src/mesa/main/hash.c \
    730372        src/mesa/main/hint.c \
    731         src/mesa/main/histogram.c \
    732373        src/mesa/main/image.c \
    733374        src/mesa/main/light.c \
     
    737378        src/mesa/main/multisample.c \
    738379        src/mesa/main/objectlabel.c \
    739         src/mesa/main/objectpurge.c \
    740380        src/mesa/main/pack.c \
    741381        src/mesa/main/pbo.c \
     
    767407        src/mesa/main/state.c \
    768408        src/mesa/main/stencil.c \
    769         src/mesa/main/streaming-load-memcpy.c \
    770409        src/mesa/main/syncobj.c \
    771410        src/mesa/main/texcompress.c \
     
    778417        src/mesa/main/texcompress_s3tc.c \
    779418        src/mesa/main/texenv.c \
    780         src/mesa/main/texformat.c \
    781419        src/mesa/main/texgen.c \
    782420        src/mesa/main/texgetimage.c \
     
    796434        src/mesa/main/version.c \
    797435        src/mesa/main/viewport.c \
    798         src/mesa/main/vtxfmt.c
    799 #VBoxMesaLib_SOURCES += \
    800         src/mesa/main/marshal_generated0.c \
    801         src/mesa/main/marshal_generated1.c \
    802         src/mesa/main/marshal_generated2.c \
    803         src/mesa/main/marshal_generated3.c \
    804         src/mesa/main/marshal_generated4.c \
    805         src/mesa/main/marshal_generated5.c \
    806         src/mesa/main/marshal_generated6.c \
    807         src/mesa/main/marshal_generated7.c
    808 VBoxMesaLib_SOURCES += \
    809         src/mesa/math/m_debug_clip.c \
    810         src/mesa/math/m_debug_norm.c \
    811         src/mesa/math/m_debug_xform.c \
    812436        src/mesa/math/m_eval.c \
    813437        src/mesa/math/m_matrix.c \
    814         src/mesa/math/m_translate.c \
    815         src/mesa/math/m_vector.c \
    816         src/mesa/math/m_xform.c
    817 VBoxMesaLib_SOURCES += \
     438        src/mesa/program/arbprogparse.c \
     439        src/mesa/program/prog_cache.c \
     440        src/mesa/program/prog_instruction.c \
     441        src/mesa/program/prog_parameter.c \
     442        src/mesa/program/prog_parameter_layout.c \
     443        src/mesa/program/prog_print.c \
     444        src/mesa/program/prog_statevars.c \
     445        src/mesa/program/prog_to_nir.c \
     446        src/mesa/program/program.c \
     447        src/mesa/program/program_parse_extra.c \
     448        src/mesa/program/symbol_table.c \
     449        src/mesa/state_tracker/st_atifs_to_nir.c \
     450        src/mesa/state_tracker/st_atom_array.cpp \
     451        src/mesa/state_tracker/st_atom_atomicbuf.c \
     452        src/mesa/state_tracker/st_atom_blend.c \
     453        src/mesa/state_tracker/st_atom_clip.c \
     454        src/mesa/state_tracker/st_atom_constbuf.c \
     455        src/mesa/state_tracker/st_atom_depth.c \
     456        src/mesa/state_tracker/st_atom_framebuffer.c \
     457        src/mesa/state_tracker/st_atom_image.c \
     458        src/mesa/state_tracker/st_atom_msaa.c \
     459        src/mesa/state_tracker/st_atom_pixeltransfer.c \
     460        src/mesa/state_tracker/st_atom_rasterizer.c \
     461        src/mesa/state_tracker/st_atom_sampler.c \
     462        src/mesa/state_tracker/st_atom_scissor.c \
     463        src/mesa/state_tracker/st_atom_shader.c \
     464        src/mesa/state_tracker/st_atom_stipple.c \
     465        src/mesa/state_tracker/st_atom_storagebuf.c \
     466        src/mesa/state_tracker/st_atom_tess.c \
     467        src/mesa/state_tracker/st_atom_texture.c \
     468        src/mesa/state_tracker/st_atom_viewport.c \
     469        src/mesa/state_tracker/st_cb_bitmap.c \
     470        src/mesa/state_tracker/st_cb_clear.c \
     471        src/mesa/state_tracker/st_cb_copyimage.c \
     472        src/mesa/state_tracker/st_cb_drawpixels.c \
     473        src/mesa/state_tracker/st_cb_drawtex.c \
     474        src/mesa/state_tracker/st_cb_eglimage.c \
     475        src/mesa/state_tracker/st_cb_feedback.c \
     476        src/mesa/state_tracker/st_cb_flush.c \
     477        src/mesa/state_tracker/st_cb_rasterpos.c \
     478        src/mesa/state_tracker/st_cb_readpixels.c \
     479        src/mesa/state_tracker/st_cb_texture.c \
     480        src/mesa/state_tracker/st_context.c \
     481        src/mesa/state_tracker/st_copytex.c \
     482        src/mesa/state_tracker/st_debug.c \
     483        src/mesa/state_tracker/st_draw.c \
     484        src/mesa/state_tracker/st_draw_feedback.c \
     485        src/mesa/state_tracker/st_draw_hw_select.c \
     486        src/mesa/state_tracker/st_extensions.c \
     487        src/mesa/state_tracker/st_format.c \
     488        src/mesa/state_tracker/st_gen_mipmap.c \
     489        src/mesa/state_tracker/st_glsl_to_nir.cpp \
     490        src/mesa/state_tracker/st_interop.c \
     491        src/mesa/state_tracker/st_manager.c \
     492        src/mesa/state_tracker/st_nir_builtins.c \
     493        src/mesa/state_tracker/st_nir_lower_builtin.c \
     494        src/mesa/state_tracker/st_nir_lower_fog.c \
     495        src/mesa/state_tracker/st_nir_lower_position_invariant.c \
     496        src/mesa/state_tracker/st_nir_lower_tex_src_plane.c \
     497        src/mesa/state_tracker/st_pbo.c \
     498        src/mesa/state_tracker/st_pbo_compute.c \
     499        src/mesa/state_tracker/st_program.c \
     500        src/mesa/state_tracker/st_sampler_view.c \
     501        src/mesa/state_tracker/st_scissor.c \
     502        src/mesa/state_tracker/st_shader_cache.c \
     503        src/mesa/state_tracker/st_texcompress_compute.c \
     504        src/mesa/state_tracker/st_texture.c \
     505        src/mesa/state_tracker/st_vdpau.c \
    818506        src/mesa/vbo/vbo_context.c \
    819507        src/mesa/vbo/vbo_exec.c \
     
    827515        src/mesa/vbo/vbo_save_draw.c \
    828516        src/mesa/vbo/vbo_save_loopback.c
     517
    829518VBoxMesaLib_SOURCES += \
    830         src/compiler/glsl_types.cpp \
    831         src/compiler/nir_types.cpp \
     519        src/compiler/glsl_types.c \
    832520        src/compiler/shader_enums.c
    833 VBoxMesaLib_SOURCES += \
    834         src/compiler/glsl/ast_array_index.cpp \
    835         src/compiler/glsl/ast_expr.cpp \
    836         src/compiler/glsl/ast_function.cpp \
    837         src/compiler/glsl/ast_to_hir.cpp \
    838         src/compiler/glsl/ast_type.cpp \
    839         src/compiler/glsl/builtin_functions.cpp \
    840         src/compiler/glsl/builtin_types.cpp \
    841         src/compiler/glsl/builtin_variables.cpp \
    842         src/compiler/glsl/generate_ir.cpp \
    843         src/compiler/glsl/gl_nir_link_atomics.c \
    844         src/compiler/glsl/gl_nir_link_uniform_blocks.c \
    845         src/compiler/glsl/gl_nir_link_uniform_initializers.c \
    846         src/compiler/glsl/gl_nir_link_uniforms.c \
    847         src/compiler/glsl/gl_nir_link_xfb.c \
    848         src/compiler/glsl/gl_nir_linker.c \
    849         src/compiler/glsl/gl_nir_lower_atomics.c \
    850         src/compiler/glsl/gl_nir_lower_buffers.c \
    851         src/compiler/glsl/gl_nir_lower_images.c \
    852         src/compiler/glsl/gl_nir_lower_samplers.c \
    853         src/compiler/glsl/gl_nir_lower_samplers_as_deref.c \
    854         src/compiler/glsl/glsl_parser_extras.cpp \
    855         src/compiler/glsl/glsl_symbol_table.cpp \
    856         src/compiler/glsl/glsl_to_nir.cpp \
    857         src/compiler/glsl/hir_field_selection.cpp \
    858         src/compiler/glsl/ir.cpp \
    859         src/compiler/glsl/ir_array_refcount.cpp \
    860         src/compiler/glsl/ir_basic_block.cpp \
    861         src/compiler/glsl/ir_builder.cpp \
    862         src/compiler/glsl/ir_builder_print_visitor.cpp \
    863         src/compiler/glsl/ir_clone.cpp \
    864         src/compiler/glsl/ir_constant_expression.cpp \
    865         src/compiler/glsl/ir_equals.cpp \
    866         src/compiler/glsl/ir_expression_flattening.cpp \
    867         src/compiler/glsl/ir_function.cpp \
    868         src/compiler/glsl/ir_function_can_inline.cpp \
    869         src/compiler/glsl/ir_function_detect_recursion.cpp \
    870         src/compiler/glsl/ir_hierarchical_visitor.cpp \
    871         src/compiler/glsl/ir_hv_accept.cpp \
    872         src/compiler/glsl/ir_print_visitor.cpp \
    873         src/compiler/glsl/ir_reader.cpp \
    874         src/compiler/glsl/ir_rvalue_visitor.cpp \
    875         src/compiler/glsl/ir_set_program_inouts.cpp \
    876         src/compiler/glsl/ir_validate.cpp \
    877         src/compiler/glsl/ir_variable_refcount.cpp \
    878         src/compiler/glsl/link_atomics.cpp \
    879         src/compiler/glsl/link_functions.cpp \
    880         src/compiler/glsl/link_interface_blocks.cpp \
    881         src/compiler/glsl/link_uniform_block_active_visitor.cpp \
    882         src/compiler/glsl/link_uniform_blocks.cpp \
    883         src/compiler/glsl/link_uniform_initializers.cpp \
    884         src/compiler/glsl/link_uniforms.cpp \
    885         src/compiler/glsl/link_varyings.cpp \
    886         src/compiler/glsl/linker.cpp \
    887         src/compiler/glsl/linker_util.cpp \
    888         src/compiler/glsl/loop_analysis.cpp \
    889         src/compiler/glsl/loop_unroll.cpp \
    890         src/compiler/glsl/lower_blend_equation_advanced.cpp \
    891         src/compiler/glsl/lower_buffer_access.cpp \
    892         src/compiler/glsl/lower_builtins.cpp \
    893         src/compiler/glsl/lower_const_arrays_to_uniforms.cpp \
    894         src/compiler/glsl/lower_cs_derived.cpp \
    895         src/compiler/glsl/lower_discard.cpp \
    896         src/compiler/glsl/lower_discard_flow.cpp \
    897         src/compiler/glsl/lower_distance.cpp \
    898         src/compiler/glsl/lower_if_to_cond_assign.cpp \
    899         src/compiler/glsl/lower_instructions.cpp \
    900         src/compiler/glsl/lower_int64.cpp \
    901         src/compiler/glsl/lower_jumps.cpp \
    902         src/compiler/glsl/lower_mat_op_to_vec.cpp \
    903         src/compiler/glsl/lower_named_interface_blocks.cpp \
    904         src/compiler/glsl/lower_offset_array.cpp \
    905         src/compiler/glsl/lower_output_reads.cpp \
    906         src/compiler/glsl/lower_packed_varyings.cpp \
    907         src/compiler/glsl/lower_packing_builtins.cpp \
    908         src/compiler/glsl/lower_precision.cpp \
    909         src/compiler/glsl/lower_shared_reference.cpp \
    910         src/compiler/glsl/lower_subroutine.cpp \
    911         src/compiler/glsl/lower_tess_level.cpp \
    912         src/compiler/glsl/lower_ubo_reference.cpp \
    913         src/compiler/glsl/lower_variable_index_to_cond_assign.cpp \
    914         src/compiler/glsl/lower_vec_index_to_cond_assign.cpp \
    915         src/compiler/glsl/lower_vec_index_to_swizzle.cpp \
    916         src/compiler/glsl/lower_vector.cpp \
    917         src/compiler/glsl/lower_vector_derefs.cpp \
    918         src/compiler/glsl/lower_vector_insert.cpp \
    919         src/compiler/glsl/lower_vertex_id.cpp \
    920         src/compiler/glsl/lower_xfb_varying.cpp \
    921         src/compiler/glsl/opt_algebraic.cpp \
    922         src/compiler/glsl/opt_array_splitting.cpp \
    923         src/compiler/glsl/opt_conditional_discard.cpp \
    924         src/compiler/glsl/opt_constant_folding.cpp \
    925         src/compiler/glsl/opt_constant_propagation.cpp \
    926         src/compiler/glsl/opt_constant_variable.cpp \
    927         src/compiler/glsl/opt_copy_propagation_elements.cpp \
    928         src/compiler/glsl/opt_dead_builtin_variables.cpp \
    929         src/compiler/glsl/opt_dead_builtin_varyings.cpp \
    930         src/compiler/glsl/opt_dead_code.cpp \
    931         src/compiler/glsl/opt_dead_code_local.cpp \
    932         src/compiler/glsl/opt_dead_functions.cpp \
    933         src/compiler/glsl/opt_flatten_nested_if_blocks.cpp \
    934         src/compiler/glsl/opt_flip_matrices.cpp \
    935         src/compiler/glsl/opt_function_inlining.cpp \
    936         src/compiler/glsl/opt_if_simplification.cpp \
    937         src/compiler/glsl/opt_minmax.cpp \
    938         src/compiler/glsl/opt_rebalance_tree.cpp \
    939         src/compiler/glsl/opt_redundant_jumps.cpp \
    940         src/compiler/glsl/opt_structure_splitting.cpp \
    941         src/compiler/glsl/opt_swizzle.cpp \
    942         src/compiler/glsl/opt_tree_grafting.cpp \
    943         src/compiler/glsl/opt_vectorize.cpp \
    944         src/compiler/glsl/propagate_invariance.cpp \
    945         src/compiler/glsl/s_expression.cpp \
    946         src/compiler/glsl/serialize.cpp \
    947         src/compiler/glsl/shader_cache.cpp \
    948         src/compiler/glsl/string_to_uint_map.cpp \
    949         src/compiler/glsl/glcpp/pp.c
     521
    950522VBoxMesaLib_SOURCES += \
    951523        src/compiler/nir/nir.c \
     524        src/compiler/nir/nir_builder.c \
    952525        src/compiler/nir/nir_builtin_builder.c \
    953526        src/compiler/nir/nir_clone.c \
    954527        src/compiler/nir/nir_control_flow.c \
    955         src/compiler/nir/nir_convert_ycbcr.c \
    956528        src/compiler/nir/nir_deref.c \
    957529        src/compiler/nir/nir_divergence_analysis.c \
    958530        src/compiler/nir/nir_dominance.c \
    959531        src/compiler/nir/nir_from_ssa.c \
     532        src/compiler/nir/nir_functions.c \
    960533        src/compiler/nir/nir_gather_info.c \
    961         src/compiler/nir/nir_gather_ssa_types.c \
     534        src/compiler/nir/nir_gather_types.c \
    962535        src/compiler/nir/nir_gather_xfb_info.c \
     536        src/compiler/nir/nir_group_loads.c \
    963537        src/compiler/nir/nir_gs_count_vertices.c \
    964         src/compiler/nir/nir_inline_functions.c \
    965538        src/compiler/nir/nir_inline_uniforms.c \
    966539        src/compiler/nir/nir_instr_set.c \
     540        src/compiler/nir/nir_legacy.c \
    967541        src/compiler/nir/nir_linking_helpers.c \
    968542        src/compiler/nir/nir_liveness.c \
    969543        src/compiler/nir/nir_loop_analyze.c \
     544        src/compiler/nir/nir_lower_alu.c \
     545        src/compiler/nir/nir_lower_alu_width.c \
    970546        src/compiler/nir/nir_lower_alpha_test.c \
    971         src/compiler/nir/nir_lower_alu.c \
    972         src/compiler/nir/nir_lower_alu_to_scalar.c \
    973547        src/compiler/nir/nir_lower_amul.c \
    974548        src/compiler/nir/nir_lower_array_deref_of_vec.c \
    975549        src/compiler/nir/nir_lower_atomics_to_ssbo.c \
    976         src/compiler/nir/nir_lower_bit_size.c \
    977550        src/compiler/nir/nir_lower_bitmap.c \
    978551        src/compiler/nir/nir_lower_blend.c \
     
    980553        src/compiler/nir/nir_lower_bool_to_float.c \
    981554        src/compiler/nir/nir_lower_bool_to_int32.c \
     555        src/compiler/nir/nir_lower_cl_images.c \
    982556        src/compiler/nir/nir_lower_clamp_color_outputs.c \
    983557        src/compiler/nir/nir_lower_clip.c \
     
    985559        src/compiler/nir/nir_lower_clip_disable.c \
    986560        src/compiler/nir/nir_lower_clip_halfz.c \
     561        src/compiler/nir/nir_lower_const_arrays_to_uniforms.c \
     562        src/compiler/nir/nir_lower_continue_constructs.c \
    987563        src/compiler/nir/nir_lower_convert_alu_types.c \
     564        src/compiler/nir/nir_lower_variable_initializers.c \
     565        src/compiler/nir/nir_lower_discard_if.c \
    988566        src/compiler/nir/nir_lower_discard_or_demote.c \
    989567        src/compiler/nir/nir_lower_double_ops.c \
     
    993571        src/compiler/nir/nir_lower_flrp.c \
    994572        src/compiler/nir/nir_lower_fp16_conv.c \
     573        src/compiler/nir/nir_lower_fragcoord_wtrans.c \
     574        src/compiler/nir/nir_lower_frag_coord_to_pixel_coord.c \
    995575        src/compiler/nir/nir_lower_fragcolor.c \
    996         src/compiler/nir/nir_lower_fragcoord_wtrans.c \
    997576        src/compiler/nir/nir_lower_frexp.c \
    998577        src/compiler/nir/nir_lower_global_vars_to_local.c \
    999578        src/compiler/nir/nir_lower_goto_ifs.c \
    1000579        src/compiler/nir/nir_lower_gs_intrinsics.c \
     580        src/compiler/nir/nir_lower_helper_writes.c \
     581        src/compiler/nir/nir_lower_load_const_to_scalar.c \
     582        src/compiler/nir/nir_lower_locals_to_regs.c \
    1001583        src/compiler/nir/nir_lower_idiv.c \
    1002584        src/compiler/nir/nir_lower_image.c \
     585        src/compiler/nir/nir_lower_image_atomics_to_global.c \
    1003586        src/compiler/nir/nir_lower_indirect_derefs.c \
    1004587        src/compiler/nir/nir_lower_input_attachments.c \
    1005         src/compiler/nir/nir_lower_int_to_float.c \
    1006588        src/compiler/nir/nir_lower_int64.c \
    1007589        src/compiler/nir/nir_lower_interpolation.c \
     590        src/compiler/nir/nir_lower_int_to_float.c \
    1008591        src/compiler/nir/nir_lower_io.c \
    1009592        src/compiler/nir/nir_lower_io_arrays_to_elements.c \
     593        src/compiler/nir/nir_lower_io_to_temporaries.c \
    1010594        src/compiler/nir/nir_lower_io_to_scalar.c \
    1011         src/compiler/nir/nir_lower_io_to_temporaries.c \
    1012595        src/compiler/nir/nir_lower_io_to_vector.c \
    1013596        src/compiler/nir/nir_lower_is_helper_invocation.c \
    1014         src/compiler/nir/nir_lower_load_const_to_scalar.c \
    1015         src/compiler/nir/nir_lower_locals_to_regs.c \
     597        src/compiler/nir/nir_lower_multiview.c \
    1016598        src/compiler/nir/nir_lower_mediump.c \
     599        src/compiler/nir/nir_lower_mem_access_bit_sizes.c \
    1017600        src/compiler/nir/nir_lower_memcpy.c \
    1018601        src/compiler/nir/nir_lower_memory_model.c \
    1019         src/compiler/nir/nir_lower_multiview.c \
    1020602        src/compiler/nir/nir_lower_non_uniform_access.c \
    1021603        src/compiler/nir/nir_lower_packing.c \
     
    1026608        src/compiler/nir/nir_lower_point_size.c \
    1027609        src/compiler/nir/nir_lower_point_size_mov.c \
     610        src/compiler/nir/nir_lower_point_smooth.c \
     611        src/compiler/nir/nir_lower_poly_line_smooth.c \
    1028612        src/compiler/nir/nir_lower_printf.c \
     613        src/compiler/nir/nir_lower_reg_intrinsics_to_ssa.c \
    1029614        src/compiler/nir/nir_lower_readonly_images_to_tex.c \
    1030         src/compiler/nir/nir_lower_regs_to_ssa.c \
    1031615        src/compiler/nir/nir_lower_returns.c \
     616        src/compiler/nir/nir_lower_robust_access.c \
    1032617        src/compiler/nir/nir_lower_samplers.c \
    1033618        src/compiler/nir/nir_lower_scratch.c \
    1034619        src/compiler/nir/nir_lower_shader_calls.c \
     620        src/compiler/nir/nir_lower_single_sampled.c \
    1035621        src/compiler/nir/nir_lower_ssbo.c \
    1036622        src/compiler/nir/nir_lower_subgroups.c \
    1037623        src/compiler/nir/nir_lower_system_values.c \
    1038         src/compiler/nir/nir_lower_sysvals_to_varyings.c \
     624        src/compiler/nir/nir_lower_task_shader.c \
     625        src/compiler/nir/nir_lower_tess_coord_z.c \
     626        src/compiler/nir/nir_lower_tex_shadow.c \
    1039627        src/compiler/nir/nir_lower_tex.c \
    1040628        src/compiler/nir/nir_lower_texcoord_replace.c \
    1041         src/compiler/nir/nir_lower_to_source_mods.c \
     629        src/compiler/nir/nir_lower_texcoord_replace_late.c \
    1042630        src/compiler/nir/nir_lower_two_sided_color.c \
    1043         src/compiler/nir/nir_lower_ubo_vec4.c \
    1044631        src/compiler/nir/nir_lower_undef_to_zero.c \
    1045         src/compiler/nir/nir_lower_uniforms_to_ubo.c \
     632        src/compiler/nir/nir_lower_vars_to_ssa.c \
    1046633        src/compiler/nir/nir_lower_var_copies.c \
    1047         src/compiler/nir/nir_lower_variable_initializers.c \
    1048         src/compiler/nir/nir_lower_vars_to_ssa.c \
    1049         src/compiler/nir/nir_lower_vec_to_movs.c \
     634        src/compiler/nir/nir_lower_vec_to_regs.c \
    1050635        src/compiler/nir/nir_lower_vec3_to_vec4.c \
    1051636        src/compiler/nir/nir_lower_viewport_transform.c \
     
    1053638        src/compiler/nir/nir_lower_wpos_ytransform.c \
    1054639        src/compiler/nir/nir_lower_wrmasks.c \
     640        src/compiler/nir/nir_lower_bit_size.c \
     641        src/compiler/nir/nir_lower_ubo_vec4.c \
     642        src/compiler/nir/nir_lower_uniforms_to_ubo.c \
     643        src/compiler/nir/nir_lower_sysvals_to_varyings.c \
    1055644        src/compiler/nir/nir_metadata.c \
     645        src/compiler/nir/nir_mod_analysis.c \
    1056646        src/compiler/nir/nir_move_vec_src_uses_to_dest.c \
    1057647        src/compiler/nir/nir_normalize_cubemap_coords.c \
     
    1076666        src/compiler/nir/nir_opt_large_constants.c \
    1077667        src/compiler/nir/nir_opt_load_store_vectorize.c \
     668        src/compiler/nir/nir_opt_loop.c \
    1078669        src/compiler/nir/nir_opt_loop_unroll.c \
    1079670        src/compiler/nir/nir_opt_memcpy.c \
    1080671        src/compiler/nir/nir_opt_move.c \
    1081672        src/compiler/nir/nir_opt_move_discards_to_top.c \
     673        src/compiler/nir/nir_opt_non_uniform_access.c \
    1082674        src/compiler/nir/nir_opt_offsets.c \
    1083675        src/compiler/nir/nir_opt_peephole_select.c \
    1084676        src/compiler/nir/nir_opt_phi_precision.c \
     677        src/compiler/nir/nir_opt_preamble.c \
     678        src/compiler/nir/nir_opt_ray_queries.c \
     679        src/compiler/nir/nir_opt_reassociate_bfi.c \
    1085680        src/compiler/nir/nir_opt_rematerialize_compares.c \
    1086681        src/compiler/nir/nir_opt_remove_phis.c \
     682        src/compiler/nir/nir_opt_reuse_constants.c \
     683        src/compiler/nir/nir_opt_shrink_stores.c \
    1087684        src/compiler/nir/nir_opt_shrink_vectors.c \
    1088685        src/compiler/nir/nir_opt_sink.c \
    1089         src/compiler/nir/nir_opt_trivial_continues.c \
    1090686        src/compiler/nir/nir_opt_undef.c \
    1091687        src/compiler/nir/nir_opt_uniform_atomics.c \
    1092688        src/compiler/nir/nir_opt_vectorize.c \
     689        src/compiler/nir/nir_passthrough_gs.c \
     690        src/compiler/nir/nir_passthrough_tcs.c \
    1093691        src/compiler/nir/nir_phi_builder.c \
    1094692        src/compiler/nir/nir_print.c \
     
    1096694        src/compiler/nir/nir_range_analysis.c \
    1097695        src/compiler/nir/nir_remove_dead_variables.c \
     696        src/compiler/nir/nir_remove_tex_shadow.c \
    1098697        src/compiler/nir/nir_repair_ssa.c \
     698        src/compiler/nir/nir_scale_fdiv.c \
    1099699        src/compiler/nir/nir_schedule.c \
    1100700        src/compiler/nir/nir_search.c \
    1101701        src/compiler/nir/nir_serialize.c \
     702        src/compiler/nir/nir_split_64bit_vec3_and_vec4.c \
    1102703        src/compiler/nir/nir_split_per_member_structs.c \
    1103704        src/compiler/nir/nir_split_var_copies.c \
     
    1105706        src/compiler/nir/nir_sweep.c \
    1106707        src/compiler/nir/nir_to_lcssa.c \
     708        src/compiler/nir/nir_trivialize_registers.c \
    1107709        src/compiler/nir/nir_validate.c \
    1108710        src/compiler/nir/nir_worklist.c
     711
    1109712VBoxMesaLib_SOURCES += \
    1110713        src/compiler/spirv/gl_spirv.c \
    1111         src/compiler/spirv/nir_load_libclc.c \
    1112         src/compiler/spirv/nir_lower_libclc.c \
    1113714        src/compiler/spirv/spirv_to_nir.c \
    1114715        src/compiler/spirv/vtn_alu.c \
    1115716        src/compiler/spirv/vtn_amd.c \
    1116717        src/compiler/spirv/vtn_cfg.c \
     718        src/compiler/spirv/vtn_cmat.c \
    1117719        src/compiler/spirv/vtn_glsl450.c \
    1118720        src/compiler/spirv/vtn_opencl.c \
     721        src/compiler/spirv/vtn_structured_cfg.c \
    1119722        src/compiler/spirv/vtn_subgroup.c \
    1120723        src/compiler/spirv/vtn_variables.c
     724
    1121725VBoxMesaLib_SOURCES += \
    1122         src/mapi/glapi/glapi.c \
     726        src/compiler/glsl/ast_array_index.cpp \
     727        src/compiler/glsl/ast_expr.cpp \
     728        src/compiler/glsl/ast_function.cpp \
     729        src/compiler/glsl/ast_to_hir.cpp \
     730        src/compiler/glsl/ast_type.cpp \
     731        src/compiler/glsl/builtin_functions.cpp \
     732        src/compiler/glsl/builtin_types.cpp \
     733        src/compiler/glsl/builtin_variables.cpp \
     734        src/compiler/glsl/gl_nir_lower_atomics.c \
     735        src/compiler/glsl/gl_nir_lower_images.c \
     736        src/compiler/glsl/gl_nir_lower_blend_equation_advanced.c \
     737        src/compiler/glsl/gl_nir_lower_buffers.c \
     738        src/compiler/glsl/gl_nir_lower_named_interface_blocks.c \
     739        src/compiler/glsl/gl_nir_lower_packed_varyings.c \
     740        src/compiler/glsl/gl_nir_lower_samplers.c \
     741        src/compiler/glsl/gl_nir_lower_samplers_as_deref.c \
     742        src/compiler/glsl/gl_nir_lower_xfb_varying.c \
     743        src/compiler/glsl/gl_nir_link_atomics.c \
     744        src/compiler/glsl/gl_nir_link_uniform_blocks.c \
     745        src/compiler/glsl/gl_nir_link_uniform_initializers.c \
     746        src/compiler/glsl/gl_nir_link_uniforms.c \
     747        src/compiler/glsl/gl_nir_link_varyings.c \
     748        src/compiler/glsl/gl_nir_link_xfb.c \
     749        src/compiler/glsl/gl_nir_linker.c \
     750        src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c \
     751        src/compiler/glsl/glsl_parser_extras.cpp \
     752        src/compiler/glsl/glsl_symbol_table.cpp \
     753        src/compiler/glsl/glsl_to_nir.cpp \
     754        src/compiler/glsl/hir_field_selection.cpp \
     755        src/compiler/glsl/ir_array_refcount.cpp \
     756        src/compiler/glsl/ir_basic_block.cpp \
     757        src/compiler/glsl/ir_builder.cpp \
     758        src/compiler/glsl/ir_clone.cpp \
     759        src/compiler/glsl/ir_constant_expression.cpp \
     760        src/compiler/glsl/ir.cpp \
     761        src/compiler/glsl/ir_equals.cpp \
     762        src/compiler/glsl/ir_expression_flattening.cpp \
     763        src/compiler/glsl/ir_function_can_inline.cpp \
     764        src/compiler/glsl/ir_function_detect_recursion.cpp \
     765        src/compiler/glsl/ir_function.cpp \
     766        src/compiler/glsl/ir_hierarchical_visitor.cpp \
     767        src/compiler/glsl/ir_hv_accept.cpp \
     768        src/compiler/glsl/ir_print_visitor.cpp \
     769        src/compiler/glsl/ir_reader.cpp \
     770        src/compiler/glsl/ir_rvalue_visitor.cpp \
     771        src/compiler/glsl/ir_validate.cpp \
     772        src/compiler/glsl/ir_variable_refcount.cpp \
     773        src/compiler/glsl/linker.cpp \
     774        src/compiler/glsl/linker_util.cpp \
     775        src/compiler/glsl/link_functions.cpp \
     776        src/compiler/glsl/link_interface_blocks.cpp \
     777        src/compiler/glsl/lower_builtins.cpp \
     778        src/compiler/glsl/lower_discard_flow.cpp \
     779        src/compiler/glsl/lower_instructions.cpp \
     780        src/compiler/glsl/lower_jumps.cpp \
     781        src/compiler/glsl/lower_mat_op_to_vec.cpp \
     782        src/compiler/glsl/lower_packing_builtins.cpp \
     783        src/compiler/glsl/lower_precision.cpp \
     784        src/compiler/glsl/lower_subroutine.cpp \
     785        src/compiler/glsl/lower_vec_index_to_cond_assign.cpp \
     786        src/compiler/glsl/lower_vector_derefs.cpp \
     787        src/compiler/glsl/opt_algebraic.cpp \
     788        src/compiler/glsl/opt_dead_builtin_variables.cpp \
     789        src/compiler/glsl/opt_dead_code.cpp \
     790        src/compiler/glsl/opt_dead_code_local.cpp \
     791        src/compiler/glsl/opt_dead_functions.cpp \
     792        src/compiler/glsl/opt_flatten_nested_if_blocks.cpp \
     793        src/compiler/glsl/opt_flip_matrices.cpp \
     794        src/compiler/glsl/opt_function_inlining.cpp \
     795        src/compiler/glsl/opt_if_simplification.cpp \
     796        src/compiler/glsl/opt_minmax.cpp \
     797        src/compiler/glsl/opt_rebalance_tree.cpp \
     798        src/compiler/glsl/opt_tree_grafting.cpp \
     799        src/compiler/glsl/propagate_invariance.cpp \
     800        src/compiler/glsl/s_expression.cpp \
     801        src/compiler/glsl/string_to_uint_map.cpp \
     802        src/compiler/glsl/serialize.cpp \
     803        src/compiler/glsl/shader_cache.cpp \
     804        src/compiler/glsl/glcpp/pp.c
     805
     806VBoxMesaLib_SOURCES += \
     807        src/mapi/u_current.c \
    1123808        src/mapi/glapi/glapi_dispatch.c \
    1124809        src/mapi/glapi/glapi_entrypoint.c \
    1125810        src/mapi/glapi/glapi_getproc.c \
    1126811        src/mapi/glapi/glapi_nop.c \
    1127         src/mapi/u_current.c \
    1128         src/mapi/u_execmem.c
     812        src/mapi/glapi/glapi.c
     813
     814VBoxMesaLib_INCS = \
     815        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src \
     816        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen \
     817        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa \
     818        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/main \
     819        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler \
     820        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl \
     821        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir \
     822        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/spirv \
     823        src/compiler/glsl \
     824        src/compiler/glsl/glcpp \
     825        src/compiler/spirv
     826
     827VBoxMesaLib_DEPS = \
     828        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/ir_expression_operation.h \
     829        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/api_exec_decl.h \
     830        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/api_beginend_init.h \
     831        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/api_hw_select_init.h \
     832        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/api_save_init.h \
     833        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/api_save.h \
     834        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/glprocs.h \
     835        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/glapitemp.h \
     836        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/glapitable.h \
     837        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/get_hash.h \
     838        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/main/dispatch.h \
     839        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/main/format_info.h \
     840        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/marshal_generated.h \
     841        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/main/remap_helper.h \
     842        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/builtin_types.h \
     843        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/astc_glsl.h \
     844        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/bc1_glsl.h \
     845        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/bc4_glsl.h \
     846        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/etc2_rgba_stitch_glsl.h \
     847        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/cross_platform_settings_piece_all.h \
     848        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/float64_glsl.h \
     849        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/glsl_parser.h \
     850        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/ir_expression_operation_strings.h \
     851        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/ir_expression_operation_constant.h \
     852        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir/nir_builder_opcodes.h \
     853        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir/nir_opcodes.h \
     854        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir/nir_intrinsics.h \
     855        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir/nir_intrinsics_indices.h \
     856        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/spirv/vtn_generator_ids.h \
     857        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/program/program_parse.tab.h \
     858        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/glsl_parser.h \
     859        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/glcpp/glcpp-parse.h
     860
     861VBoxMesaLib_SOURCES += \
     862        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/builtin_types.c \
     863        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/api_exec_init.c \
     864        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/enums.c \
     865        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/unmarshal_table.c \
     866        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/marshal_generated0.c \
     867        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/marshal_generated1.c \
     868        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/marshal_generated2.c \
     869        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/marshal_generated3.c \
     870        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/marshal_generated4.c \
     871        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/marshal_generated5.c \
     872        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/marshal_generated6.c \
     873        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/marshal_generated7.c \
     874        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir/nir_opcodes.c \
     875        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir/nir_intrinsics.c \
     876        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir/nir_constant_expressions.c \
     877        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir/nir_opt_algebraic.c \
     878        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/main/format_fallback.c \
     879        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/spirv/vtn_gather_types.c \
     880        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/spirv/spirv_info.c \
     881        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/program/lex.yy.c \
     882        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/program/program_parse.tab.c \
     883        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/glsl_parser.cpp \
     884        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/glsl_lexer.cpp \
     885        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/glcpp/glcpp-parse.c \
     886        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/glcpp/glcpp-lex.c
     887
     888$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/:
     889        $(QUIET)$(MKDIR) -p $@
     890$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/:
     891        $(QUIET)$(MKDIR) -p $@
     892$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/glcpp/:
     893        $(QUIET)$(MKDIR) -p $@
     894$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir/:
     895        $(QUIET)$(MKDIR) -p $@
     896$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/spirv/:
     897        $(QUIET)$(MKDIR) -p $@
     898$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/:
     899        $(QUIET)$(MKDIR) -p $@
     900$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/:
     901        $(QUIET)$(MKDIR) -p $@
     902$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/main/:
     903        $(QUIET)$(MKDIR) -p $@
     904$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/program/:
     905        $(QUIET)$(MKDIR) -p $@
     906
     907$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/api_exec_init.c: \
     908                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/api_exec_init.py \
     909                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     910        $(call MSG_GENERATE,python,$@,$$@)
     911        $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
     912
     913$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/api_exec_decl.h: \
     914                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/api_exec_decl_h.py \
     915                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/apiexec.py \
     916                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     917        $(call MSG_GENERATE,python,$@,$$@)
     918        $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
     919
     920$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/api_beginend_init.h: \
     921                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/api_beginend_init_h.py \
     922                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/apiexec.py \
     923                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     924        $(call MSG_GENERATE,python,$@,$$@)
     925        $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
     926
     927$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/api_hw_select_init.h: \
     928                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/api_hw_select_init_h.py \
     929                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/apiexec.py \
     930                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_API.xml | $$(dir $$@)
     931        $(call MSG_GENERATE,python,$@,$$@)
     932        $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_API.xml >$@
     933
     934$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/api_save_init.h: \
     935                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/api_save_init_h.py \
     936                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/apiexec.py \
     937                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     938        $(call MSG_GENERATE,python,$@,$$@)
     939        $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
     940
     941$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/api_save.h: \
     942                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/api_save_h.py \
     943                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/apiexec.py \
     944                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     945        $(call MSG_GENERATE,python,$@,$$@)
     946        $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
     947
     948$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/glprocs.h: \
     949                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_procs.py \
     950                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/apiexec.py \
     951                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     952        $(call MSG_GENERATE,python,$@,$$@)
     953        $(QUIET)$(PYTHON_CMD) $< -c -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
     954
     955$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/glapitemp.h: \
     956                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_apitemp.py \
     957                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/apiexec.py \
     958                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     959        $(call MSG_GENERATE,python,$@,$$@)
     960        $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
     961
     962$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/glapitable.h: \
     963                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_table.py \
     964                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/apiexec.py \
     965                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     966        $(call MSG_GENERATE,python,$@,$$@)
     967        $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
     968
     969$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/enums.c: \
     970                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_enums.py \
     971                $(VBOX_PATH_MESA)/src/mapi/glapi/registry/gl.xml | $$(dir $$@)
     972        $(call MSG_GENERATE,python,$@,$$@)
     973        $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/registry/gl.xml >$@
     974
     975$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/main/dispatch.h: \
     976                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_table.py \
     977                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     978        $(call MSG_GENERATE,python,$@,$$@)
     979        $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml -m remap_table >$@
     980
     981$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/marshal_generated.h: \
     982                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_marshal_h.py \
     983                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/marshal_XML.py \
     984                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     985        $(call MSG_GENERATE,python,$@,$$@)
     986        $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
     987
     988$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/unmarshal_table.c: \
     989                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_unmarshal_table.py \
     990                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     991        $(call MSG_GENERATE,python,$@,$$@)
     992        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
     993
     994$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/marshal_generated0.c: \
     995                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_marshal.py \
     996                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     997        $(call MSG_GENERATE,python,$@,$$@)
     998        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml 0 8 >$@
     999
     1000$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/marshal_generated1.c: \
     1001                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_marshal.py \
     1002                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     1003        $(call MSG_GENERATE,python,$@,$$@)
     1004        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml 1 8 >$@
     1005
     1006$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/marshal_generated2.c: \
     1007                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_marshal.py \
     1008                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     1009        $(call MSG_GENERATE,python,$@,$$@)
     1010        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml 2 8 >$@
     1011
     1012$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/marshal_generated3.c: \
     1013                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_marshal.py \
     1014                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     1015        $(call MSG_GENERATE,python,$@,$$@)
     1016        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml 3 8 >$@
     1017
     1018$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/marshal_generated4.c: \
     1019                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_marshal.py \
     1020                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     1021        $(call MSG_GENERATE,python,$@,$$@)
     1022        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml 4 8 >$@
     1023
     1024$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/marshal_generated5.c: \
     1025                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_marshal.py \
     1026                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     1027        $(call MSG_GENERATE,python,$@,$$@)
     1028        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml 5 8 >$@
     1029
     1030$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/marshal_generated6.c: \
     1031                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_marshal.py \
     1032                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     1033        $(call MSG_GENERATE,python,$@,$$@)
     1034        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml 6 8 >$@
     1035
     1036$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mapi/glapi/gen/marshal_generated7.c: \
     1037                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_marshal.py \
     1038                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     1039        $(call MSG_GENERATE,python,$@,$$@)
     1040        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml 7 8 >$@
     1041
     1042$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/main/remap_helper.h: \
     1043                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/remap_helper.py \
     1044                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     1045        $(call MSG_GENERATE,python,$@,$$@)
     1046        $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
     1047
     1048$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/builtin_types.h: \
     1049                $(VBOX_PATH_MESA)/src/compiler/builtin_types_h.py | $$(dir $$@)
     1050        $(call MSG_GENERATE,python,$@,$$@)
     1051        $(QUIET)$(PYTHON_CMD) $< $@
     1052
     1053$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/builtin_types.c: \
     1054                $(VBOX_PATH_MESA)/src/compiler/builtin_types_c.py | $$(dir $$@)
     1055        $(call MSG_GENERATE,python,$@,$$@)
     1056        $(QUIET)$(PYTHON_CMD) $< $@
     1057
     1058$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/ir_expression_operation_constant.h: \
     1059                $(VBOX_PATH_MESA)/src/compiler/glsl/ir_expression_operation.py | $$(dir $$@)
     1060        $(call MSG_GENERATE,python,$@,$$@)
     1061        $(QUIET)$(PYTHON_CMD) $< constant >$@
     1062
     1063$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/ir_expression_operation_strings.h: \
     1064                $(VBOX_PATH_MESA)/src/compiler/glsl/ir_expression_operation.py | $$(dir $$@)
     1065        $(call MSG_GENERATE,python,$@,$$@)
     1066        $(QUIET)$(PYTHON_CMD) $< strings >$@
     1067
     1068$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/astc_glsl.h: \
     1069                $(VBOX_PATH_MESA)/src/util/xxd.py \
     1070                $(VBOX_PATH_MESA)/src/compiler/glsl/astc_decoder.glsl | $$(dir $$@)
     1071        $(call MSG_GENERATE,python,$@,$$@)
     1072        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/compiler/glsl/astc_decoder.glsl $@ -n astc_source
     1073
     1074$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/float64_glsl.h: \
     1075                $(VBOX_PATH_MESA)/src/util/xxd.py \
     1076                $(VBOX_PATH_MESA)/src/compiler/glsl/float64.glsl | $$(dir $$@)
     1077        $(call MSG_GENERATE,python,$@,$$@)
     1078        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/compiler/glsl/float64.glsl $@ -n float64_source
     1079
     1080$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/cross_platform_settings_piece_all.h: \
     1081                $(VBOX_PATH_MESA)/src/util/xxd.py \
     1082                $(VBOX_PATH_MESA)/src/compiler/glsl/CrossPlatformSettings_piece_all.glsl | $$(dir $$@)
     1083        $(call MSG_GENERATE,python,$@,$$@)
     1084        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/compiler/glsl/CrossPlatformSettings_piece_all.glsl $@ -n cross_platform_settings_piece_all_header
     1085
     1086$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/bc1_glsl.h: \
     1087                $(VBOX_PATH_MESA)/src/util/xxd.py \
     1088                $(VBOX_PATH_MESA)/src/compiler/glsl/bc1.glsl | $$(dir $$@)
     1089        $(call MSG_GENERATE,python,$@,$$@)
     1090        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/compiler/glsl/bc1.glsl $@ -n bc1_source
     1091
     1092$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/bc4_glsl.h: \
     1093                $(VBOX_PATH_MESA)/src/util/xxd.py \
     1094                $(VBOX_PATH_MESA)/src/compiler/glsl/bc4.glsl | $$(dir $$@)
     1095        $(call MSG_GENERATE,python,$@,$$@)
     1096        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/compiler/glsl/bc4.glsl $@ -n bc4_source
     1097
     1098$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/etc2_rgba_stitch_glsl.h: \
     1099                $(VBOX_PATH_MESA)/src/util/xxd.py \
     1100                $(VBOX_PATH_MESA)/src/compiler/glsl/etc2_rgba_stitch.glsl | $$(dir $$@)
     1101        $(call MSG_GENERATE,python,$@,$$@)
     1102        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/compiler/glsl/etc2_rgba_stitch.glsl $@ -n etc2_rgba_stitch_source
     1103
     1104$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir/nir_builder_opcodes.h: \
     1105                $(VBOX_PATH_MESA)/src/compiler/nir/nir_builder_opcodes_h.py \
     1106                $(VBOX_PATH_MESA)/src/compiler/nir/nir_opcodes.py \
     1107                $(VBOX_PATH_MESA)/src/compiler/nir/nir_intrinsics.py | $$(dir $$@)
     1108        $(call MSG_GENERATE,python,$@,$$@)
     1109        $(QUIET)$(PYTHON_CMD) $< >$@
     1110
     1111$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir/nir_constant_expressions.c: \
     1112                $(VBOX_PATH_MESA)/src/compiler/nir/nir_constant_expressions.py | $$(dir $$@)
     1113        $(call MSG_GENERATE,python,$@,$$@)
     1114        $(QUIET)$(PYTHON_CMD) $< >$@
     1115
     1116$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir/nir_opt_algebraic.c: \
     1117                $(VBOX_PATH_MESA)/src/compiler/nir/nir_opt_algebraic.py | $$(dir $$@)
     1118        $(call MSG_GENERATE,python,$@,$$@)
     1119        $(QUIET)$(PYTHON_CMD) $< >$@
     1120
     1121$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir/nir_opcodes.h: \
     1122                $(VBOX_PATH_MESA)/src/compiler/nir/nir_opcodes_h.py \
     1123                $(VBOX_PATH_MESA)/src/compiler/nir/nir_opcodes.py \
     1124                $(VBOX_PATH_MESA)/src/compiler/nir/nir_intrinsics.py | $$(dir $$@)
     1125        $(call MSG_GENERATE,python,$@,$$@)
     1126        $(QUIET)$(PYTHON_CMD) $< >$@
     1127
     1128$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir/nir_opcodes.c: \
     1129                $(VBOX_PATH_MESA)/src/compiler/nir/nir_opcodes_c.py \
     1130                $(VBOX_PATH_MESA)/src/compiler/nir/nir_opcodes.py \
     1131                $(VBOX_PATH_MESA)/src/compiler/nir/nir_intrinsics.py | $$(dir $$@)
     1132        $(call MSG_GENERATE,python,$@,$$@)
     1133        $(QUIET)$(PYTHON_CMD) $< >$@
     1134
     1135$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir/nir_intrinsics.h: \
     1136                $(VBOX_PATH_MESA)/src/compiler/nir/nir_intrinsics_h.py | $$(dir $$@)
     1137        $(call MSG_GENERATE,python,$@,$$@)
     1138        $(QUIET)$(PYTHON_CMD) $< --outdir $(dir $@)
     1139
     1140$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir/nir_intrinsics_indices.h: \
     1141                $(VBOX_PATH_MESA)/src/compiler/nir/nir_intrinsics_indices_h.py | $$(dir $$@)
     1142        $(call MSG_GENERATE,python,$@,$$@)
     1143        $(QUIET)$(PYTHON_CMD) $< --outdir $(dir $@)
     1144
     1145$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir/nir_intrinsics.c: \
     1146                $(VBOX_PATH_MESA)/src/compiler/nir/nir_intrinsics_c.py | $$(dir $$@)
     1147        $(call MSG_GENERATE,python,$@,$$@)
     1148        $(QUIET)$(PYTHON_CMD) $< --outdir $(dir $@)
     1149
     1150$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/main/format_fallback.c: \
     1151                $(VBOX_PATH_MESA)/src/mesa/main/format_fallback.py \
     1152                $(VBOX_PATH_MESA)/src/mesa/main/formats.csv | $$(dir $$@)
     1153        $(call MSG_GENERATE,python,$@,$$@)
     1154        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/mesa/main/formats.csv $@
     1155
     1156$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/main/format_info.h: \
     1157                $(VBOX_PATH_MESA)/src/mesa/main/format_info.py \
     1158                $(VBOX_PATH_MESA)/src/mesa/main/format_parser.py \
     1159                $(VBOX_PATH_MESA)/src/mesa/main/formats.csv | $$(dir $$@)
     1160        $(call MSG_GENERATE,python,$@,$$@)
     1161        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/mesa/main/formats.csv >$@
     1162
     1163$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/get_hash.h: \
     1164                $(VBOX_PATH_MESA)/src/mesa/main/get_hash_generator.py \
     1165                $(VBOX_PATH_MESA)/src/mesa/main/get_hash_params.py \
     1166                $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml | $$(dir $$@)
     1167        $(call MSG_GENERATE,python,$@,$$@)
     1168        $(QUIET)$(PYTHON_CMD) $< -f $(VBOX_PATH_MESA)/src/mapi/glapi/gen/gl_and_es_API.xml >$@
     1169
     1170$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/ir_expression_operation.h: \
     1171                $(VBOX_PATH_MESA)/src/compiler/glsl/ir_expression_operation.py | $$(dir $$@)
     1172        $(call MSG_GENERATE,python,$@,$$@)
     1173        $(QUIET)$(PYTHON_CMD) $< enum >$@
     1174
     1175$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/spirv/vtn_generator_ids.h: \
     1176                $(VBOX_PATH_MESA)/src/compiler/spirv/vtn_generator_ids_h.py \
     1177                $(VBOX_PATH_MESA)/src/compiler/spirv/spir-v.xml | $$(dir $$@)
     1178        $(call MSG_GENERATE,python,$@,$$@)
     1179        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/compiler/spirv/spir-v.xml $@
     1180
     1181$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/spirv/vtn_gather_types.c: \
     1182                $(VBOX_PATH_MESA)/src/compiler/spirv/vtn_gather_types_c.py \
     1183                $(VBOX_PATH_MESA)/src/compiler/spirv/spirv.core.grammar.json | $$(dir $$@)
     1184        $(call MSG_GENERATE,python,$@,$$@)
     1185        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/compiler/spirv/spirv.core.grammar.json $@
     1186
     1187$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/spirv/spirv_info.c: \
     1188                $(VBOX_PATH_MESA)/src/compiler/spirv/spirv_info_c.py \
     1189                $(VBOX_PATH_MESA)/src/compiler/spirv/spirv.core.grammar.json | $$(dir $$@)
     1190        $(call MSG_GENERATE,python,$@,$$@)
     1191        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/compiler/spirv/spirv.core.grammar.json $@
     1192
     1193$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/glsl_parser.cpp \
     1194$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/glsl_parser.h: \
     1195                $(VBOX_PATH_MESA)/src/compiler/glsl/glsl_parser.yy | $$(dir $$@)
     1196        $(call MSG_GENERATE,bison,$@,$$@)
     1197        $(QUIET)$(TOOL_BISON_YACC) -o $@ -p _mesa_glsl_ --defines=$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/glsl_parser.h $<
     1198
     1199$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/glsl_lexer.cpp: \
     1200                $(VBOX_PATH_MESA)/src/compiler/glsl/glsl_lexer.ll | $$(dir $$@)
     1201        $(call MSG_GENERATE,flex,$@,$$@)
     1202        $(QUIET)$(TOOL_FLEX_LEX) -o $@ $<
     1203
     1204$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/program/lex.yy.c: \
     1205                $(VBOX_PATH_MESA)/src/mesa/program/program_lexer.l | $$(dir $$@)
     1206        $(call MSG_GENERATE,flex,$@,$$@)
     1207        $(QUIET)$(TOOL_FLEX_LEX) -o $@ $<
     1208
     1209$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/program/program_parse.tab.c \
     1210$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/program/program_parse.tab.h: \
     1211                $(VBOX_PATH_MESA)/src/mesa/program/program_parse.y | $$(dir $$@)
     1212        $(call MSG_GENERATE,bison,$@,$$@)
     1213        $(QUIET)$(TOOL_BISON_YACC) -o $@ --defines=$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/mesa/program/program_parse.tab.h $<
     1214
     1215$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/glcpp/glcpp-parse.c \
     1216$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/glcpp/glcpp-parse.h: \
     1217                $(VBOX_PATH_MESA)/src/compiler/glsl/glcpp/glcpp-parse.y | $$(dir $$@)
     1218        $(call MSG_GENERATE,bison,$@,$$@)
     1219        $(QUIET)$(TOOL_BISON_YACC) -o $@ -p glcpp_parser_ --defines=$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/glcpp/glcpp-parse.h $<
     1220
     1221$$(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/glsl/glcpp/glcpp-lex.c: \
     1222                $(VBOX_PATH_MESA)/src/compiler/glsl/glcpp/glcpp-lex.l | $$(dir $$@)
     1223        $(call MSG_GENERATE,flex,$@,$$@)
     1224        $(QUIET)$(TOOL_FLEX_LEX) -o $@ $<
    11291225
    11301226# 32 bit lib for 64 bit build
     
    11371233#
    11381234VBoxMesaWglLib_TEMPLATE = VBoxMesa3DGuestR3Lib
    1139 VBoxMesaWglLib_INCS = \
    1140         src/gallium/frontends/wgl
    11411235VBoxMesaWglLib_SOURCES  = \
    11421236        src/gallium/frontends/wgl/stw_context.c \
     
    11441238        src/gallium/frontends/wgl/stw_ext_context.c \
    11451239        src/gallium/frontends/wgl/stw_ext_extensionsstring.c \
     1240        src/gallium/frontends/wgl/stw_ext_interop.c \
    11461241        src/gallium/frontends/wgl/stw_ext_pbuffer.c \
    11471242        src/gallium/frontends/wgl/stw_ext_pixelformat.c \
     
    11501245        src/gallium/frontends/wgl/stw_framebuffer.c \
    11511246        src/gallium/frontends/wgl/stw_getprocaddress.c \
     1247        src/gallium/frontends/wgl/stw_image.c \
    11521248        src/gallium/frontends/wgl/stw_nopfuncs.c \
    11531249        src/gallium/frontends/wgl/stw_pixelformat.c \
     
    11561252VBoxMesaWglLib_SOURCES  += \
    11571253        src/gallium/targets/libgl-gdi/stw_wgl.c
     1254VBoxMesaWglLib_INCS = \
     1255        src/gallium/frontends/wgl
    11581256
    11591257# 32 bit lib for 64 bit build
     
    11661264#
    11671265VBoxMesaGalliumAuxLib_TEMPLATE = VBoxMesa3DGuestR3Lib
    1168 VBoxMesaGalliumAuxLib_INCS = \
    1169         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir
    1170 VBoxMesaGalliumAuxLib_DEPS = \
    1171         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_builder_opcodes.h \
    1172         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_intrinsics.h \
    1173         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_intrinsics_indices.h \
    1174         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_opcodes.h
    1175 
    1176 # Auto-generated
    1177 VBoxMesaGalliumAuxLib_SOURCES = \
    1178         $(VBoxMesaGalliumAuxLib_0_OUTDIR)/src/gallium/auxiliary/indices/u_indices_gen.c \
    1179         $(VBoxMesaGalliumAuxLib_0_OUTDIR)/src/gallium/auxiliary/indices/u_unfilled_gen.c
    1180 
    1181 $$(VBoxMesaGalliumAuxLib_0_OUTDIR)/src/gallium/auxiliary/indices/u_indices_gen.c: \
    1182                 $(VBOX_PATH_MESA)/src/gallium/auxiliary/indices/u_indices_gen.py | $$(dir $$@)
    1183         $(call MSG_GENERATE,python,$@,$$@)
    1184         $(QUIET)$(PYTHON_CMD) $< >$@
    1185 
    1186 $$(VBoxMesaGalliumAuxLib_0_OUTDIR)/src/gallium/auxiliary/indices/u_unfilled_gen.c: \
    1187                 $(VBOX_PATH_MESA)/src/gallium/auxiliary/indices/u_unfilled_gen.py | $$(dir $$@)
    1188         $(call MSG_GENERATE,python,$@,$$@)
    1189         $(QUIET)$(PYTHON_CMD) $< >$@
    1190 
    1191 VBoxMesaGalliumAuxLib_SOURCES  += \
     1266
     1267VBoxMesaGalliumAuxLib_SOURCES  = \
    11921268        src/gallium/auxiliary/cso_cache/cso_cache.c \
    11931269        src/gallium/auxiliary/cso_cache/cso_context.c \
     
    11961272        src/gallium/auxiliary/draw/draw_fs.c \
    11971273        src/gallium/auxiliary/draw/draw_gs.c \
     1274        src/gallium/auxiliary/draw/draw_mesh.c \
     1275        src/gallium/auxiliary/draw/draw_mesh_prim.c \
    11981276        src/gallium/auxiliary/draw/draw_pipe_aaline.c \
    11991277        src/gallium/auxiliary/draw/draw_pipe_aapoint.c \
     
    12191297        src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c \
    12201298        src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c \
     1299        src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c \
    12211300        src/gallium/auxiliary/draw/draw_pt_post_vs.c \
    12221301        src/gallium/auxiliary/draw/draw_pt_so_emit.c \
     
    12331312        src/gallium/auxiliary/driver_noop/noop_pipe.c \
    12341313        src/gallium/auxiliary/driver_noop/noop_state.c \
    1235         src/gallium/auxiliary/driver_rbug/rbug_context.c \
    1236         src/gallium/auxiliary/driver_rbug/rbug_core.c \
    1237         src/gallium/auxiliary/driver_rbug/rbug_objects.c \
    1238         src/gallium/auxiliary/driver_rbug/rbug_screen.c \
    12391314        src/gallium/auxiliary/driver_trace/tr_context.c \
    12401315        src/gallium/auxiliary/driver_trace/tr_dump.c \
     
    12421317        src/gallium/auxiliary/driver_trace/tr_screen.c \
    12431318        src/gallium/auxiliary/driver_trace/tr_texture.c \
     1319        src/gallium/auxiliary/driver_trace/tr_video.c \
    12441320        src/gallium/auxiliary/hud/font.c \
    12451321        src/gallium/auxiliary/hud/hud_context.c \
     
    12521328        src/gallium/auxiliary/hud/hud_fps.c \
    12531329        src/gallium/auxiliary/indices/u_primconvert.c \
    1254         src/gallium/auxiliary/os/os_process.c \
    12551330        src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c \
    12561331        src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c \
     
    12671342        src/gallium/auxiliary/postprocess/pp_program.c \
    12681343        src/gallium/auxiliary/postprocess/pp_run.c \
    1269         src/gallium/auxiliary/rbug/rbug_connection.c \
    1270         src/gallium/auxiliary/rbug/rbug_context.c \
    1271         src/gallium/auxiliary/rbug/rbug_core.c \
    1272         src/gallium/auxiliary/rbug/rbug_demarshal.c \
    1273         src/gallium/auxiliary/rbug/rbug_shader.c \
    1274         src/gallium/auxiliary/rbug/rbug_texture.c \
    1275         src/gallium/auxiliary/rtasm/rtasm_cpu.c \
    12761344        src/gallium/auxiliary/rtasm/rtasm_execmem.c \
    12771345        src/gallium/auxiliary/rtasm/rtasm_x86sse.c \
     
    12811349        src/gallium/auxiliary/tgsi/tgsi_dynamic_indexing.c \
    12821350        src/gallium/auxiliary/tgsi/tgsi_exec.c \
    1283         src/gallium/auxiliary/tgsi/tgsi_emulate.c \
    12841351        src/gallium/auxiliary/tgsi/tgsi_from_mesa.c \
    12851352        src/gallium/auxiliary/tgsi/tgsi_info.c \
     
    13061373        src/gallium/auxiliary/util/u_cache.c \
    13071374        src/gallium/auxiliary/util/u_compute.c \
     1375        src/gallium/auxiliary/util/u_debug_describe.c \
    13081376        src/gallium/auxiliary/util/u_debug_flush.c \
    13091377        src/gallium/auxiliary/util/u_debug_image.c \
    1310         src/gallium/auxiliary/util/u_dl.c \
     1378        src/gallium/auxiliary/util/u_debug_refcnt.c \
    13111379        src/gallium/auxiliary/util/u_draw.c \
    13121380        src/gallium/auxiliary/util/u_draw_quad.c \
     
    13191387        src/gallium/auxiliary/util/u_helpers.c \
    13201388        src/gallium/auxiliary/util/u_index_modify.c \
    1321         src/gallium/auxiliary/util/u_linear.c \
    13221389        src/gallium/auxiliary/util/u_live_shader_cache.c \
    13231390        src/gallium/auxiliary/util/u_log.c \
    1324         src/gallium/auxiliary/util/u_network.c \
    13251391        src/gallium/auxiliary/util/u_prim.c \
    13261392        src/gallium/auxiliary/util/u_prim_restart.c \
    13271393        src/gallium/auxiliary/util/u_pstipple.c \
    13281394        src/gallium/auxiliary/util/u_resource.c \
     1395        src/gallium/auxiliary/util/u_sample_positions.c \
    13291396        src/gallium/auxiliary/util/u_sampler.c \
    13301397        src/gallium/auxiliary/util/u_screen.c \
     
    13391406        src/gallium/auxiliary/util/u_transfer_helper.c \
    13401407        src/gallium/auxiliary/util/u_threaded_context.c \
     1408        src/gallium/auxiliary/util/u_trace_gallium.c \
    13411409        src/gallium/auxiliary/util/u_upload_mgr.c \
    13421410        src/gallium/auxiliary/util/u_vbuf.c \
     
    13461414        src/gallium/auxiliary/nir/nir_draw_helpers.c
    13471415
     1416VBoxMesaGalliumAuxLib_INCS = \
     1417        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler \
     1418        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir \
     1419        $(VBoxMesaGalliumAuxLib_0_OUTDIR)/$(VBOX_MESA)/src/gallium/auxiliary \
     1420        $(VBoxMesaGalliumAuxLib_0_OUTDIR)/$(VBOX_MESA)/src/gallium/auxiliary/driver_trace \
     1421        src/gallium/auxiliary/util
     1422
     1423VBoxMesaGalliumAuxLib_DEPS = \
     1424        $(VBoxMesaGalliumAuxLib_0_OUTDIR)/$(VBOX_MESA)/src/gallium/auxiliary/driver_trace/tr_util.h \
     1425        $(VBoxMesaGalliumAuxLib_0_OUTDIR)/$(VBOX_MESA)/src/gallium/auxiliary/u_tracepoints.h
     1426
     1427VBoxMesaGalliumAuxLib_SOURCES += \
     1428        $(VBoxMesaGalliumAuxLib_0_OUTDIR)/$(VBOX_MESA)/src/gallium/auxiliary/driver_trace/tr_util.c \
     1429        $(VBoxMesaGalliumAuxLib_0_OUTDIR)/$(VBOX_MESA)/src/gallium/auxiliary/indices/u_indices_gen.c \
     1430        $(VBoxMesaGalliumAuxLib_0_OUTDIR)/$(VBOX_MESA)/src/gallium/auxiliary/indices/u_unfilled_gen.c
     1431
     1432$$(VBoxMesaGalliumAuxLib_0_OUTDIR)/$(VBOX_MESA)/src/gallium/auxiliary/driver_trace/:
     1433        $(QUIET)$(MKDIR) -p $@
     1434$$(VBoxMesaGalliumAuxLib_0_OUTDIR)/$(VBOX_MESA)/src/gallium/auxiliary/indices/:
     1435        $(QUIET)$(MKDIR) -p $@
     1436
     1437$$(VBoxMesaGalliumAuxLib_0_OUTDIR)/$(VBOX_MESA)/src/gallium/auxiliary/driver_trace/tr_util.h \
     1438$$(VBoxMesaGalliumAuxLib_0_OUTDIR)/$(VBOX_MESA)/src/gallium/auxiliary/driver_trace/tr_util.c : \
     1439                $(VBOX_PATH_MESA)/src/gallium/auxiliary/driver_trace/enums2names.py | $$(dir $$@)
     1440        $(call MSG_GENERATE,python,$@,$$@)
     1441        $(QUIET)$(PYTHON_CMD) $< $(VBOX_PATH_MESA)/src/gallium/include/pipe/p_defines.h \
     1442                $(VBOX_PATH_MESA)/src/gallium/include/pipe/p_video_enums.h \
     1443                $(VBOX_PATH_MESA)/src/util/blend.h \
     1444                -C $(VBoxMesaGalliumAuxLib_0_OUTDIR)/$(VBOX_MESA)/src/gallium/auxiliary/driver_trace/tr_util.c \
     1445                -H $(VBoxMesaGalliumAuxLib_0_OUTDIR)/$(VBOX_MESA)/src/gallium/auxiliary/driver_trace/tr_util.h \
     1446                -I $(VBoxMesaGalliumAuxLib_0_OUTDIR)/$(VBOX_MESA)/src/gallium/auxiliary/driver_trace/tr_util.h >$@
     1447
     1448$$(VBoxMesaGalliumAuxLib_0_OUTDIR)/$(VBOX_MESA)/src/gallium/auxiliary/u_tracepoints.h : \
     1449                $(VBOX_PATH_MESA)/src/gallium/auxiliary/util/u_tracepoints.py | $$(dir $$@)
     1450        $(call MSG_GENERATE,python,$@,$$@)
     1451        $(QUIET)$(PYTHON_CMD) $< \
     1452                -p $(VBOX_PATH_MESA)/src/util/perf/ \
     1453                -H $(VBoxMesaGalliumAuxLib_0_OUTDIR)/$(VBOX_MESA)/src/gallium/auxiliary/u_tracepoints.h
     1454
     1455$$(VBoxMesaGalliumAuxLib_0_OUTDIR)/$(VBOX_MESA)/src/gallium/auxiliary/indices/u_indices_gen.c: \
     1456                $(VBOX_PATH_MESA)/src/gallium/auxiliary/indices/u_indices_gen.py | $$(dir $$@)
     1457        $(call MSG_GENERATE,python,$@,$$@)
     1458        $(QUIET)$(PYTHON_CMD) $< $@
     1459
     1460$$(VBoxMesaGalliumAuxLib_0_OUTDIR)/$(VBOX_MESA)/src/gallium/auxiliary/indices/u_unfilled_gen.c: \
     1461                $(VBOX_PATH_MESA)/src/gallium/auxiliary/indices/u_unfilled_gen.py | $$(dir $$@)
     1462        $(call MSG_GENERATE,python,$@,$$@)
     1463        $(QUIET)$(PYTHON_CMD) $< $@
     1464
    13481465# 32 bit lib for 64 bit build
    13491466VBoxMesaGalliumAuxLib-x86_EXTENDS      = VBoxMesaGalliumAuxLib
     
    13551472#
    13561473VBoxMesaNineLib_TEMPLATE   = VBoxMesa3DGuestR3Lib
    1357 VBoxMesaNineLib_INCS       = \
    1358         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir \
    1359         include/D3D9
    1360 VBoxMesaNineLib_DEPS = \
    1361         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_builder_opcodes.h \
    1362         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_intrinsics.h \
    1363         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_intrinsics_indices.h \
    1364         $(VBoxMesaLib_0_OUTDIR)/src/compiler/nir/nir_opcodes.h
    1365 VBoxMesaNineLib_DEFS.win   = COBJMACROS INC_OLE2
    1366 # -wd4028: formal parameter 4 different from declaration
    1367 #    'nine_context_set_vertex_shader_constant_f' parameter is declared 'const unsigned pConstantData_size'
    1368 #    but autogenerated code produces 'unsigned pConstantData_size'.
    1369 VBoxMesaNineLib_CFLAGS.win = -wd4028
    13701474VBoxMesaNineLib_SOURCES    = \
    13711475        src/gallium/frontends/nine/adapter9.c \
     
    13841488        src/gallium/frontends/nine/nine_debug.c \
    13851489        src/gallium/frontends/nine/nine_dump.c \
     1490        src/gallium/frontends/nine/nineexoverlayextension.c \
    13861491        src/gallium/frontends/nine/nine_ff.c \
    13871492        src/gallium/frontends/nine/nine_helpers.c \
    13881493        src/gallium/frontends/nine/nine_lock.c \
    13891494        src/gallium/frontends/nine/nine_pipe.c \
     1495        src/gallium/frontends/nine/nine_quirk.c \
    13901496        src/gallium/frontends/nine/nine_queue.c \
    1391         src/gallium/frontends/nine/nine_quirk.c \
    13921497        src/gallium/frontends/nine/nine_shader.c \
    13931498        src/gallium/frontends/nine/nine_state.c \
    1394         src/gallium/frontends/nine/nineexoverlayextension.c \
    13951499        src/gallium/frontends/nine/pixelshader9.c \
    13961500        src/gallium/frontends/nine/query9.c \
     
    14071511        src/gallium/frontends/nine/volume9.c \
    14081512        src/gallium/frontends/nine/volumetexture9.c
     1513# This will be reimplemented for WDDM
     1514#       src/gallium/frontends/nine/nine_memory_helper.c
     1515
     1516VBoxMesaNineLib_INCS       = \
     1517        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler \
     1518        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir \
     1519        include/D3D9
     1520VBoxMesaNineLib_DEFS.win   = COBJMACROS INC_OLE2
     1521# -wd4028: formal parameter 4 different from declaration
     1522#    'nine_context_set_vertex_shader_constant_f' parameter is declared 'const unsigned pConstantData_size'
     1523#    but autogenerated code produces 'unsigned pConstantData_size'.
     1524VBoxMesaNineLib_CFLAGS.win = -wd4028
    14091525
    14101526# 32 bit lib for 64 bit build
     
    14171533#
    14181534VBoxMesaSVGALib_TEMPLATE = VBoxMesa3DGuestR3Lib
    1419 VBoxMesaSVGALib_INCS     = \
    1420         src/gallium/drivers/svga/include
     1535
    14211536VBoxMesaSVGALib_SOURCES  = \
    14221537        src/gallium/drivers/svga/svga_cmd.c \
    14231538        src/gallium/drivers/svga/svga_cmd_vgpu10.c \
    14241539        src/gallium/drivers/svga/svga_context.c \
     1540        src/gallium/drivers/svga/svga_draw_arrays.c \
    14251541        src/gallium/drivers/svga/svga_draw.c \
    1426         src/gallium/drivers/svga/svga_draw_arrays.c \
    14271542        src/gallium/drivers/svga/svga_draw_elements.c \
    14281543        src/gallium/drivers/svga/svga_format.c \
     1544        src/gallium/drivers/svga/svga_image_view.c \
    14291545        src/gallium/drivers/svga/svga_link.c \
    14301546        src/gallium/drivers/svga/svga_pipe_blend.c \
     
    14321548        src/gallium/drivers/svga/svga_pipe_clear.c \
    14331549        src/gallium/drivers/svga/svga_pipe_constants.c \
     1550        src/gallium/drivers/svga/svga_pipe_cs.c \
    14341551        src/gallium/drivers/svga/svga_pipe_depthstencil.c \
    14351552        src/gallium/drivers/svga/svga_pipe_draw.c \
     
    14371554        src/gallium/drivers/svga/svga_pipe_fs.c \
    14381555        src/gallium/drivers/svga/svga_pipe_gs.c \
     1556        src/gallium/drivers/svga/svga_pipe_ts.c \
    14391557        src/gallium/drivers/svga/svga_pipe_misc.c \
    14401558        src/gallium/drivers/svga/svga_pipe_query.c \
     
    14421560        src/gallium/drivers/svga/svga_pipe_sampler.c \
    14431561        src/gallium/drivers/svga/svga_pipe_streamout.c \
    1444         src/gallium/drivers/svga/svga_pipe_ts.c \
    14451562        src/gallium/drivers/svga/svga_pipe_vertex.c \
    14461563        src/gallium/drivers/svga/svga_pipe_vs.c \
    1447         src/gallium/drivers/svga/svga_resource.c \
    14481564        src/gallium/drivers/svga/svga_resource_buffer.c \
    14491565        src/gallium/drivers/svga/svga_resource_buffer_upload.c \
     1566        src/gallium/drivers/svga/svga_resource.c \
    14501567        src/gallium/drivers/svga/svga_resource_texture.c \
    14511568        src/gallium/drivers/svga/svga_sampler_view.c \
     
    14531570        src/gallium/drivers/svga/svga_screen_cache.c \
    14541571        src/gallium/drivers/svga/svga_shader.c \
     1572        src/gallium/drivers/svga/svga_shader_buffer.c \
    14551573        src/gallium/drivers/svga/svga_state.c \
    14561574        src/gallium/drivers/svga/svga_state_constants.c \
     1575        src/gallium/drivers/svga/svga_state_cs.c \
    14571576        src/gallium/drivers/svga/svga_state_framebuffer.c \
    14581577        src/gallium/drivers/svga/svga_state_fs.c \
    14591578        src/gallium/drivers/svga/svga_state_gs.c \
     1579        src/gallium/drivers/svga/svga_state_ts.c \
    14601580        src/gallium/drivers/svga/svga_state_need_swtnl.c \
    14611581        src/gallium/drivers/svga/svga_state_rss.c \
    14621582        src/gallium/drivers/svga/svga_state_sampler.c \
    14631583        src/gallium/drivers/svga/svga_state_tgsi_transform.c \
    1464         src/gallium/drivers/svga/svga_state_ts.c \
    14651584        src/gallium/drivers/svga/svga_state_tss.c \
     1585        src/gallium/drivers/svga/svga_state_uav.c \
    14661586        src/gallium/drivers/svga/svga_state_vdecl.c \
    14671587        src/gallium/drivers/svga/svga_state_vs.c \
     
    14751595        src/gallium/drivers/svga/svga_tgsi_vgpu10.c
    14761596
     1597VBoxMesaSVGALib_INCS     = \
     1598        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler \
     1599        $(VBoxMesaLib_0_OUTDIR)/$(VBOX_MESA)/src/compiler/nir \
     1600        src/gallium/drivers/svga/include
     1601
    14771602VBoxMesaSVGALib_SOURCES.debug  += \
    14781603        src/gallium/drivers/svga/svgadump/svga_dump.c \
     
    14891614#
    14901615VBoxMesaSVGAWinsysLib_TEMPLATE = VBoxMesa3DGuestR3Lib
    1491 VBoxMesaSVGAWinsysLib_INCS    += \
    1492         src/gallium/drivers/svga/include \
    1493         src/gallium/drivers/svga
    14941616VBoxMesaSVGAWinsysLib_SOURCES  = \
    14951617        src/gallium/winsys/svga/drm/pb_buffer_simple_fenced.c \
     
    14971619        src/gallium/winsys/svga/drm/vmw_context.c \
    14981620        src/gallium/winsys/svga/drm/vmw_fence.c \
    1499         src/gallium/winsys/svga/drm/vmw_query.c \
    15001621        src/gallium/winsys/svga/drm/vmw_screen_pools.c \
    15011622        src/gallium/winsys/svga/drm/vmw_screen_svga.c \
     1623        src/gallium/winsys/svga/drm/vmw_surface.c \
    15021624        src/gallium/winsys/svga/drm/vmw_shader.c \
    1503         src/gallium/winsys/svga/drm/vmw_surface.c
     1625        src/gallium/winsys/svga/drm/vmw_query.c
     1626
     1627VBoxMesaSVGAWinsysLib_INCS    += \
     1628        src/gallium/drivers/svga/include \
     1629        src/gallium/drivers/svga
    15041630
    15051631# These will be reimplemented for WDDM
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette