mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 16:28:08 +02:00
tegra/context: unwrap indirect_draw_count as well
Fixes: 22f6624ed3 "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>
This commit is contained in:
parent
a84c8ddb19
commit
12f1e42ed3
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue