anv: Nuke perf_query_pass from anv_execbuf

It is set but not read.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29421>
This commit is contained in:
José Roberto de Souza
2024-05-16 09:15:56 -07:00
committed by Marge Bot
parent 0442803eee
commit 3d2c3dc62b
-3
View File
@@ -50,8 +50,6 @@ struct anv_execbuf {
const VkAllocationCallbacks * alloc;
VkSystemAllocationScope alloc_scope;
int perf_query_pass;
};
static void
@@ -796,7 +794,6 @@ i915_queue_exec_locked(struct anv_queue *queue,
struct anv_execbuf execbuf = {
.alloc = &queue->device->vk.alloc,
.alloc_scope = VK_SYSTEM_ALLOCATION_SCOPE_DEVICE,
.perf_query_pass = perf_query_pass,
};
VkResult result;