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:
0ecdf04
)
nir: remove nir_src_get_parent_instr()
author
Connor Abbott
<cwabbott0@gmail.com>
Wed, 24 Jun 2015 19:43:15 +0000
(12:43 -0700)
committer
Connor Abbott
<cwabbott0@gmail.com>
Tue, 30 Jun 2015 18:18:27 +0000
(11:18 -0700)
It's now unused.
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/glsl/nir/nir.h
patch
|
blob
|
history
diff --git
a/src/glsl/nir/nir.h
b/src/glsl/nir/nir.h
index
8c99845
..
e48db72
100644
(file)
--- a/
src/glsl/nir/nir.h
+++ b/
src/glsl/nir/nir.h
@@
-565,16
+565,6
@@
nir_src_for_reg(nir_register *reg)
return src;
}
-static inline nir_instr *
-nir_src_get_parent_instr(const nir_src *src)
-{
- if (src->is_ssa) {
- return src->ssa->parent_instr;
- } else {
- return src->reg.reg->parent_instr;
- }
-}
-
static inline nir_dest
nir_dest_for_reg(nir_register *reg)
{