mesa/src
Boris Brezillon 6d44b21d4f vulkan: Fix weak symbol emulation when compiling with MSVC
Mapping unimplemented entrypoints to a global function pointer variable
initialized to NULL is a bit cumbersome, and actually led to a bug
in the vk_xxx_dispatch_table_from_entrypoints() template: the !override
case didn't have the right check on the source table entries. Instead of
fixing that case, let's simplify the logic by creating a stub function
and making the alternatename pragma point to this stub. This way we get
rid of all those uneeded xxx_Null symbols/variables and simplify the
tests in vk_xxxx_dispatch_table_from_entrypoints().

Cc: mesa-stable
Fixes: 98c622a96e ("vulkan: Update dispatch table gen for Windows")
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13348>
2021-10-14 09:09:23 +02:00
..
amd radv: move alpha_adjust into conditional during vertex input updating 2021-10-13 17:03:26 +00:00
android_stub android_stub: update platform headers to include atrace 2021-10-09 00:42:32 +00:00
asahi nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
broadcom v3d/clif: add support for dumping GS shader state 2021-10-13 21:23:10 +00:00
compiler nir/loop_unroll: Always unroll loops that iterate at most once 2021-10-13 20:11:13 -07:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl egl/dri: Enable FP16 for EGL_EXT_platform_device 2021-10-13 16:36:27 +00:00
etnaviv etnaviv: move drm version readout to drm layer 2021-10-01 10:13:32 +00:00
freedreno turnip: enable strictLines 2021-10-13 12:18:01 +00:00
gallium iris: Enable tessellation redistribution 2021-10-13 22:36:54 +00:00
gbm gbm: assume USE_SCANOUT in create_with_modifiers 2021-10-01 00:02:36 +02:00
getopt
glx gallium: add PIPE_CAP_PREFER_BACK_BUFFER_REUSE 2021-09-29 08:14:57 +00:00
gtest
hgl
imgui
intel brw/nir: remove unused function prototypes. 2021-10-13 22:52:59 +00:00
loader loader/dri3: fix swap out of order when changing swap interval 2021-09-30 03:27:14 +00:00
mapi mesa: GL_ARB_ES3_2_compatibility GL compat profile support 2021-09-23 11:10:23 +00:00
mesa dri: Remove the allow_fp16_configs option, always allow them 2021-10-13 16:36:27 +00:00
microsoft microsoft/spirv_to_dxil: use dxil_nir_lower_bool_input pass 2021-10-08 17:21:33 +00:00
nouveau
panfrost panvk: Use the common WSI wrappers 2021-10-13 00:06:15 +00:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util dri: Remove the allow_fp16_configs option, always allow them 2021-10-13 16:36:27 +00:00
virtio venus: Use the common WSI wrappers 2021-10-13 00:06:15 +00:00
vulkan vulkan: Fix weak symbol emulation when compiling with MSVC 2021-10-14 09:09:23 +02:00
meson.build radv: Allow building when LLVM isn’t enabled 2021-10-01 10:40:18 +02:00