From 08eb07bc83c9ba81ad5b497b8991d1069e17f4d7 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Thu, 1 Apr 2010 15:07:14 +0100 Subject: util: Add support for other DXTn RGBA formats. --- progs/gallium/unit/u_format_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'progs') diff --git a/progs/gallium/unit/u_format_test.c b/progs/gallium/unit/u_format_test.c index be47b15d90..b8c54aec8d 100644 --- a/progs/gallium/unit/u_format_test.c +++ b/progs/gallium/unit/u_format_test.c @@ -200,7 +200,7 @@ test_format_pack_float(const struct util_format_description *format_desc, unsigned i, j, k; boolean success; - if (format_desc->layout == UTIL_FORMAT_LAYOUT_S3TC) { + if (test->format == PIPE_FORMAT_DXT1_RGBA) { /* * Skip S3TC as packed representation is not canonical. * @@ -300,7 +300,7 @@ test_format_pack_8unorm(const struct util_format_description *format_desc, unsigned i; boolean success; - if (format_desc->layout == UTIL_FORMAT_LAYOUT_S3TC) { + if (test->format == PIPE_FORMAT_DXT1_RGBA) { /* * Skip S3TC as packed representation is not canonical. * -- cgit v1.2.3