commit | ce7692fc1957145c83b59080baf9ec24aae71b4d | [log] [tgz] |
---|---|---|
author | Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> | Tue Jun 09 12:23:04 2020 +0200 |
committer | Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> | Wed Jun 10 09:33:48 2020 +0200 |
tree | 60a7c4bc6204e89817b1009a172a4847a68999e9 | |
parent | 2c711beb5ce9fe013d557be71eb986444415b758 [diff] |
radeonsi: add return value to gfx10_ngg_calculate_subgroup_info gfx10_ngg_calculate_subgroup_info uses assert to detect invalid configuration, but if asserts are disabled it will continue its execution. This commits adds a boolean return value to let the caller know that something went wrong and that the results mustn't be used. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3103 Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5401>