Lines Matching refs:prsc
52 const struct pipe_resource *prsc = entry->key; in v3d_job_free() local
54 _mesa_hash_table_remove_key(v3d->write_jobs, prsc); in v3d_job_free()
135 v3d_job_add_write_resource(struct v3d_job *job, struct pipe_resource *prsc) in v3d_job_add_write_resource() argument
145 _mesa_set_add(job->write_prscs, prsc); in v3d_job_add_write_resource()
146 _mesa_hash_table_insert(v3d->write_jobs, prsc, job); in v3d_job_add_write_resource()
161 v3d_job_add_tf_write_resource(struct v3d_job *job, struct pipe_resource *prsc) in v3d_job_add_tf_write_resource() argument
163 v3d_job_add_write_resource(job, prsc); in v3d_job_add_tf_write_resource()
168 _mesa_set_add(job->tf_write_prscs, prsc); in v3d_job_add_tf_write_resource()
173 struct pipe_resource *prsc) in v3d_job_writes_resource_from_tf() argument
181 return _mesa_set_search(job->tf_write_prscs, prsc) != NULL; in v3d_job_writes_resource_from_tf()
186 struct pipe_resource *prsc, in v3d_flush_jobs_writing_resource() argument
191 prsc); in v3d_flush_jobs_writing_resource()
192 struct v3d_resource *rsc = v3d_resource(prsc); in v3d_flush_jobs_writing_resource()
226 needs_flush = !v3d_job_writes_resource_from_tf(job, prsc); in v3d_flush_jobs_writing_resource()
235 struct pipe_resource *prsc, in v3d_flush_jobs_reading_resource() argument
239 struct v3d_resource *rsc = v3d_resource(prsc); in v3d_flush_jobs_reading_resource()
247 v3d_flush_jobs_writing_resource(v3d, prsc, flush_cond, in v3d_flush_jobs_reading_resource()