projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eca96ea
)
vc4: Use unreachable() in an unreachable codepath for tiling.
author
Eric Anholt
<eric@anholt.net>
Fri, 6 Jan 2017 18:55:07 +0000
(10:55 -0800)
committer
Eric Anholt
<eric@anholt.net>
Thu, 26 Jan 2017 20:23:31 +0000
(12:23 -0800)
src/gallium/drivers/vc4/vc4_tiling.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_tiling.h
b/src/gallium/drivers/vc4/vc4_tiling.h
index 1da6ca63258716001ea5a8d53ae0bcabbb78d4d8..f035c06943f1cc745f077b69b51fe45d889806a6 100644
(file)
--- 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");
}
}