Home
last modified time | relevance | path

Searched refs:image_state (Results 1 – 3 of 3) sorted by relevance

/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp202 auto image_state = GetImageState(image); in FindLayouts() local
203 if (!image_state) return false; in FindLayouts()
206 …if (sub_data->second.size() >= (image_state->createInfo.arrayLayers * image_state->createInfo.mipL… in FindLayouts()
285 …s::SetImageLayout(layer_data *device_data, GLOBAL_CB_NODE *cb_node, const IMAGE_STATE *image_state, in SetImageLayout() argument
287 assert(image_state); in SetImageLayout()
297 if (FormatIsDepthAndStencil(image_state->createInfo.format)) { in SetImageLayout()
303 if (FormatIsMultiplane(image_state->createInfo.format)) { in SetImageLayout()
307 if (FormatPlaneCount(image_state->createInfo.format) > 2) { in SetImageLayout()
313 SetLayout(device_data, cb_node, image_state->image, sub, layout); in SetImageLayout()
318 …s::SetImageLayout(layer_data *device_data, GLOBAL_CB_NODE *cb_node, const IMAGE_STATE *image_state, in SetImageLayout() argument
[all …]
Dcore_validation.cpp323 …BufferBindingImage(const layer_data *dev_data, GLOBAL_CB_NODE *cb_node, IMAGE_STATE *image_state) { in AddCommandBufferBindingImage() argument
325 if (image_state->binding.mem != MEMTRACKER_SWAP_CHAIN_IMAGE_KEY) { in AddCommandBufferBindingImage()
327 for (auto mem_binding : image_state->GetBoundMemory()) { in AddCommandBufferBindingImage()
336 … cb_node->object_bindings.insert({HandleToUint64(image_state->image), kVulkanObjectTypeImage}); in AddCommandBufferBindingImage()
337 image_state->cb_bindings.insert(cb_node); in AddCommandBufferBindingImage()
347 auto image_state = GetImageState(view_state->create_info.image); in AddCommandBufferBindingImageView() local
349 if (image_state) { in AddCommandBufferBindingImageView()
350 AddCommandBufferBindingImage(dev_data, cb_node, image_state); in AddCommandBufferBindingImageView()
443 …ateMemoryIsBoundToImage(const layer_data *dev_data, const IMAGE_STATE *image_state, const char *ap… in ValidateMemoryIsBoundToImage() argument
446 …if (0 == (static_cast<uint32_t>(image_state->createInfo.flags) & VK_IMAGE_CREATE_SPARSE_BINDING_BI… in ValidateMemoryIsBoundToImage()
[all …]
Dcore_validation.h508 …bool ValidateImageSampleCount(layer_data* dev_data, IMAGE_STATE* image_state, VkSampleCountFlagBit…
688 …id SetImageLayout(layer_data* device_data, GLOBAL_CB_NODE* cb_node, const IMAGE_STATE* image_state,
690 …id SetImageLayout(layer_data* device_data, GLOBAL_CB_NODE* cb_node, const IMAGE_STATE* image_state,
697 IMAGE_STATE* image_state, const char* function);
713 …bool ValidateImageAttributes(layer_data* device_data, IMAGE_STATE* image_state, VkImageSubresource…
721 … VerifyClearImageLayout(layer_data* device_data, GLOBAL_CB_NODE* cb_node, IMAGE_STATE* image_state,
724 …ImageLayout(layer_data const* device_data, GLOBAL_CB_NODE const* cb_node, IMAGE_STATE* image_state,
860 …bool ValidateImageUsageFlags(layer_data* dev_data, IMAGE_STATE const* image_state, VkFlags desired…
863 …bool ValidateImageFormatFeatureFlags(layer_data* dev_data, IMAGE_STATE const* image_state, VkForma…
888 …idateCreateImageViewSubresourceRange(const layer_data* device_data, const IMAGE_STATE* image_state,
[all …]