llvmpipe: Disable 64-bit integer formats for vertex fetch

draw does not handle them.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33628>
This commit is contained in:
Konstantin Seurer 2025-03-11 21:32:48 +01:00 committed by Marge Bot
parent c05e42eaea
commit 37f4ede8bf

View file

@ -637,9 +637,12 @@ llvmpipe_is_format_supported(struct pipe_screen *_screen,
format_desc->block.bits != 96) {
return false;
}
}
if (bind & (PIPE_BIND_RENDER_TARGET | PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_VERTEX_BUFFER)) {
/* Disable 64-bit integer formats for RT/samplers.
* VK CTS crashes with these and they don't make much sense.
* Vertex fetch also does not handle them correctly.
*/
if (util_format_is_int64(format_desc))
return false;