From 43588be435c271b2177c6d0db72f27cefeeade4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 14 Jan 2025 19:58:45 -0500 Subject: [PATCH] radeonsi: remove an incorrectly defined modifier It's missing the PACKERS field to distinguish between different layouts and it's a useless swizzle mode anyway. Fixes: 0833dd7d124bfd9 - amd/common: Add support for modifiers. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9344 Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/amd/common/ac_surface.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/amd/common/ac_surface.c b/src/amd/common/ac_surface.c index 870f1707ede..d40d5adac0b 100644 --- a/src/amd/common/ac_surface.c +++ b/src/amd/common/ac_surface.c @@ -433,11 +433,6 @@ bool ac_get_supported_modifiers(const struct radeon_info *info, AMD_FMT_MOD_SET(PIPE_XOR_BITS, pipe_xor_bits) | AMD_FMT_MOD_SET(PACKERS, pkrs)) - ADD_MOD(AMD_FMT_MOD | - AMD_FMT_MOD_SET(TILE_VERSION, AMD_FMT_MOD_TILE_VER_GFX10) | - AMD_FMT_MOD_SET(TILE, AMD_FMT_MOD_TILE_GFX9_64K_S_X) | - AMD_FMT_MOD_SET(PIPE_XOR_BITS, pipe_xor_bits)) - if (util_format_get_blocksizebits(format) != 32) { ADD_MOD(AMD_FMT_MOD | AMD_FMT_MOD_SET(TILE, AMD_FMT_MOD_TILE_GFX9_64K_D) |