Module: Mesa
Branch: main
Commit: 6073a149b9a2207ceb7396dc32f68e9695ee4f60
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6073a149b9a2207ceb7396dc32f68e9695ee4f60

Author: Marek Olšák <[email protected]>
Date:   Fri Nov 17 15:55:06 2023 -0500

gallium/docs: make CAP doc order match definition order

Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26262>

---

 docs/gallium/screen.rst              | 4 ++--
 src/gallium/include/pipe/p_defines.h | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/docs/gallium/screen.rst b/docs/gallium/screen.rst
index e8efe0ce554..f66d9f26cfc 100644
--- a/docs/gallium/screen.rst
+++ b/docs/gallium/screen.rst
@@ -643,10 +643,10 @@ The integer capabilities:
 * ``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_CAP_VALIDATE_ALL_DIRTY_STATES`` : Whether state validation must also 
validate the state changes for resources types used in the previous shader but 
not in the current shader.
-* ``PIPE_CAP_HAS_CONST_BW``: Whether the driver only supports 
non-data-dependent layouts (ie. not bandwidth compressed formats like AFBC, 
UBWC, etc), or supports ``PIPE_BIND_CONST_BW`` to disable data-dependent 
layouts on requested resources.
 * ``PIPE_CAP_NULL_TEXTURES`` : Whether the driver supports sampling from NULL 
textures.
 * ``PIPE_CAP_ASTC_VOID_EXTENTS_NEED_DENORM_FLUSH`` : True if the 
driver/hardware needs denormalized values in ASTC void extent blocks flushed to 
zero.
+* ``PIPE_CAP_VALIDATE_ALL_DIRTY_STATES`` : Whether state validation must also 
validate the state changes for resources types used in the previous shader but 
not in the current shader.
+* ``PIPE_CAP_HAS_CONST_BW``: Whether the driver only supports 
non-data-dependent layouts (ie. not bandwidth compressed formats like AFBC, 
UBWC, etc), or supports ``PIPE_BIND_CONST_BW`` to disable data-dependent 
layouts on requested resources.
 
 .. _pipe_capf:
 
diff --git a/src/gallium/include/pipe/p_defines.h 
b/src/gallium/include/pipe/p_defines.h
index cefce408ef0..9ea8dcc49ae 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -932,7 +932,6 @@ enum pipe_cap
    PIPE_CAP_ALLOW_GLTHREAD_BUFFER_SUBDATA_OPT,
    PIPE_CAP_NULL_TEXTURES,
    PIPE_CAP_ASTC_VOID_EXTENTS_NEED_DENORM_FLUSH,
-
    PIPE_CAP_VALIDATE_ALL_DIRTY_STATES,
    PIPE_CAP_HAS_CONST_BW,
    PIPE_CAP_LAST,

Reply via email to