瀏覽代碼

v3d: remove unused variable

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
master
Iago Toral Quiroga 5 年之前
父節點
當前提交
f63750accf
共有 1 個檔案被更改,包括 1 行新增4 行删除
  1. 1
    4
      src/broadcom/compiler/nir_to_vir.c

+ 1
- 4
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];


Loading…
取消
儲存