diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-07-01 18:27:39 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-07-02 11:50:00 +0100 |
commit | 37f4c2f906c8e2a6df609a190e4ca9ff028b265b (patch) | |
tree | 136b83bda6536b6d6cc83e5fef4de84996998c24 /src/gallium/drivers | |
parent | 8556b77c56f3f1f0e75ce46d6b5c0d84c7b4eabd (diff) |
gallivm: Fix 4 x unorm8 -> 4 x float conversion.
Also fix the test.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_test_conv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_test_conv.c b/src/gallium/drivers/llvmpipe/lp_test_conv.c index 081f2d324b..cf41b40581 100644 --- a/src/gallium/drivers/llvmpipe/lp_test_conv.c +++ b/src/gallium/drivers/llvmpipe/lp_test_conv.c @@ -167,7 +167,7 @@ test_one(unsigned verbose, unsigned i, j; void *code; - if (src_type.width * src_type.length != dst_type.width * dst_type.length || + if (src_type.width * src_type.length != dst_type.width * dst_type.length && src_type.length != dst_type.length) { return TRUE; } |