projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dd35e0
)
pan/lower_framebuffer: Remove unused pack
author
Alyssa Rosenzweig
<alyssa@collabora.com>
Fri, 23 Dec 2022 01:16:23 +0000
(20:16 -0500)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 23 Dec 2022 16:27:16 +0000
(16:27 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20420>
src/panfrost/util/pan_lower_framebuffer.c
patch
|
blob
|
history
diff --git
a/src/panfrost/util/pan_lower_framebuffer.c
b/src/panfrost/util/pan_lower_framebuffer.c
index
946ae5c
..
b030902
100644
(file)
--- 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 */