aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost/pan_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_format.c')
-rw-r--r--src/gallium/drivers/panfrost/pan_format.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/panfrost/pan_format.c b/src/gallium/drivers/panfrost/pan_format.c
index c52756301b9..48b937dfdb8 100644
--- a/src/gallium/drivers/panfrost/pan_format.c
+++ b/src/gallium/drivers/panfrost/pan_format.c
@@ -98,8 +98,10 @@ panfrost_translate_channel_width(unsigned size)
return MALI_CHANNEL_16;
case 32:
return MALI_CHANNEL_32;
- default:
- unreachable("Invalid width");
+ default: {
+ printf ("Invalid width: %d\n", size);
+ assert(0);
+ }
}
}