diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/freedreno/a6xx/fd6_texture.c | 3 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/ir3_cache.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/v3d/v3d_context.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/v3d/v3d_job.c | 6 | ||||
-rw-r--r-- | src/gallium/drivers/v3d/v3d_program.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/vc4/vc4_context.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/vc4/vc4_job.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/vc4/vc4_program.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qir_live_variables.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qir_lower_uniforms.c | 1 |
10 files changed, 0 insertions, 20 deletions
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_texture.c b/src/gallium/drivers/freedreno/a6xx/fd6_texture.c index a48c4ee1ad0..0fa20e01e67 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_texture.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_texture.c @@ -151,7 +151,6 @@ fd6_sampler_state_delete(struct pipe_context *pctx, void *hwcso) struct fd6_context *fd6_ctx = fd6_context(fd_context(pctx)); struct fd6_sampler_stateobj *samp = hwcso; - struct hash_entry *entry; hash_table_foreach(fd6_ctx->tex_cache, entry) { struct fd6_texture_state *state = entry->data; @@ -344,7 +343,6 @@ fd6_sampler_view_destroy(struct pipe_context *pctx, struct fd6_context *fd6_ctx = fd6_context(fd_context(pctx)); struct fd6_pipe_sampler_view *view = fd6_pipe_sampler_view(_view); - struct hash_entry *entry; hash_table_foreach(fd6_ctx->tex_cache, entry) { struct fd6_texture_state *state = entry->data; @@ -508,7 +506,6 @@ fd6_texture_fini(struct pipe_context *pctx) { struct fd6_context *fd6_ctx = fd6_context(fd_context(pctx)); - struct hash_entry *entry; hash_table_foreach(fd6_ctx->tex_cache, entry) { fd6_texture_state_destroy(entry->data); } diff --git a/src/gallium/drivers/freedreno/ir3/ir3_cache.c b/src/gallium/drivers/freedreno/ir3/ir3_cache.c index 05edeed4681..a198ef4c769 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_cache.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_cache.c @@ -76,7 +76,6 @@ struct ir3_cache * ir3_cache_create(const struct ir3_cache_funcs *funcs, void *d void ir3_cache_destroy(struct ir3_cache *cache) { /* _mesa_hash_table_destroy is so *almost* useful.. */ - struct hash_entry *entry; hash_table_foreach(cache->ht, entry) { cache->funcs->destroy_state(cache->data, entry->data); } @@ -117,7 +116,6 @@ ir3_cache_lookup(struct ir3_cache *cache, const struct ir3_cache_key *key, */ void ir3_cache_invalidate(struct ir3_cache *cache, void *stobj) { - struct hash_entry *entry; hash_table_foreach(cache->ht, entry) { const struct ir3_cache_key *key = entry->key; if ((key->fs == stobj) || (key->vs == stobj)) { diff --git a/src/gallium/drivers/v3d/v3d_context.c b/src/gallium/drivers/v3d/v3d_context.c index 2fd2fa0bbf3..12741b578e3 100644 --- a/src/gallium/drivers/v3d/v3d_context.c +++ b/src/gallium/drivers/v3d/v3d_context.c @@ -43,7 +43,6 @@ v3d_flush(struct pipe_context *pctx) { struct v3d_context *v3d = v3d_context(pctx); - struct hash_entry *entry; hash_table_foreach(v3d->jobs, entry) { struct v3d_job *job = entry->data; v3d_job_submit(v3d, job); diff --git a/src/gallium/drivers/v3d/v3d_job.c b/src/gallium/drivers/v3d/v3d_job.c index 3645305f4f0..8ba5c8996dc 100644 --- a/src/gallium/drivers/v3d/v3d_job.c +++ b/src/gallium/drivers/v3d/v3d_job.c @@ -47,8 +47,6 @@ remove_from_ht(struct hash_table *ht, void *key) static void v3d_job_free(struct v3d_context *v3d, struct v3d_job *job) { - struct set_entry *entry; - set_foreach(job->bos, entry) { struct v3d_bo *bo = (struct v3d_bo *)entry->key; v3d_bo_unreference(&bo); @@ -57,8 +55,6 @@ v3d_job_free(struct v3d_context *v3d, struct v3d_job *job) remove_from_ht(v3d->jobs, &job->key); if (job->write_prscs) { - struct set_entry *entry; - set_foreach(job->write_prscs, entry) { const struct pipe_resource *prsc = entry->key; @@ -175,7 +171,6 @@ v3d_flush_jobs_reading_resource(struct v3d_context *v3d, v3d_flush_jobs_writing_resource(v3d, prsc); - struct hash_entry *entry; hash_table_foreach(v3d->jobs, entry) { struct v3d_job *job = entry->data; @@ -351,7 +346,6 @@ v3d_clif_dump(struct v3d_context *v3d, struct v3d_job *job) stderr, V3D_DEBUG & V3D_DEBUG_CL); - struct set_entry *entry; set_foreach(job->bos, entry) { struct v3d_bo *bo = (void *)entry->key; char *name = ralloc_asprintf(NULL, "%s_0x%x", diff --git a/src/gallium/drivers/v3d/v3d_program.c b/src/gallium/drivers/v3d/v3d_program.c index e9fae77d5c0..1d4b0bb2080 100644 --- a/src/gallium/drivers/v3d/v3d_program.c +++ b/src/gallium/drivers/v3d/v3d_program.c @@ -618,7 +618,6 @@ v3d_shader_state_delete(struct pipe_context *pctx, void *hwcso) struct v3d_context *v3d = v3d_context(pctx); struct v3d_uncompiled_shader *so = hwcso; - struct hash_entry *entry; hash_table_foreach(v3d->fs_cache, entry) { delete_from_cache_if_matches(v3d->fs_cache, &v3d->prog.fs, entry, so); @@ -673,7 +672,6 @@ v3d_program_fini(struct pipe_context *pctx) { struct v3d_context *v3d = v3d_context(pctx); - struct hash_entry *entry; hash_table_foreach(v3d->fs_cache, entry) { struct v3d_compiled_shader *shader = entry->data; v3d_bo_unreference(&shader->bo); diff --git a/src/gallium/drivers/vc4/vc4_context.c b/src/gallium/drivers/vc4/vc4_context.c index 9ff39c2655f..ffd7d4c8555 100644 --- a/src/gallium/drivers/vc4/vc4_context.c +++ b/src/gallium/drivers/vc4/vc4_context.c @@ -42,7 +42,6 @@ vc4_flush(struct pipe_context *pctx) { struct vc4_context *vc4 = vc4_context(pctx); - struct hash_entry *entry; hash_table_foreach(vc4->jobs, entry) { struct vc4_job *job = entry->data; vc4_job_submit(vc4, job); diff --git a/src/gallium/drivers/vc4/vc4_job.c b/src/gallium/drivers/vc4/vc4_job.c index 72569765847..f38c4647541 100644 --- a/src/gallium/drivers/vc4/vc4_job.c +++ b/src/gallium/drivers/vc4/vc4_job.c @@ -118,7 +118,6 @@ vc4_flush_jobs_reading_resource(struct vc4_context *vc4, vc4_flush_jobs_writing_resource(vc4, prsc); - struct hash_entry *entry; hash_table_foreach(vc4->jobs, entry) { struct vc4_job *job = entry->data; diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c index f734d121052..4896833177a 100644 --- a/src/gallium/drivers/vc4/vc4_program.c +++ b/src/gallium/drivers/vc4/vc4_program.c @@ -2975,7 +2975,6 @@ vc4_shader_state_delete(struct pipe_context *pctx, void *hwcso) struct vc4_context *vc4 = vc4_context(pctx); struct vc4_uncompiled_shader *so = hwcso; - struct hash_entry *entry; hash_table_foreach(vc4->fs_cache, entry) { delete_from_cache_if_matches(vc4->fs_cache, &vc4->prog.fs, entry, so); diff --git a/src/gallium/drivers/vc4/vc4_qir_live_variables.c b/src/gallium/drivers/vc4/vc4_qir_live_variables.c index 7108b3ee9b6..5629ce044d9 100644 --- a/src/gallium/drivers/vc4/vc4_qir_live_variables.c +++ b/src/gallium/drivers/vc4/vc4_qir_live_variables.c @@ -173,8 +173,6 @@ qir_setup_def(struct vc4_compile *c, struct qblock *block, int ip, static void sf_state_clear(struct hash_table *partial_update_ht) { - struct hash_entry *entry; - hash_table_foreach(partial_update_ht, entry) { struct partial_update_state *state = entry->data; diff --git a/src/gallium/drivers/vc4/vc4_qir_lower_uniforms.c b/src/gallium/drivers/vc4/vc4_qir_lower_uniforms.c index ad19f06d31b..d7c22e75c29 100644 --- a/src/gallium/drivers/vc4/vc4_qir_lower_uniforms.c +++ b/src/gallium/drivers/vc4/vc4_qir_lower_uniforms.c @@ -136,7 +136,6 @@ qir_lower_uniforms(struct vc4_compile *c) */ uint32_t max_count = 0; uint32_t max_index = 0; - struct hash_entry *entry; hash_table_foreach(ht, entry) { uint32_t count = (uintptr_t)entry->data; uint32_t index = (uintptr_t)entry->key - 1; |