summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJames Benton <[email protected]>2012-05-18 16:16:46 +0100
committerJosé Fonseca <[email protected]>2012-05-21 20:24:51 +0100
commit383c1b649bd15aac636de5723d1283f2e9fd45e7 (patch)
tree29859b2fe3d3d408d49a3db1555f18d47f4e6263 /src/gallium
parent4203a0b034e81f8cb77723edd54b0387feaa6d0e (diff)
llvmpipe: Changed known failures in lp_test_conv.
To comply with the recent fixes to lp_bld_conv. Signed-off-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_test_conv.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_test_conv.c b/src/gallium/drivers/llvmpipe/lp_test_conv.c
index 28893503f4b..307b8d999b0 100644
--- a/src/gallium/drivers/llvmpipe/lp_test_conv.c
+++ b/src/gallium/drivers/llvmpipe/lp_test_conv.c
@@ -173,6 +173,15 @@ test_one(struct gallivm_state *gallivm, unsigned verbose,
return TRUE;
}
+ /* Known failures
+ * - fixed point 32 -> float 32
+ * - float 32 -> signed normalised integer 32
+ */
+ if ((src_type.floating && !dst_type.floating && dst_type.sign && dst_type.norm && src_type.width == dst_type.width) ||
+ (!src_type.floating && dst_type.floating && src_type.fixed && src_type.width == dst_type.width)) {
+ return TRUE;
+ }
+
if(verbose >= 1)
dump_conv_types(stdout, src_type, dst_type);
@@ -384,9 +393,6 @@ test_all(struct gallivm_state *gallivm, unsigned verbose, FILE *fp)
if(src_type == dst_type)
continue;
- if(src_type->norm != dst_type->norm)
- continue;
-
if(!test_one(gallivm, verbose, fp, *src_type, *dst_type))
success = FALSE;