diff options
author | Samuel Pitoiset <[email protected]> | 2018-09-18 16:18:37 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-09-19 13:36:12 +0200 |
commit | 121f2264716b6e76f6391d58fe183e78d1fc6464 (patch) | |
tree | 651db14bcbdfdba3a1d78ac8820bd8a36edf6ecc /src/amd | |
parent | 35656823b986c741f2cec53c7085f1d77305a489 (diff) |
radv: use a 64-bit unsigned integer when allocating a descriptor pool
pool->size is a 64-bit unsigned integer too.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/radv_descriptor_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_descriptor_set.c b/src/amd/vulkan/radv_descriptor_set.c index c4341f6ac52..351cc1613ed 100644 --- a/src/amd/vulkan/radv_descriptor_set.c +++ b/src/amd/vulkan/radv_descriptor_set.c @@ -533,7 +533,7 @@ VkResult radv_CreateDescriptorPool( { RADV_FROM_HANDLE(radv_device, device, _device); struct radv_descriptor_pool *pool; - int size = sizeof(struct radv_descriptor_pool); + uint64_t size = sizeof(struct radv_descriptor_pool); uint64_t bo_size = 0, bo_count = 0, range_count = 0; |