6eeb7baa3a
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/mesa.git#de16407125050cdc8ea73121a05d129676a2d5f9
29 lines
1.2 KiB
Diff
29 lines
1.2 KiB
Diff
From 12f1e42ed34e9807484bdfbec535bc56950e2338 Mon Sep 17 00:00:00 2001
|
|
From: Karol Herbst <kherbst@redhat.com>
|
|
Date: Fri, 5 Mar 2021 10:46:48 +0100
|
|
Subject: [PATCH 2/2] tegra/context: unwrap indirect_draw_count as well
|
|
|
|
Fixes: 22f6624ed318 "gallium: separate indirect stuff from pipe_draw_info - 80 -> 56 bytes"
|
|
Signed-off-by: Karol Herbst <kherbst@redhat.com>
|
|
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
|
|
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9425>
|
|
---
|
|
src/gallium/drivers/tegra/tegra_context.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/gallium/drivers/tegra/tegra_context.c b/src/gallium/drivers/tegra/tegra_context.c
|
|
index 97b45ed1627..10b04f969ad 100644
|
|
--- a/src/gallium/drivers/tegra/tegra_context.c
|
|
+++ b/src/gallium/drivers/tegra/tegra_context.c
|
|
@@ -75,6 +75,7 @@ tegra_draw_vbo(struct pipe_context *pcontext,
|
|
if (pindirect && pindirect->buffer) {
|
|
memcpy(&indirect, pindirect, sizeof(indirect));
|
|
indirect.buffer = tegra_resource_unwrap(pindirect->buffer);
|
|
+ indirect.indirect_draw_count = tegra_resource_unwrap(pindirect->indirect_draw_count);
|
|
pindirect = &indirect;
|
|
}
|
|
|
|
--
|
|
2.30.1
|
|
|