projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85520aa
)
anv: Document the index and offset parameters of anv_bo
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 15 Sep 2015 22:59:23 +0000
(15:59 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 18 Sep 2015 00:44:20 +0000
(17:44 -0700)
src/vulkan/anv_private.h
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_private.h
b/src/vulkan/anv_private.h
index 9115393ad4b0c41f65d354f93d80c9d2995ee1a2..5e4fa35e208b548104c536e605f8919017a76418 100644
(file)
--- a/
src/vulkan/anv_private.h
+++ b/
src/vulkan/anv_private.h
@@
-206,8
+206,19
@@
anv_vector_finish(struct anv_vector *queue)
struct anv_bo {
int gem_handle;
+
+ /* Index into the current validation list. This is used by the
+ * validation list building alrogithm to track which buffers are already
+ * in the validation list so that we can ensure uniqueness.
+ */
uint32_t index;
+
+ /* Last known offset. This value is provided by the kernel when we
+ * execbuf and is used as the presumed offset for the next bunch of
+ * relocations.
+ */
uint64_t offset;
+
uint64_t size;
void *map;
};