summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2022-12-24 11:04:08 -0500
committerMarek Olšák <marek.olsak@amd.com>2023-01-01 16:00:07 -0500
commitb9caddb4a72ab906f8f9df047ca0ffe811820917 (patch)
tree113b9bd49015b72836c34aa067d6f5a80c528e19 /docs
parent83b31b11a595739e80f98be66d8b290af7670766 (diff)
glthread,gallium: add a CAP to disable glBufferSubData optimization in glthread
it regresses performance on iris Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20379>
Diffstat (limited to 'docs')
-rw-r--r--docs/gallium/screen.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/gallium/screen.rst b/docs/gallium/screen.rst
index a14ec52a2e3..cc75a2869dc 100644
--- a/docs/gallium/screen.rst
+++ b/docs/gallium/screen.rst
@@ -638,6 +638,7 @@ The integer capabilities:
* ``PIPE_CAP_MAX_CONSTANT_BUFFER_SIZE_UINT``: Maximum bound constant buffer size in bytes. This is unsigned integer with the maximum of 4GB - 1. This applies to all constant buffers used by UBOs, unlike ``PIPE_SHADER_CAP_MAX_CONST_BUFFER0_SIZE``, which is specifically for GLSL uniforms.
* ``PIPE_CAP_HARDWARE_GL_SELECT``: Enable hardware accelerated GL_SELECT for this driver.
* ``PIPE_CAP_DEVICE_PROTECTED_CONTEXT``: Whether the device supports protected / encrypted context which can manipulate protected / encrypted content (some devices might need protected contexts to access protected content, whereas ``PIPE_CAP_DEVICE_PROTECTED_SURFACE`` does not require any particular context to do so).
+* ``PIPE_CAP_ALLOW_GLTHREAD_BUFFER_SUBDATA_OPT``: Whether to allow glthread to convert glBufferSubData to glCopyBufferSubData. This may improve or worsen performance depending on your driver.
.. _pipe_capf: