llvmpipe: don't test for unsupported formats in lp_test_format
authorRoland Scheidegger <sroland@vmware.com>
Tue, 24 Nov 2015 16:52:37 +0000 (17:52 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Tue, 24 Nov 2015 17:26:11 +0000 (18:26 +0100)
commit97eed8dcb9e66b3ebeca55bfc429d200556583de
tree206280a03531479a6ac4be32702d1332a7f34688
parent9b41489cb5ae7ef9157e8e6b42f3621a871c75a3
llvmpipe: don't test for unsupported formats in lp_test_format

Removing the fake format helpers (1c7d0a6aa4f5cb38af7e281e1e5437cd1a20f781)
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>
src/gallium/drivers/llvmpipe/lp_test_format.c