summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Benton <jbenton@vmware.com>2012-05-18 16:14:38 +0100
committerJosé Fonseca <jfonseca@vmware.com>2012-05-21 20:24:49 +0100
commit4203a0b034e81f8cb77723edd54b0387feaa6d0e (patch)
treec314d22392dfade836bfdb4b670deb5340ec1a0e
parenta3d4af0c00a198bba00c0965131a14223d426dd4 (diff)
llvmpipe: Added fixed point types tests to lp_test_conv.
Signed-off-by: José Fonseca <jfonseca@vmware.com>
-rw-r--r--src/gallium/drivers/llvmpipe/lp_test_conv.c13
1 files 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 },