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:
1deba36
)
nir: Drop nir_dest_init
author
Alyssa Rosenzweig
<alyssa@rosenzweig.io>
Mon, 14 Aug 2023 13:37:25 +0000
(09:37 -0400)
committer
Marge Bot
<emma+marge@anholt.net>
Mon, 14 Aug 2023 21:22:53 +0000
(21:22 +0000)
Unused.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24674>
src/compiler/nir/nir.h
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir.h
b/src/compiler/nir/nir.h
index
3151ce8
..
9b56242
100644
(file)
--- a/
src/compiler/nir/nir.h
+++ b/
src/compiler/nir/nir.h
@@
-1042,15
+1042,6
@@
typedef struct {
nir_def ssa;
} nir_dest;
-static inline nir_dest
-nir_dest_init(void)
-{
- nir_dest dest = { { NULL } };
- return dest;
-}
-
-#define NIR_DEST_INIT nir_dest_init()
-
static inline nir_src
nir_src_for_ssa(nir_def *def)
{