diff options
author | Samuel Pitoiset <[email protected]> | 2020-02-26 13:52:11 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2020-03-10 09:57:49 +0100 |
commit | 9c88e4a272adaf94082b36b4b94ce0c475e5f779 (patch) | |
tree | 6c4425b4420950bfb4638ae50d6589030b0546bd | |
parent | a64599a303ee8ded4bd6b3cef1f720bb7c308127 (diff) |
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 <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4031>
-rw-r--r-- | src/amd/vulkan/radv_entrypoints_gen.py | 5 |
1 files changed, 2 insertions, 3 deletions
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("""\ |