summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-11-01 07:21:00 -0700
committerEmil Velikov <emil.l.velikov@gmail.com>2016-11-09 23:26:39 +0000
commitceefe979c6b8c37d7166da5beefc9334fdabaa43 (patch)
tree6aa5701074d92161c7e6fbb83a894aeb0048c757 /src/intel/vulkan/anv_private.h
parent9eca84e052b9c5080c54b083fc637428b53338ec (diff)
downloadexternal_mesa3d-ceefe979c6b8c37d7166da5beefc9334fdabaa43.zip
external_mesa3d-ceefe979c6b8c37d7166da5beefc9334fdabaa43.tar.gz
external_mesa3d-ceefe979c6b8c37d7166da5beefc9334fdabaa43.tar.bz2
anv: Don't presume to know what address is in a surface relocation
Because our relocation processing happens at EndCommandBuffer time and because RENDER_SURFACE_STATE objects may be shared by batches, we really have no clue whatsoever what address is actually written to the relocation offset in the BO. We need to stop making such claims to the kernel and just let it relocate for us. Signed-off-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Cc: "13.0" <mesa-stable@lists.freedesktop.org> (cherry picked from commit ba1eea4f957ca068eceea121bc3a70e2fe07873d)
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 09345c8..3b17171 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -1173,8 +1173,6 @@ struct anv_cmd_buffer {
/* Allocated length of the 'objects' and 'bos' arrays */
uint32_t array_length;
-
- bool need_reloc;
} execbuf2;
/* Serial for tracking buffer completion */