From f6d73ea7b4028008ff64e734dac10c53aafd0e75 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 22 Dec 2022 20:16:23 -0500 Subject: [PATCH] pan/lower_framebuffer: Remove unused pack Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/util/pan_lower_framebuffer.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/panfrost/util/pan_lower_framebuffer.c b/src/panfrost/util/pan_lower_framebuffer.c index 946ae5ca976..b03090202f3 100644 --- a/src/panfrost/util/pan_lower_framebuffer.c +++ b/src/panfrost/util/pan_lower_framebuffer.c @@ -262,13 +262,6 @@ pan_pack_unorm(nir_builder *b, nir_ssa_def *v, return pan_pack_norm(b, v, x, y, z, w, false); } -static nir_ssa_def * -pan_pack_snorm(nir_builder *b, nir_ssa_def *v, - unsigned x, unsigned y, unsigned z, unsigned w) -{ - return pan_pack_norm(b, v, x, y, z, w, true); -} - /* RGB10_A2 is packed in the tilebuffer as the bottom 3 bytes being the top * 8-bits of RGB and the top byte being RGBA as 2-bits packed. As imirkin * pointed out, this means free conversion to RGBX8 */