Home
last modified time | relevance | path

Searched refs:mem_barrier (Results 1 – 2 of 2) sorted by relevance

/external/vulkan-validation-layers/layers/
Dcore_validation.cpp8715 auto mem_barrier = &pImgMemBarriers[i]; in TransitionImageLayouts() local
8716 if (!mem_barrier) in TransitionImageLayouts()
8720 …ainingLevelsLayers(dev_data, &levelCount, &layerCount, mem_barrier->subresourceRange, mem_barrier-… in TransitionImageLayouts()
8723 uint32_t level = mem_barrier->subresourceRange.baseMipLevel + j; in TransitionImageLayouts()
8725 uint32_t layer = mem_barrier->subresourceRange.baseArrayLayer + k; in TransitionImageLayouts()
8726 VkImageSubresource sub = {mem_barrier->subresourceRange.aspectMask, level, layer}; in TransitionImageLayouts()
8728 if (!FindLayout(pCB, mem_barrier->image, sub, node)) { in TransitionImageLayouts()
8729 SetLayout(pCB, mem_barrier->image, sub, in TransitionImageLayouts()
8730 … IMAGE_CMD_BUF_LAYOUT_NODE(mem_barrier->oldLayout, mem_barrier->newLayout)); in TransitionImageLayouts()
8733 if (mem_barrier->oldLayout == VK_IMAGE_LAYOUT_UNDEFINED) { in TransitionImageLayouts()
[all …]
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp7856 VkMemoryBarrier mem_barrier = {}; in TEST_F() local
7857 mem_barrier.sType = VK_STRUCTURE_TYPE_MEMORY_BARRIER; in TEST_F()
7858 mem_barrier.pNext = NULL; in TEST_F()
7859 mem_barrier.srcAccessMask = VK_ACCESS_HOST_WRITE_BIT; in TEST_F()
7860 mem_barrier.dstAccessMask = VK_ACCESS_SHADER_READ_BIT; in TEST_F()
7864 &mem_barrier, 0, nullptr, 0, nullptr); in TEST_F()