From c0b105756f61d253bdabcc2bb49453a2557e7c3b Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Tue, 19 May 2015 23:54:16 +0100 Subject: txd: Use the TextureDSP module for decoding Using the internal DXTC routines brings support for non multiple of 4 textures. A new test is added to cover this feature. Hashes differ since the decoding algorithm is different, though no visual changes have been spotted. Signed-off-by: Vittorio Giovara --- tests/ref/fate/txd-16bpp | 22 +++++++++++----------- tests/ref/fate/txd-odd | 2 ++ 2 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 tests/ref/fate/txd-odd (limited to 'tests/ref') diff --git a/tests/ref/fate/txd-16bpp b/tests/ref/fate/txd-16bpp index 9522873946..10787415c7 100644 --- a/tests/ref/fate/txd-16bpp +++ b/tests/ref/fate/txd-16bpp @@ -1,12 +1,12 @@ #tb 0: 1/5 -0, 0, 0, 1, 16384, 0x213f9ea8 -0, 1, 1, 1, 16384, 0x8185fdb1 -0, 2, 2, 1, 16384, 0xf03581d1 -0, 3, 3, 1, 16384, 0x629cd573 -0, 4, 4, 1, 16384, 0xfe7a5b63 -0, 5, 5, 1, 16384, 0x4afc05b2 -0, 6, 6, 1, 16384, 0x074b8515 -0, 7, 7, 1, 16384, 0x17fde900 -0, 8, 8, 1, 16384, 0x831bac76 -0, 9, 9, 1, 16384, 0x2fb579f3 -0, 10, 10, 1, 16384, 0x68762bed +0, 0, 0, 1, 16384, 0x4c7bb4cb +0, 1, 1, 1, 16384, 0x914e14b4 +0, 2, 2, 1, 16384, 0x81e293cb +0, 3, 3, 1, 16384, 0xf733ed43 +0, 4, 4, 1, 16384, 0x739a6c21 +0, 5, 5, 1, 16384, 0x47f9184a +0, 6, 6, 1, 16384, 0x329f9d3e +0, 7, 7, 1, 16384, 0x231ffd9c +0, 8, 8, 1, 16384, 0xe7c2c4c6 +0, 9, 9, 1, 16384, 0x880d8ffb +0, 10, 10, 1, 16384, 0xf83238d2 diff --git a/tests/ref/fate/txd-odd b/tests/ref/fate/txd-odd new file mode 100644 index 0000000000..15b9ed3b63 --- /dev/null +++ b/tests/ref/fate/txd-odd @@ -0,0 +1,2 @@ +#tb 0: 1/5 +0, 0, 0, 1, 385452, 0xb22514d6 -- cgit v1.2.3