mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
radv: Actually fail custom border color sampler creation.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Fixes: a52483d9e7 ("radv: fix capture/replay with sampler border color")
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37787>
This commit is contained in:
parent
183ed8046c
commit
2848901722
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ radv_sampler_init(struct radv_device *device, struct radv_sampler *sampler, cons
|
|||
sampler->border_color_index = RADV_BORDER_COLOR_COUNT;
|
||||
|
||||
if (vk_border_color_is_custom(border_color)) {
|
||||
uint32_t border_color_index = 0;
|
||||
uint32_t border_color_index = RADV_BORDER_COLOR_COUNT;
|
||||
bool request_index = false;
|
||||
VkResult result;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue