summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2020-08-05 10:21:46 -0700
committerMarge Bot <eric+marge@anholt.net>2020-08-05 21:00:44 +0000
commitc4e0cae90c52a13bd1081ae6097de2756348bf9c (patch)
treed99b453b7378d38811c95883d414629d79d779e1 /docs
parent0a763c0c86bb9845c2eac9726690d83b82d46978 (diff)
gallium: replace 16BIT_TEMPS cap with 16BIT_CONSTS
All drivers that support mediump lowering should support 16BIT_TEMPS, but some do not also want 16b consts to be lowered. Replace the pipe cap in preperation to remove LowerPrecisionTemporaries. Note: also updates reference checksums for the arm64_a630_traces job, due to lowering more to 16b Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6189>
Diffstat (limited to 'docs')
-rw-r--r--docs/gallium/screen.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/gallium/screen.rst b/docs/gallium/screen.rst
index 4304764033a..2f0b4bf0d88 100644
--- a/docs/gallium/screen.rst
+++ b/docs/gallium/screen.rst
@@ -663,8 +663,8 @@ MOV OUT[0], CONST[0][3] # copy vector 3 of constbuf 0
DDX and DDY opcodes are supported.
* ``PIPE_SHADER_CAP_INT16``: Whether 16-bit signed and unsigned integer types
are supported.
-* ``PIPE_SHADER_CAP_GLSL_16BIT_TEMPS``: Lower mediump temporaries to 16-bit.
- This generates 16-bit phis in NIR, 16-bit loop counters, and 16-bit indirect arrays.
+* ``PIPE_SHADER_CAP_GLSL_16BIT_CONSTS``: Lower mediump constants to 16-bit.
+ Note that 16-bit constants are not lowered to uniforms in GLSL.
* ``PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS``: The maximum number of texture
samplers.
* ``PIPE_SHADER_CAP_PREFERRED_IR``: Preferred representation of the