summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/frontends/lavapipe/lvp_query.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-02-24 01:57:18 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-02-24 01:57:18 +0000
commitb24b5b9049e889ee4eb39b565bcc8d48bd45ab48 (patch)
tree658ca4e6b41655f49463c85edbaeda48979c394c /lib/mesa/src/gallium/frontends/lavapipe/lvp_query.c
parent57768bbb154c2879d34ec20e401b19472e77aaf7 (diff)
Import Mesa 21.3.7
Diffstat (limited to 'lib/mesa/src/gallium/frontends/lavapipe/lvp_query.c')
-rw-r--r--lib/mesa/src/gallium/frontends/lavapipe/lvp_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/frontends/lavapipe/lvp_query.c b/lib/mesa/src/gallium/frontends/lavapipe/lvp_query.c
index b0bd1f2c8..9b37b7440 100644
--- a/lib/mesa/src/gallium/frontends/lavapipe/lvp_query.c
+++ b/lib/mesa/src/gallium/frontends/lavapipe/lvp_query.c
@@ -56,7 +56,7 @@ VKAPI_ATTR VkResult VKAPI_CALL lvp_CreateQueryPool(
pool_size, 8,
VK_SYSTEM_ALLOCATION_SCOPE_OBJECT);
if (!pool)
- return vk_error(device->instance, VK_ERROR_OUT_OF_HOST_MEMORY);
+ return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY);
vk_object_base_init(&device->vk, &pool->base,
VK_OBJECT_TYPE_QUERY_POOL);