Searched refs:ivci (Results 1 – 2 of 2) sorted by relevance
/external/vulkan-validation-layers/tests/ |
D | layer_validation_tests.cpp | 3260 VkImageViewCreateInfo ivci = {}; in TEST_F() local 3261 ivci.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO; in TEST_F() 3262 ivci.image = image.handle(); in TEST_F() 3263 ivci.viewType = VK_IMAGE_VIEW_TYPE_2D; in TEST_F() 3264 ivci.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F() 3265 ivci.subresourceRange.layerCount = 1; in TEST_F() 3266 ivci.subresourceRange.baseMipLevel = 0; in TEST_F() 3268 ivci.subresourceRange.levelCount = 2; in TEST_F() 3269 ivci.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F() 3270 err = vkCreateImageView(m_device->device(), &ivci, NULL, &view); in TEST_F() [all …]
|
/external/vulkan-validation-layers/layers/ |
D | core_validation.cpp | 9504 auto &ivci = view_state->create_info; in ValidateFramebufferCreateInfo() local 9505 if (ivci.format != rpci->pAttachments[i].format) { in ValidateFramebufferCreateInfo() 9512 … i, string_VkFormat(ivci.format), string_VkFormat(rpci->pAttachments[i].format), in ValidateFramebufferCreateInfo() 9515 const VkImageCreateInfo *ici = &getImageState(dev_data, ivci.image)->createInfo; in ValidateFramebufferCreateInfo() 9526 if (ivci.subresourceRange.levelCount != 1) { in ValidateFramebufferCreateInfo() 9531 i, ivci.subresourceRange.levelCount); in ValidateFramebufferCreateInfo() 9533 const uint32_t mip_level = ivci.subresourceRange.baseMipLevel; in ValidateFramebufferCreateInfo() 9536 …if ((ivci.subresourceRange.layerCount < pCreateInfo->layers) || (mip_width < pCreateInfo->width) || in ValidateFramebufferCreateInfo() 9549 … i, ivci.subresourceRange.baseMipLevel, i, mip_width, pCreateInfo->width, mip_height, in ValidateFramebufferCreateInfo() 9550 … pCreateInfo->height, ivci.subresourceRange.layerCount, pCreateInfo->layers); in ValidateFramebufferCreateInfo() [all …]
|