mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
parent
0fcce6c319
commit
ccdc5a7bd4
1 changed files with 4 additions and 0 deletions
|
|
@ -30,6 +30,8 @@
|
|||
#include <unistd.h>
|
||||
#include <xf86drm.h>
|
||||
|
||||
#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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue