projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8e2d22
)
anv: silence fedora build warning
author
Lionel Landwerlin
<lionel.g.landwerlin@intel.com>
Fri, 2 Sep 2022 08:53:12 +0000
(11:53 +0300)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 2 Sep 2022 09:40:46 +0000
(09:40 +0000)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18208>
src/intel/vulkan/anv_allocator.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_allocator.c
b/src/intel/vulkan/anv_allocator.c
index
ce64811
..
823f6c8
100644
(file)
--- a/
src/intel/vulkan/anv_allocator.c
+++ b/
src/intel/vulkan/anv_allocator.c
@@
-1102,7
+1102,7
@@
anv_state_pool_alloc_no_vg(struct anv_state_pool *pool,
pool->block_size,
&padding);
/* Every time we allocate a new state, add it to the state pool */
- uint32_t idx;
+ uint32_t idx
= 0
;
UNUSED VkResult result = anv_state_table_add(&pool->table, &idx, 1);
assert(result == VK_SUCCESS);