ARM-software / vulkan-sdk

Github repository for the Vulkan SDK
Other
228 stars 49 forks source link

the issue of imageMemoryBarrier that is in multithreading.cpp #11

Closed flowerdancedatou closed 6 years ago

flowerdancedatou commented 6 years ago

In multithreading.cpp. The the method of "createTextureFromAsset" .

imageMemoryBarrier(cmd, image, 0, VK_ACCESS_TRANSFER_WRITE_BIT, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL);

the srcstage is VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, the dststage is VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT it seem like this is a bug.

ryanoshea-arm commented 6 years ago

Thanks for reporting this, it has been fixed in pull request #10 so we'll get that merged to solve this.

ryanoshea-arm commented 6 years ago

The pull request has been merged and this should now be solved. Thanks again.