summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_tiling.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_tiling.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_tiling.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/drivers/vc4/vc4_tiling.h b/src/gallium/drivers/vc4/vc4_tiling.h
index 1da6ca63258..f035c06943f 100644
--- a/src/gallium/drivers/vc4/vc4_tiling.h
+++ b/src/gallium/drivers/vc4/vc4_tiling.h
@@ -38,8 +38,7 @@ vc4_utile_width(int cpp)
case 8:
return 2;
default:
- fprintf(stderr, "unknown cpp: %d\n", cpp);
- abort();
+ unreachable("unknown cpp");
}
}
@@ -55,8 +54,7 @@ vc4_utile_height(int cpp)
case 8:
return 4;
default:
- fprintf(stderr, "unknown cpp: %d\n", cpp);
- abort();
+ unreachable("unknown cpp");
}
}