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:
0afda06
)
anv: Allocate workaround buffer in local memory if present
author
Mark Janes
<mark.a.janes@intel.com>
Fri, 28 Aug 2020 20:01:53 +0000
(13:01 -0700)
committer
Marge Bot
<eric+marge@anholt.net>
Wed, 18 Aug 2021 13:55:13 +0000
(13:55 +0000)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12318>
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
52df97b
..
e31fa2f
100644
(file)
--- a/
src/intel/vulkan/anv_device.c
+++ b/
src/intel/vulkan/anv_device.c
@@
-3394,8
+3394,9
@@
VkResult anv_CreateDevice(
}
result = anv_device_alloc_bo(device, "workaround", 4096,
- ANV_BO_ALLOC_CAPTURE | ANV_BO_ALLOC_MAPPED |
- ANV_BO_ALLOC_LOCAL_MEM /* flags */,
+ ANV_BO_ALLOC_CAPTURE |
+ ANV_BO_ALLOC_MAPPED |
+ ANV_BO_ALLOC_LOCAL_MEM,
0 /* explicit_address */,
&device->workaround_bo);
if (result != VK_SUCCESS)