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 <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4031>
This commit is contained in:
Samuel Pitoiset 2020-02-26 13:52:11 +01:00
parent a64599a303
commit 9c88e4a272

View file

@ -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("""\