Home
last modified time | relevance | path

Searched refs:img_barrier (Results 1 – 4 of 4) sorted by relevance

/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp4271 VkImageMemoryBarrier img_barrier = {}; in TEST_F() local
4272 img_barrier.sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; in TEST_F()
4273 img_barrier.pNext = nullptr; in TEST_F()
4274 img_barrier.srcAccessMask = 0; in TEST_F()
4275 img_barrier.dstAccessMask = 0; in TEST_F()
4276 img_barrier.oldLayout = VK_IMAGE_LAYOUT_GENERAL; in TEST_F()
4277 img_barrier.newLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; in TEST_F()
4278 img_barrier.image = img_general.handle(); in TEST_F()
4279 img_barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in TEST_F()
4280 img_barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in TEST_F()
[all …]
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp681 …ValidateBarrierLayoutToImageUsage(layer_data *device_data, const VkImageMemoryBarrier *img_barrier, in ValidateBarrierLayoutToImageUsage() argument
684 const VkImageLayout layout = (new_not_old) ? img_barrier->newLayout : img_barrier->oldLayout; in ValidateBarrierLayoutToImageUsage()
730 HandleToUint64(img_barrier->image), msg_code, in ValidateBarrierLayoutToImageUsage()
732 …static_cast<const void *>(img_barrier), ((new_not_old) ? "new" : "old"), string_VkImageLayout(layo… in ValidateBarrierLayoutToImageUsage()
733 report_data->FormatHandle(img_barrier->image).c_str(), usage_flags); in ValidateBarrierLayoutToImageUsage()
758 auto img_barrier = &pImageMemoryBarriers[i]; in ValidateBarriersToImages() local
759 if (!img_barrier) continue; in ValidateBarriersToImages()
764 if (img_barrier->oldLayout != img_barrier->newLayout) { in ValidateBarriersToImages()
765 ImageBarrierScoreboardEntry new_entry{i, img_barrier}; in ValidateBarriersToImages()
766 auto image_it = layout_transitions.find(img_barrier->image); in ValidateBarriersToImages()
[all …]
Dcore_validation.cpp7686 const VkImageMemoryBarrier &img_barrier) { in ValidateImageBarrierImage() argument
7690 const auto img_bar_image = img_barrier.image; in ValidateImageBarrierImage()
7746 if (img_barrier.oldLayout != img_barrier.newLayout) { in ValidateImageBarrierImage()
7751 funcName, device_data->report_data->FormatHandle(img_barrier.image).c_str(), in ValidateImageBarrierImage()
7752 … string_VkImageLayout(img_barrier.oldLayout), string_VkImageLayout(img_barrier.newLayout)); in ValidateImageBarrierImage()
7754 if (sub_image_found && sub_image_layout != img_barrier.oldLayout) { in ValidateImageBarrierImage()
7761 string_VkImageLayout(img_barrier.oldLayout)); in ValidateImageBarrierImage()
7775 const auto &img_barrier = image_barriers[i]; in ValidateRenderPassImageBarriers() local
7776 const auto &img_src_access_mask = img_barrier.srcAccessMask; in ValidateRenderPassImageBarriers()
7777 const auto &img_dst_access_mask = img_barrier.dstAccessMask; in ValidateRenderPassImageBarriers()
[all …]
Dcore_validation.h347 const VkImageMemoryBarrier& img_barrier);
803 …ayoutToImageUsage(layer_data* device_data, const VkImageMemoryBarrier* img_barrier, bool new_not_o…