projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a95cc0
)
turnip: Fix a compiler warning in release builds of the query code.
author
Eric Anholt
<eric@anholt.net>
Thu, 3 Sep 2020 20:42:17 +0000
(13:42 -0700)
committer
Marge Bot
<eric+marge@anholt.net>
Wed, 9 Sep 2020 17:25:38 +0000
(17:25 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6592>
src/freedreno/vulkan/tu_query.c
patch
|
blob
|
history
diff --git
a/src/freedreno/vulkan/tu_query.c
b/src/freedreno/vulkan/tu_query.c
index
2bdc4d3
..
e8a1a29
100644
(file)
--- a/
src/freedreno/vulkan/tu_query.c
+++ b/
src/freedreno/vulkan/tu_query.c
@@
-158,7
+158,7
@@
tu_CreateQueryPool(VkDevice _device,
slot_size = sizeof(struct pipeline_stat_query_slot);
break;
default:
-
assert(!
"Invalid query type");
+
unreachable(
"Invalid query type");
}
struct tu_query_pool *pool =