softpipe,llvmpipe: mark BPTC formats as unsupported

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
Ilia Mirkin 2014-07-22 21:08:14 -04:00
parent 43c038f4a6
commit 19563f0880
2 changed files with 10 additions and 0 deletions

View file

@ -409,6 +409,11 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen,
}
}
if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC) {
/* Software decoding is not hooked up. */
return FALSE;
}
if (format_desc->layout == UTIL_FORMAT_LAYOUT_S3TC) {
return util_format_s3tc_enabled;
}

View file

@ -322,6 +322,11 @@ softpipe_is_format_supported( struct pipe_screen *screen,
return FALSE;
}
if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC) {
/* Software decoding is not hooked up. */
return FALSE;
}
/*
* All other operations (sampling, transfer, etc).
*/