From 4203a0b034e81f8cb77723edd54b0387feaa6d0e Mon Sep 17 00:00:00 2001 From: James Benton Date: Fri, 18 May 2012 16:14:38 +0100 Subject: [PATCH] llvmpipe: Added fixed point types tests to lp_test_conv. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: José Fonseca --- src/gallium/drivers/llvmpipe/lp_test_conv.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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 }, -- 2.30.2