docs/tgsi: xDArray -> xD_ARRAY
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 11 Nov 2022 07:58:24 +0000 (08:58 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 15 Nov 2022 10:01:15 +0000 (10:01 +0000)
This matches what we have in tgsi_strings.c, as well as the non-constant
part of the corresponding enum tgsi_texture_type values.

Reviewed-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19719>

docs/gallium/tgsi.rst

index b3059dc..986c67b 100644 (file)
@@ -3576,7 +3576,7 @@ DCL SVIEW[#], resource, type(s)
 Declares a shader input sampler view and assigns it to a SVIEW[#]
 register.
 
-resource can be one of BUFFER, 1D, 2D, 3D, 1DArray and 2DArray.
+resource can be one of BUFFER, 1D, 2D, 3D, 1D_ARRAY and 2D_ARRAY.
 
 type must be 1 or 4 entries (if specifying on a per-component
 level) out of UNORM, SNORM, SINT, UINT and FLOAT.
@@ -3604,8 +3604,8 @@ DCL RES[#], resource [, WR] [, RAW]
 Declares a shader input resource and assigns it to a RES[#]
 register.
 
-resource can be one of BUFFER, 1D, 2D, 3D, CUBE, 1DArray and
-2DArray.
+resource can be one of BUFFER, 1D, 2D, 3D, CUBE, 1D_ARRAY and
+2D_ARRAY.
 
 If the RAW keyword is not specified, the texture data will be
 subject to conversion, swizzling and scaling as required to yield