commit | b63e28c0e1275761f7effe4b0a8202735ff72291 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com> | Wed Feb 17 11:19:56 2016 -0800 |
committer | Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com> | Wed Feb 17 11:19:56 2016 -0800 |
tree | bc17c4f152e3287be3a1e95f8c9cf67336897f52 | |
parent | 5caa995c32a5383bc530395a160bc94ef6ad8784 [diff] [blame] |
anv: Set correct write domain on window system BOs We need to make sure GEM understands that we're writing to the BO, in case it needs to synchronize with other rings (blitter use in display server, for example).
diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index dfc29e4..c3a370b 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c
@@ -1070,6 +1070,7 @@ bo->index = 0; bo->offset = 0; bo->size = size; + bo->is_winsys_bo = false; return VK_SUCCESS; }