summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_test_conv.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-22 12:37:12 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:39 +0100
commit64cc71167f986f6cd29abb228295cf6441b07832 (patch)
tree4c7c26bf9563e041673fc9e2051374d30df23a50 /src/gallium/drivers/llvmpipe/lp_test_conv.c
parent53f9a1180ef5a24cd8ffe235e716a9061a129bb3 (diff)
llvmpipe: Get conversions working correctly for all integer types.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_test_conv.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_test_conv.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_test_conv.c b/src/gallium/drivers/llvmpipe/lp_test_conv.c
index e8b0b56d96..e6489834af 100644
--- a/src/gallium/drivers/llvmpipe/lp_test_conv.c
+++ b/src/gallium/drivers/llvmpipe/lp_test_conv.c
@@ -351,7 +351,13 @@ const union lp_type conv_types[] = {
{{ TRUE, FALSE, FALSE, TRUE, 32, 4 }},
{{ TRUE, FALSE, FALSE, FALSE, 32, 4 }},
-#if 0
+ /* 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 }},
+
{{ FALSE, FALSE, TRUE, TRUE, 32, 4 }},
{{ FALSE, FALSE, TRUE, FALSE, 32, 4 }},
{{ FALSE, FALSE, FALSE, TRUE, 32, 4 }},
@@ -366,12 +372,6 @@ const union lp_type conv_types[] = {
{{ FALSE, FALSE, TRUE, FALSE, 8, 16 }},
{{ FALSE, FALSE, FALSE, TRUE, 8, 16 }},
{{ FALSE, FALSE, FALSE, FALSE, 8, 16 }},
-#else
- {{ FALSE, FALSE, TRUE, FALSE, 32, 4 }},
- {{ FALSE, FALSE, TRUE, FALSE, 16, 8 }},
- {{ FALSE, FALSE, FALSE, FALSE, 8, 16 }},
- {{ FALSE, FALSE, FALSE, TRUE, 8, 16 }},
-#endif
};