projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cc79e4
)
radv: fix check for perftest options size
author
Andres Rodriguez
<andresx7@gmail.com>
Thu, 18 Oct 2018 19:32:31 +0000
(15:32 -0400)
committer
Andres Rodriguez
<andresx7@gmail.com>
Thu, 18 Oct 2018 19:42:20 +0000
(15:42 -0400)
It was using the debug options array size.
CC: mesa-stable@lists.freedesktop.org
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_device.c
b/src/amd/vulkan/radv_device.c
index 6eb37472992151dafb99aadf3beb176de65bfa84..e7d511bdb97d22c386dbb472a6f0856c69883f96 100644
(file)
--- a/
src/amd/vulkan/radv_device.c
+++ b/
src/amd/vulkan/radv_device.c
@@
-483,7
+483,7
@@
static const struct debug_control radv_perftest_options[] = {
const char *
radv_get_perftest_option_name(int id)
{
- assert(id < ARRAY_SIZE(radv_
debug
_options) - 1);
+ assert(id < ARRAY_SIZE(radv_
perftest
_options) - 1);
return radv_perftest_options[id].string;
}