Lines Matching defs:handle
389 but drivers can't quite handle it yet */
443 uint64_t handle = bound_handles->handles[i];
445 pipe->make_texture_handle_resident(pipe, handle, false);
446 pipe->delete_texture_handle(pipe, handle);
483 uint64_t handle = bound_handles->handles[i];
485 pipe->make_image_handle_resident(pipe, handle, GL_READ_WRITE, false);
486 pipe->delete_image_handle(pipe, handle);
509 * Create a texture handle from a texture unit.
535 * Create an image handle from an image unit.
560 GLuint64 handle;
575 /* Request a new texture handle from the driver and make it resident. */
576 handle = st_create_texture_handle_from_unit(st, prog, sampler->unit);
577 if (!handle)
580 pipe->make_texture_handle_resident(st->pipe, handle, true);
582 /* Overwrite the texture unit value by the resident handle before
585 *(uint64_t *)sampler->data = handle;
587 /* Store the handle in the context. */
591 bound_handles->handles[bound_handles->num_handles] = handle;
607 GLuint64 handle;
622 /* Request a new image handle from the driver and make it resident. */
623 handle = st_create_image_handle_from_unit(st, prog, image->unit);
624 if (!handle)
627 pipe->make_image_handle_resident(st->pipe, handle, GL_READ_WRITE, true);
629 /* Overwrite the image unit value by the resident handle before uploading
632 *(uint64_t *)image->data = handle;
634 /* Store the handle in the context. */
638 bound_handles->handles[bound_handles->num_handles] = handle;