radeonsi: return false from si_is_format_supported instead of NULL
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9795>
This commit is contained in:
parent
c53261645d
commit
7d14eb623b
|
@ -2185,7 +2185,7 @@ static bool si_is_format_supported(struct pipe_screen *screen, enum pipe_format
|
|||
|
||||
if ((target == PIPE_TEXTURE_3D || target == PIPE_TEXTURE_CUBE) &&
|
||||
!sscreen->info.has_3d_cube_border_color_mipmap)
|
||||
return NULL;
|
||||
return false;
|
||||
|
||||
if (MAX2(1, sample_count) < MAX2(1, storage_sample_count))
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue