projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
panfrost/midgard: Enable lower_find_lsb
[mesa.git]
/
src
/
gallium
/
drivers
/
panfrost
/
pan_pretty_print.c
diff --git
a/src/gallium/drivers/panfrost/pan_pretty_print.c
b/src/gallium/drivers/panfrost/pan_pretty_print.c
index fd8ad40d40710c88fbb7588d73eb74f41cd7941a..d590f267d1c1456cad39510a70e61fe6095faa81 100644
(file)
--- a/
src/gallium/drivers/panfrost/pan_pretty_print.c
+++ b/
src/gallium/drivers/panfrost/pan_pretty_print.c
@@
-27,15
+27,17
@@
#include <string.h>
#include <assert.h>
#include <string.h>
#include <assert.h>
-/* Some self-contained prettyprinting functions shared between pan
wrap
and
+/* Some self-contained prettyprinting functions shared between pan
decode
and
* the main driver */
#define DEFINE_CASE(name) case MALI_## name: return "MALI_" #name
* the main driver */
#define DEFINE_CASE(name) case MALI_## name: return "MALI_" #name
-char *pan
wrap
_format_name(enum mali_format format)
+char *pan
decode
_format_name(enum mali_format format)
{
static char unk_format_str[5];
switch (format) {
{
static char unk_format_str[5];
switch (format) {
+ DEFINE_CASE(RGB565);
+ DEFINE_CASE(RGB5_A1_UNORM);
DEFINE_CASE(RGB10_A2_UNORM);
DEFINE_CASE(RGB10_A2_SNORM);
DEFINE_CASE(RGB10_A2UI);
DEFINE_CASE(RGB10_A2_UNORM);
DEFINE_CASE(RGB10_A2_SNORM);
DEFINE_CASE(RGB10_A2UI);
@@
-88,6
+90,7
@@
char *panwrap_format_name(enum mali_format format)
DEFINE_CASE(RGB16_UNORM);
DEFINE_CASE(RGB32_UNORM);
DEFINE_CASE(RGB32F);
DEFINE_CASE(RGB16_UNORM);
DEFINE_CASE(RGB32_UNORM);
DEFINE_CASE(RGB32F);
+ DEFINE_CASE(RGBA4_UNORM);
DEFINE_CASE(RGBA8_UNORM);
DEFINE_CASE(RGBA16_UNORM);
DEFINE_CASE(RGBA32_UNORM);
DEFINE_CASE(RGBA8_UNORM);
DEFINE_CASE(RGBA16_UNORM);
DEFINE_CASE(RGBA32_UNORM);