Commit 3d909098 authored by Hyunjun Ko's avatar Hyunjun Ko Committed by Marge Bot

turnip: enable VK_KHR_performance_query with new debug flag

Signed-off-by: Hyunjun Ko's avatarHyunjun Ko <zzoon@igalia.com>
Part-of: <!6808>
parent c921a6e9
......@@ -186,6 +186,7 @@ static const struct debug_control tu_debug_options[] = {
{ "noubwc", TU_DEBUG_NOUBWC },
{ "nomultipos", TU_DEBUG_NOMULTIPOS },
{ "nolrz", TU_DEBUG_NOLRZ },
{ "perfc", TU_DEBUG_PERFC },
{ NULL, 0 }
};
......
......@@ -101,7 +101,7 @@ EXTENSIONS = [
Extension('VK_KHR_incremental_present', 1, 'TU_HAS_SURFACE'),
Extension('VK_KHR_image_format_list', 1, True),
Extension('VK_KHR_depth_stencil_resolve', 1, True),
Extension('VK_KHR_performance_query', 1, False),
Extension('VK_KHR_performance_query', 1, 'device->instance->debug_flags & TU_DEBUG_PERFC'),
]
MAX_API_VERSION = VkVersion(MAX_API_VERSION)
......
......@@ -225,6 +225,7 @@ enum tu_debug_flags
TU_DEBUG_NOUBWC = 1 << 6,
TU_DEBUG_NOMULTIPOS = 1 << 7,
TU_DEBUG_NOLRZ = 1 << 8,
TU_DEBUG_PERFC = 1 << 9,
};
struct tu_instance
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment