projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
843ff4b
)
Fix an unused variable warning
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 25 May 2015 16:27:08 +0000
(09:27 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 25 May 2015 16:27:10 +0000
(09:27 -0700)
Trivial. Deleted the 2 unneeded lines.
src/mesa/program/prog_to_nir.c
patch
|
blob
|
history
diff --git
a/src/mesa/program/prog_to_nir.c
b/src/mesa/program/prog_to_nir.c
index 3067b2516bf6c7577ba34c2f0b458d2e6f4a3875..5ca81e54b7f2a973463a47d5e56f4b943eff3a3e 100644
(file)
--- a/
src/mesa/program/prog_to_nir.c
+++ b/
src/mesa/program/prog_to_nir.c
@@
-188,8
+188,6
@@
ptn_get_src(struct ptn_compile *c, const struct prog_src_register *prog_src)
/* This is a negative offset which should be added to the address
* register's value.
*/
- nir_alu_src addr_src = { NIR_SRC_INIT };
- addr_src.src = nir_src_for_reg(c->addr_reg);
reladdr = nir_iadd(b, reladdr, nir_imm_int(b, prog_src->Index));
deref_arr->base_offset = 0;