[Mesa-dev] [PATCH 2/2] anv/dump: Fix post-blit memory barrier

Jason Ekstrand jason at jlekstrand.net
Mon Jul 11 18:04:43 UTC 2016


On Thu, Jul 7, 2016 at 8:12 PM, Jason Ekstrand <jason at jlekstrand.net> wrote:

> Drp...
>
> Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
>
I added my R-B to your two and pushed the lot of them.  Thanks for the
fixups!


> On Jul 7, 2016 4:06 PM, "Chad Versace" <chad.versace at intel.com> wrote:
>
>> Swap srcAccessMask and dstAccessMask.
>> ---
>>  src/intel/vulkan/anv_dump.c | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/src/intel/vulkan/anv_dump.c b/src/intel/vulkan/anv_dump.c
>> index 49a5ae2..4a5a44f 100644
>> --- a/src/intel/vulkan/anv_dump.c
>> +++ b/src/intel/vulkan/anv_dump.c
>> @@ -158,8 +158,8 @@ dump_image_do_blit(struct anv_device *device, struct
>> dump_image *image,
>>        0, 0, NULL, 0, NULL, 1,
>>        &(VkImageMemoryBarrier) {
>>           .sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER,
>> -         .srcAccessMask = VK_ACCESS_HOST_READ_BIT,
>> -         .dstAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT,
>> +         .srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT,
>> +         .dstAccessMask = VK_ACCESS_HOST_READ_BIT,
>>           .oldLayout = VK_IMAGE_LAYOUT_GENERAL,
>>           .newLayout = VK_IMAGE_LAYOUT_GENERAL,
>>           .srcQueueFamilyIndex = 0,
>> --
>> 2.9.0.rc2
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160711/62d40aca/attachment.html>


More information about the mesa-dev mailing list