anv/measure: Fix INTEL_MEASURE for ANV

INTEL_MEASURE broke while implementing the common sync and submit
framework. Re-adding missing INTEL_MEASURE entry point for
command buffer submit.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14998>
This commit is contained in:
Felix DeGrood 2022-01-24 16:25:12 +00:00 committed by Marge Bot
parent aa2652958a
commit 6e939ca865

View file

@ -1751,6 +1751,7 @@ setup_execbuf_for_cmd_buffers(struct anv_execbuf *execbuf,
chain_command_buffers(cmd_buffers, num_cmd_buffers);
for (uint32_t i = 0; i < num_cmd_buffers; i++) {
anv_measure_submit(cmd_buffers[i]);
result = setup_execbuf_for_cmd_buffer(execbuf, cmd_buffers[i]);
if (result != VK_SUCCESS)
return result;