projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ac3dde
)
anv: Make anv_state.offset an int32_t
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 21 Sep 2015 23:59:21 +0000
(16:59 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 28 Sep 2015 23:01:01 +0000
(16:01 -0700)
Binding tables will have a negative offset and we need a way to express
that. Besides, the chances of a state offset being larger than 2 GB is so
remote it's not worth thinking about.
src/vulkan/anv_private.h
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_private.h
b/src/vulkan/anv_private.h
index 9913542495673ff2bdfc82b18a9bf620bb3eff55..8839e875656e0bfe47629808e98665f47f31481f 100644
(file)
--- a/
src/vulkan/anv_private.h
+++ b/
src/vulkan/anv_private.h
@@
-310,7
+310,7
@@
anv_block_pool_size(struct anv_block_pool *pool)
}
struct anv_state {
-
u
int32_t offset;
+ int32_t offset;
uint32_t alloc_size;
void *map;
};