diff options
author | Marek Olšák <marek.olsak@amd.com> | 2021-02-12 09:32:25 -0500 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-04-13 05:07:42 +0000 |
commit | d7250b0b088bf14e3150c89446703b54a868a9cb (patch) | |
tree | f0c54f449dc52af0235dfbb07d7f51e10d0c07d1 /docs | |
parent | b19a836413160a4434459985bfd36ba6aab27e84 (diff) |
gallium: add PIPE_SHADER_CAP_FP16_CONST_BUFFERS for FP16 uniforms
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9050>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/gallium/screen.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/gallium/screen.rst b/docs/gallium/screen.rst index 6f16f8aec15..cdc1467c78a 100644 --- a/docs/gallium/screen.rst +++ b/docs/gallium/screen.rst @@ -685,6 +685,11 @@ MOV OUT[0], CONST[0][3] # copy vector 3 of constbuf 0 If unsupported, half precision ops need to be lowered to full precision. * ``PIPE_SHADER_CAP_FP16_DERIVATIVES``: Whether half precision floating-point DDX and DDY opcodes are supported. +* ``PIPE_SHADER_CAP_FP16_CONST_BUFFERS``: Whether half precision floating-point + constant buffer loads are supported. Drivers are recommended to report 0 + if x86 F16C is not supported by the CPU (or an equivalent instruction set + on other CPU architectures), otherwise they could be impacted by emulated + FP16 conversions in glUniform. * ``PIPE_SHADER_CAP_INT16``: Whether 16-bit signed and unsigned integer types are supported. * ``PIPE_SHADER_CAP_GLSL_16BIT_CONSTS``: Lower mediump constants to 16-bit. |