projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52cbef0
)
v3d: remove unused variable
author
Iago Toral Quiroga
<itoral@igalia.com>
Mon, 28 Oct 2019 09:29:15 +0000
(10:29 +0100)
committer
Iago Toral Quiroga
<itoral@igalia.com>
Mon, 16 Dec 2019 07:42:37 +0000
(08:42 +0100)
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
src/broadcom/compiler/nir_to_vir.c
patch
|
blob
|
history
diff --git
a/src/broadcom/compiler/nir_to_vir.c
b/src/broadcom/compiler/nir_to_vir.c
index 6c079bda6af9df368040473b357fe7f63d729935..6b566c68e07ee1bb8c7891f91864cbbf8f5db836 100644
(file)
--- a/
src/broadcom/compiler/nir_to_vir.c
+++ b/
src/broadcom/compiler/nir_to_vir.c
@@
-1568,11
+1568,8
@@
static void
ntq_setup_fs_inputs(struct v3d_compile *c)
{
unsigned num_entries = 0;
- unsigned num_components = 0;
- nir_foreach_variable(var, &c->s->inputs) {
+ nir_foreach_variable(var, &c->s->inputs)
num_entries++;
- num_components += glsl_get_components(var->type);
- }
nir_variable *vars[num_entries];