Lines Matching refs:entry
84 delete_bo(hash_entry *entry)
86 struct d3d12_bo *bo = (struct d3d12_bo *)entry->key;
91 delete_sampler_view(set_entry *entry)
93 struct pipe_sampler_view *pres = (struct pipe_sampler_view *)entry->key;
98 delete_surface(set_entry *entry)
100 struct pipe_surface *surf = (struct pipe_surface *)entry->key;
105 delete_object(set_entry *entry)
107 ID3D12Object *object = (ID3D12Object *)entry->key;
242 hash_entry *entry = _mesa_hash_table_search(batch->bos, bo);
243 if (entry == NULL)
245 bool resource_was_written = ((batch_bo_reference_state)(size_t)entry->data & batch_bo_reference_written) != 0;
254 hash_entry *entry = _mesa_hash_table_search(batch->bos, res->bo);
255 if (entry == NULL) {
257 entry = _mesa_hash_table_insert(batch->bos, res->bo, NULL);
260 size_t old_data = (size_t)entry->data;
261 entry->data = (void*)(old_data | new_data);
268 struct set_entry *entry = _mesa_set_search(batch->sampler_views, sv);
269 if (!entry) {
270 entry = _mesa_set_add(batch->sampler_views, sv);
288 struct set_entry *entry = _mesa_set_search(batch->objects, object);
289 if (!entry) {
290 entry = _mesa_set_add(batch->objects, object);