From: Samuel Pitoiset Date: Wed, 26 Feb 2020 12:52:11 +0000 (+0100) Subject: radv/entrypoints: declare a driver internal layer for SQTT X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c88e4a272adaf94082b36b4b94ce0c475e5f779;p=mesa.git radv/entrypoints: declare a driver internal layer for SQTT Some Vulkan commands will be overriden to emit user SQTT markers. These markers are then used by the Radeon GPU Profiler to display timings, barrier operations (cache flushes, pipeline stalls, layout transitions) and more. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- diff --git a/src/amd/vulkan/radv_entrypoints_gen.py b/src/amd/vulkan/radv_entrypoints_gen.py index b964a379338..8b03b823e6c 100644 --- a/src/amd/vulkan/radv_entrypoints_gen.py +++ b/src/amd/vulkan/radv_entrypoints_gen.py @@ -38,10 +38,9 @@ from radv_extensions import * # function and a power-of-two size table. The prime numbers are determined # experimentally. -# We currently don't use layers in radv, but keeping the ability for anv -# anyways, so we can use it for device groups. LAYERS = [ - 'radv' + 'radv', + 'sqtt' ] TEMPLATE_H = Template("""\