Home
last modified time | relevance | path

Searched refs:ivci (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/zink/
Dzink_surface.c58 VkImageViewCreateInfo ivci = {}; in zink_create_surface() local
59 ivci.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO; in zink_create_surface()
60 ivci.image = res->image; in zink_create_surface()
64 ivci.viewType = VK_IMAGE_VIEW_TYPE_1D; in zink_create_surface()
68 ivci.viewType = VK_IMAGE_VIEW_TYPE_1D_ARRAY; in zink_create_surface()
73 ivci.viewType = VK_IMAGE_VIEW_TYPE_2D; in zink_create_surface()
77 ivci.viewType = VK_IMAGE_VIEW_TYPE_2D_ARRAY; in zink_create_surface()
81 ivci.viewType = VK_IMAGE_VIEW_TYPE_CUBE; in zink_create_surface()
85 ivci.viewType = VK_IMAGE_VIEW_TYPE_CUBE_ARRAY; in zink_create_surface()
89 ivci.viewType = VK_IMAGE_VIEW_TYPE_2D; in zink_create_surface()
[all …]
Dzink_context.c298 VkImageViewCreateInfo ivci = {}; in zink_create_sampler_view() local
299 ivci.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO; in zink_create_sampler_view()
300 ivci.image = res->image; in zink_create_sampler_view()
301 ivci.viewType = image_view_type(state->target); in zink_create_sampler_view()
302 ivci.format = zink_get_format(screen, state->format); in zink_create_sampler_view()
303 assert(ivci.format); in zink_create_sampler_view()
304 ivci.components.r = component_mapping(state->swizzle_r); in zink_create_sampler_view()
305 ivci.components.g = component_mapping(state->swizzle_g); in zink_create_sampler_view()
306 ivci.components.b = component_mapping(state->swizzle_b); in zink_create_sampler_view()
307 ivci.components.a = component_mapping(state->swizzle_a); in zink_create_sampler_view()
[all …]
/external/vulkan-validation-layers/tests/
Dvklayertests_buffer_image_memory_sampler.cpp2851 VkImageViewCreateInfo ivci = { in TEST_F() local
2861 err = vkCreateImageView(m_device->device(), &ivci, nullptr, &view); in TEST_F()
4943 VkImageViewCreateInfo ivci = {}; in TEST_F() local
4944 ivci.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO; in TEST_F()
4945 ivci.image = image1D.handle(); in TEST_F()
4946 ivci.viewType = VK_IMAGE_VIEW_TYPE_2D; in TEST_F()
4947 ivci.format = VK_FORMAT_R8G8B8A8_UNORM; in TEST_F()
4948 ivci.subresourceRange.layerCount = 1; in TEST_F()
4949 ivci.subresourceRange.baseMipLevel = 0; in TEST_F()
4950 ivci.subresourceRange.levelCount = 1; in TEST_F()
[all …]
Dvklayertests_others.cpp2808 VkImageViewCreateInfo ivci = {}; in TEST_F() local
2809 ivci.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO; in TEST_F()
2810 ivci.image = image.handle(); in TEST_F()
2811 ivci.viewType = VK_IMAGE_VIEW_TYPE_2D; in TEST_F()
2812 ivci.format = VK_FORMAT_R8_UINT; in TEST_F()
2813 ivci.subresourceRange.layerCount = 1; in TEST_F()
2814 ivci.subresourceRange.baseMipLevel = 0; in TEST_F()
2815 ivci.subresourceRange.levelCount = 1; in TEST_F()
2816 ivci.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F()
2819 ivci.viewType = VK_IMAGE_VIEW_TYPE_CUBE; in TEST_F()
[all …]
Dvklayertests_descriptor_renderpass_framebuffer.cpp3330 VkImageViewCreateInfo ivci = {}; in TEST_F() local
3331 ivci.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO; in TEST_F()
3332 ivci.image = image.handle(); in TEST_F()
3333 ivci.viewType = VK_IMAGE_VIEW_TYPE_2D; in TEST_F()
3334 ivci.format = VK_FORMAT_B8G8R8A8_UNORM; in TEST_F()
3335 ivci.subresourceRange.layerCount = 1; in TEST_F()
3336 ivci.subresourceRange.baseMipLevel = 0; in TEST_F()
3338 ivci.subresourceRange.levelCount = 2; in TEST_F()
3339 ivci.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F()
3340 err = vkCreateImageView(m_device->device(), &ivci, NULL, &view); in TEST_F()
[all …]
Dvkpositivelayertests.cpp214 VkImageViewCreateInfo ivci = { in TEST_F() local
226 err = vkCreateImageView(m_device->device(), &ivci, nullptr, &view); in TEST_F()
627 VkImageViewCreateInfo ivci = { in TEST_F() local
639 err = vkCreateImageView(m_device->device(), &ivci, nullptr, &view); in TEST_F()
3250 VkImageViewCreateInfo ivci = {}; in TEST_F() local
3251 ivci.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO; in TEST_F()
3252 ivci.image = image.handle(); in TEST_F()
3253 ivci.viewType = VK_IMAGE_VIEW_TYPE_2D; in TEST_F()
3254 ivci.format = VK_FORMAT_R8G8B8A8_UNORM; in TEST_F()
3255 ivci.subresourceRange.layerCount = 1; in TEST_F()
[all …]
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp6652 auto &ivci = view_state->create_info; in PreCallValidateCmdBindShadingRateImageNV() local
6654 …if (!view_state || (ivci.viewType != VK_IMAGE_VIEW_TYPE_2D && ivci.viewType != VK_IMAGE_VIEW_TYPE_… in PreCallValidateCmdBindShadingRateImageNV()
6661 if (view_state && ivci.format != VK_FORMAT_R8_UINT) { in PreCallValidateCmdBindShadingRateImageNV()
9491 auto &ivci = view_state->create_info; in ValidateFramebufferCreateInfo() local
9492 if (ivci.format != rpci->pAttachments[i].format) { in ValidateFramebufferCreateInfo()
9498 … i, string_VkFormat(ivci.format), string_VkFormat(rpci->pAttachments[i].format), in ValidateFramebufferCreateInfo()
9501 const VkImageCreateInfo *ici = &GetImageState(ivci.image)->createInfo; in ValidateFramebufferCreateInfo()
9514 if (ivci.subresourceRange.levelCount != 1) { in ValidateFramebufferCreateInfo()
9520 i, ivci.subresourceRange.levelCount); in ValidateFramebufferCreateInfo()
9522 const uint32_t mip_level = ivci.subresourceRange.baseMipLevel; in ValidateFramebufferCreateInfo()
[all …]