diff options
author | Samuel Pitoiset <[email protected]> | 2017-03-29 01:34:05 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-06-14 10:04:36 +0200 |
commit | 8a68b4de080ea3e88a9dee91730d9c35d496f6e0 (patch) | |
tree | 7ce674b435275d9c4b4cf94a9ee6427e5f82ad15 /src/gallium/docs | |
parent | 973822bcee577a01f8b8281bbcd2261d18f074b3 (diff) |
gallium: add ARB_bindless_texture interface
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/docs')
-rw-r--r-- | src/gallium/docs/source/context.rst | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst index 9bcc0e6c7b5..6563a7e1503 100644 --- a/src/gallium/docs/source/context.rst +++ b/src/gallium/docs/source/context.rst @@ -757,6 +757,26 @@ notifications are single-shot, i.e. subsequent calls to * ``set_device_reset_callback`` sets a callback which will be called when a device reset is detected. The callback is only called synchronously. +Bindless +^^^^^^^^ + +If PIPE_CAP_BINDLESS_TEXTURE is TRUE, the following ``pipe_context`` functions +are used to create/delete bindless handles, and to make them resident in the +current context when they are going to be used by shaders. + +* ``create_texture_handle`` creates a 64-bit unsigned integer texture handle + that is going to be directly used in shaders. +* ``delete_texture_handle`` deletes a 64-bit unsigned integer texture handle. +* ``make_texture_handle_resident`` makes a 64-bit unsigned texture handle + resident in the current context to be accessible by shaders for texture + mapping. +* ``create_image_handle`` creates a 64-bit unsigned integer image handle that + is going to be directly used in shaders. +* ``delete_image_handle`` deletes a 64-bit unsigned integer image handle. +* ``make_image_handle_resident`` makes a 64-bit unsigned integer image handle + resident in the current context to be accessible by shaders for image loads, + stores and atomic operations. + Using several contexts ---------------------- |