mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
vk: Mark VK_FORMAT_UNDEFINED as 1 cpp, 1 channel
This commit is contained in:
parent
a1bd426393
commit
387a1bb58f
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@
|
|||
#define UNSUPPORTED ~0U
|
||||
|
||||
static const struct anv_format anv_formats[] = {
|
||||
[VK_FORMAT_UNDEFINED] = { .format = RAW },
|
||||
[VK_FORMAT_UNDEFINED] = { .format = RAW, .cpp = 1, .channels = 1 },
|
||||
[VK_FORMAT_R4G4_UNORM] = { .format = UNSUPPORTED },
|
||||
[VK_FORMAT_R4G4_USCALED] = { .format = UNSUPPORTED },
|
||||
[VK_FORMAT_R4G4B4A4_UNORM] = { .format = UNSUPPORTED },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue