Lines Matching defs:image_state
66 unordered_map<VkImage, IMAGE_STATE> imageMap;
80 static IMAGE_STATE const *getImageState(layer_data const *dev_data, VkImage image) {
389 device_data->imageMap[*pImage] = IMAGE_STATE(pCreateInfo);
638 auto image_state = getImageState(device_data, image);
639 if (image_state) {
640 if (vk_format_is_depth_or_stencil(image_state->format)) {
644 } else if (vk_format_is_compressed(image_state->format)) {
650 if (!(image_state->usage & VK_IMAGE_USAGE_TRANSFER_DST_BIT)) {
680 auto image_state = getImageState(device_data, image);
681 if (image_state && !vk_format_is_depth_or_stencil(image_state->format)) {
731 static bool ExceedsBounds(const VkOffset3D *offset, const VkExtent3D *extent, const IMAGE_STATE *image) {