D | radv_image.c | 223 static unsigned radv_tex_dim(VkImageType image_type, VkImageViewType view_type, in radv_tex_dim() argument 226 if (view_type == VK_IMAGE_VIEW_TYPE_CUBE || view_type == VK_IMAGE_VIEW_TYPE_CUBE_ARRAY) in radv_tex_dim() 237 if (view_type == VK_IMAGE_VIEW_TYPE_3D) in radv_tex_dim() 252 VkImageViewType view_type, in si_make_texture_descriptor() argument 287 type = radv_tex_dim(image->type, view_type, image->array_size, image->samples, in si_make_texture_descriptor() 294 if (view_type != VK_IMAGE_VIEW_TYPE_3D) in si_make_texture_descriptor() 371 S_008F1C_TYPE(radv_tex_dim(image->type, view_type, 1, 0, false)); in si_make_texture_descriptor()
|