diff options
author | Samuel Pitoiset <[email protected]> | 2020-03-03 14:03:25 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2020-03-10 10:05:40 +0100 |
commit | b829fbb7f0fa55a7a44a27ae2d44f9c986b213b9 (patch) | |
tree | b707699c03f3990928b6bb2d8be9ef475c530873 /src/amd/vulkan/radv_cmd_buffer.c | |
parent | dcfc08f5b8a322cf015f7216fb0aeada117d53a4 (diff) |
radv/sqtt: describe draw/dispatch and emit event markers
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4031>
Diffstat (limited to 'src/amd/vulkan/radv_cmd_buffer.c')
-rw-r--r-- | src/amd/vulkan/radv_cmd_buffer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 096c06d3ed0..1735f66e1ee 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -4781,6 +4781,8 @@ radv_draw(struct radv_cmd_buffer *cmd_buffer, return; } + radv_describe_draw(cmd_buffer); + /* Use optimal packet order based on whether we need to sync the * pipeline. */ @@ -5156,6 +5158,8 @@ radv_dispatch(struct radv_cmd_buffer *cmd_buffer, bool pipeline_is_dirty = pipeline && pipeline != cmd_buffer->state.emitted_compute_pipeline; + radv_describe_dispatch(cmd_buffer, 8, 8, 8); + if (cmd_buffer->state.flush_bits & (RADV_CMD_FLAG_FLUSH_AND_INV_CB | RADV_CMD_FLAG_FLUSH_AND_INV_DB | RADV_CMD_FLAG_PS_PARTIAL_FLUSH | |