projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80786a6
)
anv/device: Silence a 32-bit warning
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 10 Nov 2016 02:45:21 +0000
(18:45 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 17 Nov 2016 04:07:20 +0000
(20:07 -0800)
src/intel/vulkan/anv_device.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_device.c
b/src/intel/vulkan/anv_device.c
index 0999fcf63fe3283170d29d5dc3cc4ee364f2094f..ad7207db79380729f656534aaf065b3fef94b1f6 100644
(file)
--- a/
src/intel/vulkan/anv_device.c
+++ b/
src/intel/vulkan/anv_device.c
@@
-1086,7
+1086,8
@@
anv_device_execbuf(struct anv_device *device,
return vk_errorf(VK_ERROR_DEVICE_LOST, "execbuf2 failed: %m");
}
- struct drm_i915_gem_exec_object2 *objects = (void *)execbuf->buffers_ptr;
+ struct drm_i915_gem_exec_object2 *objects =
+ (void *)(uintptr_t)execbuf->buffers_ptr;
for (uint32_t k = 0; k < execbuf->buffer_count; k++)
execbuf_bos[k]->offset = objects[k].offset;