mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
hasvk: enable perf warning logging in release builds
Enable perf warning in release builds for hasvk. Signed-off-by: Michael Cheng <michael.cheng@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40551>
This commit is contained in:
parent
ebe94d4903
commit
f002b34576
1 changed files with 3 additions and 2 deletions
|
|
@ -1595,8 +1595,6 @@ anv_physical_device_try_create(struct vk_instance *vk_instance,
|
|||
int fd;
|
||||
int master_fd = -1;
|
||||
|
||||
process_intel_debug_variable();
|
||||
|
||||
fd = open(path, O_RDWR | O_CLOEXEC);
|
||||
if (fd < 0) {
|
||||
if (errno == ENOMEM) {
|
||||
|
|
@ -1991,6 +1989,9 @@ VkResult anv_CreateInstance(
|
|||
|
||||
anv_init_dri_options(instance);
|
||||
|
||||
process_intel_debug_variable();
|
||||
instance->vk.enable_debug_logging = INTEL_DEBUG(DEBUG_PERF);
|
||||
|
||||
intel_driver_ds_init();
|
||||
|
||||
*pInstance = anv_instance_to_handle(instance);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue