From: James Benton Date: Fri, 18 May 2012 15:14:38 +0000 (+0100) Subject: llvmpipe: Added fixed point types tests to lp_test_conv. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4203a0b034e81f8cb77723edd54b0387feaa6d0e;p=mesa.git llvmpipe: Added fixed point types tests to lp_test_conv. Signed-off-by: José Fonseca --- diff --git a/src/gallium/drivers/llvmpipe/lp_test_conv.c b/src/gallium/drivers/llvmpipe/lp_test_conv.c index f4a2f360c75..28893503f4b 100644 --- a/src/gallium/drivers/llvmpipe/lp_test_conv.c +++ b/src/gallium/drivers/llvmpipe/lp_test_conv.c @@ -333,18 +333,19 @@ test_one(struct gallivm_state *gallivm, unsigned verbose, const struct lp_type conv_types[] = { /* float, fixed, sign, norm, width, len */ + /* Float */ { TRUE, FALSE, TRUE, TRUE, 32, 4 }, { TRUE, FALSE, TRUE, FALSE, 32, 4 }, { TRUE, FALSE, FALSE, TRUE, 32, 4 }, { TRUE, FALSE, FALSE, FALSE, 32, 4 }, - /* TODO: test fixed formats too */ - - { FALSE, FALSE, TRUE, TRUE, 16, 8 }, - { FALSE, FALSE, TRUE, FALSE, 16, 8 }, - { FALSE, FALSE, FALSE, TRUE, 16, 8 }, - { FALSE, FALSE, FALSE, FALSE, 16, 8 }, + /* Fixed */ + { FALSE, TRUE, TRUE, TRUE, 32, 4 }, + { FALSE, TRUE, TRUE, FALSE, 32, 4 }, + { FALSE, TRUE, FALSE, TRUE, 32, 4 }, + { FALSE, TRUE, FALSE, FALSE, 32, 4 }, + /* Integer */ { FALSE, FALSE, TRUE, TRUE, 32, 4 }, { FALSE, FALSE, TRUE, FALSE, 32, 4 }, { FALSE, FALSE, FALSE, TRUE, 32, 4 },