freedreno/a6xx: Drop 16b packed image formats

See also commit f1c1b9687e ("tu: Do not expose storage image/buffer
features for PACK16 formats")

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30064>
This commit is contained in:
Rob Clark
2024-07-09 15:36:01 -07:00
committed by Marge Bot
parent fb9d86299b
commit 57694b8944

View File

@@ -94,6 +94,13 @@ fd6_screen_is_format_supported(struct pipe_screen *pscreen,
if (usage & PIPE_BIND_SHADER_IMAGE) {
if (sample_count > 1)
return false;
/* So, this only matters for image writes but 'usage' doesn't
* differentiate. See f1c1b96
*/
const struct util_format_description *desc = util_format_description(format);
if ((desc->nr_channels > 2) && (desc->block.bits == 16))
return false;
}
if ((usage &