From: Alejandro PiƱeiro Date: Tue, 3 Dec 2019 09:54:52 +0000 (+0100) Subject: v3dv/debug: plug v3d_debug X-Git-Tag: upstream/21.0.0~4284 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ccdc5a7bd4c305a95e93547679b1ed4f182177bb;p=platform%2Fupstream%2Fmesa.git v3dv/debug: plug v3d_debug Right now there is not a big reason/difference to implement the utilities present at v3d_debug for the vulkan driver, so lets just reuse it. The other advantage is that is the debug utilities used by common parts of the driver, like broadcom/compiler Part-of: --- diff --git a/src/broadcom/vulkan/v3dv_device.c b/src/broadcom/vulkan/v3dv_device.c index 63e35c4..34d259c 100644 --- a/src/broadcom/vulkan/v3dv_device.c +++ b/src/broadcom/vulkan/v3dv_device.c @@ -30,6 +30,8 @@ #include #include +#include "common/v3d_debug.h" + #include "v3dv_private.h" #include "vk_util.h" @@ -124,6 +126,8 @@ v3dv_CreateInstance(const VkInstanceCreateInfo *pCreateInfo, else instance->alloc = default_alloc; + v3d_process_debug_variable(); + instance->app_info = (struct v3dv_app_info) { .api_version = 0 }; if (pCreateInfo->pApplicationInfo) { const VkApplicationInfo *app = pCreateInfo->pApplicationInfo;