mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
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:
parent
c05e42eaea
commit
37f4ede8bf
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue