mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
svga: we don't supported 3D compressed textures
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
This commit is contained in:
parent
7eab897d4d
commit
21ae5135dd
1 changed files with 6 additions and 0 deletions
|
|
@ -23,6 +23,7 @@
|
|||
*
|
||||
**********************************************************/
|
||||
|
||||
#include "util/u_format.h"
|
||||
#include "util/u_memory.h"
|
||||
#include "util/u_inlines.h"
|
||||
#include "util/u_string.h"
|
||||
|
|
@ -446,6 +447,11 @@ svga_is_format_supported( struct pipe_screen *screen,
|
|||
}
|
||||
}
|
||||
|
||||
if (target == PIPE_TEXTURE_3D && util_format_is_compressed(format)) {
|
||||
/* we don't support compressed 3D textures at this time */
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/*
|
||||
* Query the host capabilities.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue