#include "pvr_formats.h"
#include "pvr_private.h"
+#include "vk_enum_to_str.h"
#include "vk_format.h"
#include "vk_log.h"
#include "vk_util.h"
/* TODO: add all supported core formats */
static const struct pvr_format pvr_format_table[] = {
+ /* VK_FORMAT_R8_UINT = 13. */
+ FORMAT(R8_UINT, U8, U8),
+ /* VK_FORMAT_B8G8R8A8_UNORM = 44. */
FORMAT(B8G8R8A8_UNORM, U8U8U8U8, U8U8U8U8),
+ /* VK_FORMAT_R32_UINT = 98. */
+ FORMAT(R32_UINT, U32, U32),
+ /* VK_FORMAT_R32G32B32A32_UINT = 107. */
+ FORMAT(R32G32B32A32_UINT, U32U32U32U32, U32U32U32U32),
+ /* VK_FORMAT_D32_SFLOAT = 126. */
FORMAT(D32_SFLOAT, F32, F32),
};
return &pvr_format_table[vk_format];
}
+ mesa_logd("Format %s(%d) not supported\n",
+ vk_Format_to_str(vk_format),
+ vk_format);
+
return NULL;
}