diff options
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. * |