mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 16:30:23 +01:00
llvmpipe: don't test for unsupported formats in lp_test_format
Removing the fake format helpers (1c7d0a6aa4)
caused this to fail. These formats were never supported, but previously
they would have asserted in the generated jit functions (which, due to lack
of test cases for these formats, were never called) whereas we now assert when
trying to build the jit function. So, skip them completely.
This fixes https://bugs.freedesktop.org/show_bug.cgi?id=93092
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
9b41489cb5
commit
97eed8dcb9
1 changed files with 12 additions and 0 deletions
|
|
@ -382,6 +382,18 @@ test_all(unsigned verbose, FILE *fp)
|
|||
continue;
|
||||
}
|
||||
|
||||
/* only have util fetch func for etc1 */
|
||||
if (format_desc->layout == UTIL_FORMAT_LAYOUT_ETC &&
|
||||
format != PIPE_FORMAT_ETC1_RGB8) {
|
||||
continue;
|
||||
}
|
||||
|
||||
/* missing fetch funcs */
|
||||
if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC ||
|
||||
format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!test_one(verbose, fp, format_desc)) {
|
||||
success = FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue