diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-04-01 15:07:14 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-04-01 15:07:14 +0100 |
commit | 08eb07bc83c9ba81ad5b497b8991d1069e17f4d7 (patch) | |
tree | 44df2dab1721b138b029985037526be836bb34d1 /progs | |
parent | 8548efbe1d2ebc9cfe5636d3e0f3064958ad0644 (diff) |
util: Add support for other DXTn RGBA formats.
Diffstat (limited to 'progs')
-rw-r--r-- | progs/gallium/unit/u_format_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
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. * |