summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_allocator.c
diff options
context:
space:
mode:
authorKristian Høgsberg Kristensen <[email protected]>2015-12-04 12:52:43 -0800
committerKristian Høgsberg Kristensen <[email protected]>2015-12-04 12:53:27 -0800
commitf1f78a371e194459699228253dd5dcb97347753b (patch)
tree248280f026ba70501d26a50b424ae9ee54f9b0ba /src/vulkan/anv_allocator.c
parent8f722c2fa3d651a73cb9de2d4578b09a1b686bd0 (diff)
vk: gem handles are uint32_t
No functional difference, but lets be consistent with the kernel API.
Diffstat (limited to 'src/vulkan/anv_allocator.c')
-rw-r--r--src/vulkan/anv_allocator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/anv_allocator.c b/src/vulkan/anv_allocator.c
index e8129c6d909..4cff84131aa 100644
--- a/src/vulkan/anv_allocator.c
+++ b/src/vulkan/anv_allocator.c
@@ -328,7 +328,7 @@ anv_block_pool_grow(struct anv_block_pool *pool, struct anv_block_state *state)
{
size_t size;
void *map;
- int gem_handle;
+ uint32_t gem_handle;
struct anv_mmap_cleanup *cleanup;
pthread_mutex_lock(&pool->device->mutex);