Lines Matching defs:objects
725 * surface state objects up-front when VkImageView is created. In order
726 * for this to work, surface state objects need to be allocated from a
731 * on our hardware is that you have a big pool of surface state objects
1187 struct drm_i915_gem_exec_object2 * objects;
1191 /* Allocated length of the 'objects' and 'bos' arrays */
1232 vk_free(exec->alloc, exec->objects);
1274 obj = &exec->objects[bo->exec_obj_index];
1281 uint32_t new_len = exec->objects ? exec->array_length * 2 : 64;
1295 if (exec->objects) {
1296 memcpy(new_objects, exec->objects,
1302 vk_free(exec->alloc, exec->objects);
1305 exec->objects = new_objects;
1313 obj = &exec->objects[bo->exec_obj_index];
1565 exec->objects[i].offset = exec->bos[i]->offset;
1805 /* Add the BOs for all user allocated memory objects because we can't
1829 * 1) The addresses written in the objects must match the
1884 struct drm_i915_gem_exec_object2 tmp_obj = execbuf->objects[idx];
1887 execbuf->objects[idx] = execbuf->objects[last_idx];
1891 execbuf->objects[last_idx] = tmp_obj;
1926 .buffers_ptr = (uintptr_t) execbuf->objects,
1957 .buffers_ptr = (uintptr_t) execbuf->objects,
1989 struct drm_i915_gem_exec_object2 tmp_obj = execbuf->objects[idx];
1992 execbuf->objects[idx] = execbuf->objects[last_idx];
1996 execbuf->objects[last_idx] = tmp_obj;
2005 .buffers_ptr = (uintptr_t) execbuf->objects,
2041 struct drm_i915_gem_exec_object2 *objects = execbuf.objects;
2044 assert(execbuf.bos[k]->offset == objects[k].offset);
2045 execbuf.bos[k]->offset = objects[k].offset;
2276 struct drm_i915_gem_exec_object2 *objects = execbuf.objects;
2279 assert(execbuf.bos[k]->offset == objects[k].offset);
2280 execbuf.bos[k]->offset = objects[k].offset;
2458 .buffers_ptr = (uintptr_t) execbuf.objects,