Zebediah Figura : wined3d: Do not print a d3d_perf warning in adapter_vk_alloc_bo() for unmapped BOs.
Alexandre Julliard
julliard at winehq.org
Thu Mar 10 16:10:15 CST 2022
Module: wine
Branch: master
Commit: 1eabd774223092af1a8e945c066dfc68fcf11581
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1eabd774223092af1a8e945c066dfc68fcf11581
Author: Zebediah Figura <zfigura at codeweavers.com>
Date: Wed Mar 9 18:46:06 2022 -0600
wined3d: Do not print a d3d_perf warning in adapter_vk_alloc_bo() for unmapped BOs.
BOs will always be unmapped here. This is a relic from an older form of the code
where mapping was done in wined3d_context_vk_create_bo().
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wined3d/adapter_vk.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/dlls/wined3d/adapter_vk.c b/dlls/wined3d/adapter_vk.c
index 088e1afa3bc..506c7167f31 100644
--- a/dlls/wined3d/adapter_vk.c
+++ b/dlls/wined3d/adapter_vk.c
@@ -21,7 +21,6 @@
#include "wine/vulkan_driver.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d);
-WINE_DECLARE_DEBUG_CHANNEL(d3d_perf);
static const struct wined3d_state_entry_template misc_state_template_vk[] =
{
@@ -1287,9 +1286,6 @@ static bool adapter_vk_alloc_bo(struct wined3d_device *device, struct wined3d_re
if (!bo_vk->b.map_ptr)
{
- WARN_(d3d_perf)("BO %p (chunk %p, slab %p) is not mapped.\n",
- bo_vk, bo_vk->memory ? bo_vk->memory->chunk : NULL, bo_vk->slab);
-
if (!wined3d_bo_vk_map(bo_vk, context_vk))
ERR("Failed to map bo.\n");
}
More information about the wine-cvs
mailing list