~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/vulkan/util/vk_format.c

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 * Also, missing entries are zero-filled, which happens to be
36
36
 * PIPE_FORMAT_NONE.
37
37
 */
38
 
static const enum pipe_format vk_format_map[] = {
 
38
const enum pipe_format vk_format_map[] = {
39
39
   /* Missing R4G4 */
40
40
   [VK_FORMAT_R4G4B4A4_UNORM_PACK16] = PIPE_FORMAT_A4B4G4R4_UNORM,
41
41
   [VK_FORMAT_B4G4R4A4_UNORM_PACK16] = PIPE_FORMAT_A4R4G4B4_UNORM,