mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
anv: Add anv_image::samples
It's set but not yet used.
This commit is contained in:
parent
1c5d7b38e2
commit
dfcb4ee6df
2 changed files with 2 additions and 0 deletions
|
|
@ -204,6 +204,7 @@ anv_image_create(VkDevice _device,
|
|||
image->format = anv_format_for_vk_format(pCreateInfo->format);
|
||||
image->levels = pCreateInfo->mipLevels;
|
||||
image->array_size = pCreateInfo->arrayLayers;
|
||||
image->samples = pCreateInfo->samples;
|
||||
image->usage = anv_image_get_full_usage(pCreateInfo);
|
||||
image->tiling = pCreateInfo->tiling;
|
||||
|
||||
|
|
|
|||
|
|
@ -1522,6 +1522,7 @@ struct anv_image {
|
|||
VkExtent3D extent;
|
||||
uint32_t levels;
|
||||
uint32_t array_size;
|
||||
uint32_t samples; /**< VkImageCreateInfo::samples */
|
||||
VkImageUsageFlags usage; /**< Superset of VkImageCreateInfo::usage. */
|
||||
VkImageTiling tiling; /** VkImageCreateInfo::tiling */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue