turnip: enable VK_KHR_performance_query with new debug flag
Signed-off-by: Hyunjun Ko <zzoon@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6808>
This commit is contained in:
parent
c921a6e98d
commit
3d90909837
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue