Skip to content
Snippets Groups Projects
Commit 53a8faaf authored by Dave Airlie's avatar Dave Airlie Committed by Marge Bot
Browse files

llvmpipe: disable 64-bit integer textures.


This fixes some crashes in VK-GL-CTS where it doesn't deal with these.

Cc: mesa-stable

Reviewed-by: default avatarRoland Scheidegger <sroland@vmware.com>
Part-of: <mesa/mesa!13617>
parent d80c7f34
No related branches found
No related tags found
Loading
......@@ -757,6 +757,16 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen,
format_desc->block.bits != 96) {
return false;
}
/* Disable 64-bit integer formats for RT/samplers.
* VK CTS crashes with these and they don't make much sense.
*/
int c = util_format_get_first_non_void_channel(format_desc->format);
if (c >= 0) {
if (format_desc->channel[c].pure_integer && format_desc->channel[c].size == 64)
return false;
}
}
if (!(bind & PIPE_BIND_VERTEX_BUFFER) &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment