diff options
author | Andres Rodriguez <[email protected]> | 2018-10-18 15:32:31 -0400 |
---|---|---|
committer | Andres Rodriguez <[email protected]> | 2018-10-18 15:42:20 -0400 |
commit | e71a87775e48f2e26864e6c2198c7625e27bbab1 (patch) | |
tree | 5d77ebae15171938cd5e32ff9eba1704b5a333c8 /src | |
parent | 6cc79e4411f750471bb35faf8578069a6a2f44d1 (diff) |
radv: fix check for perftest options size
It was using the debug options array size.
CC: [email protected]
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 6eb37472992..e7d511bdb97 100644 --- 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; } |