projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e9ad59
)
freedreno/a2xx: fix unused variable warning
author
Rob Clark
<robdclark@gmail.com>
Fri, 25 Jan 2019 20:02:13 +0000
(15:02 -0500)
committer
Rob Clark
<robdclark@gmail.com>
Sat, 26 Jan 2019 15:44:31 +0000
(10:44 -0500)
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a2xx/ir2_nir.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/a2xx/ir2_nir.c
b/src/gallium/drivers/freedreno/a2xx/ir2_nir.c
index 8679116976b1fe37af2fe27509a32eab214114bc..8345e94c36372a1322bc8f1b48a470948ad7622c 100644
(file)
--- a/
src/gallium/drivers/freedreno/a2xx/ir2_nir.c
+++ b/
src/gallium/drivers/freedreno/a2xx/ir2_nir.c
@@
-350,7
+350,6
@@
instr_create_alu_reg(struct ir2_context *ctx, nir_op opcode,
{
struct ir2_instr *instr;
struct ir2_reg *reg;
- unsigned ncomp, max_comp;
reg = share_reg ? share_reg->reg : &ctx->reg[ctx->reg_count++];
reg->ncomp = MAX2(reg->ncomp, util_logbase2(write_mask) + 1);