v3d: do not expose EXT_float_blend
This extension is all about exposing blending with 32-bit floating point formats, which V3D doesn't support at all so we should not be exposing it. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30512>
This commit is contained in:

committed by
Marge Bot

parent
0413e1f7dc
commit
d58f7a24d1
@@ -635,6 +635,14 @@ v3d_screen_is_format_supported(struct pipe_screen *pscreen,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* We do not support EXT_float_blend (blending with 32F formats)*/
|
||||||
|
if ((usage & PIPE_BIND_BLENDABLE) &&
|
||||||
|
(format == PIPE_FORMAT_R32G32B32A32_FLOAT ||
|
||||||
|
format == PIPE_FORMAT_R32G32_FLOAT ||
|
||||||
|
format == PIPE_FORMAT_R32_FLOAT)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if ((usage & PIPE_BIND_SAMPLER_VIEW) &&
|
if ((usage & PIPE_BIND_SAMPLER_VIEW) &&
|
||||||
!v3d_tex_format_supported(&screen->devinfo, format)) {
|
!v3d_tex_format_supported(&screen->devinfo, format)) {
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user