gallium: Rename MUL_ZERO_WINS to LEGACY_MATH_RULES.
This is a clearer name for what it does than MUL_ZERO_WINS, and matches up to the new name in shader_info. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16176>
This commit is contained in:
@@ -424,8 +424,8 @@ The integer capabilities:
|
||||
and a larger value would mean that multiple render targets are supported.
|
||||
* ``PIPE_CAP_FBFETCH_COHERENT``: Whether framebuffer fetches from the fragment
|
||||
shader can be guaranteed to be coherent with framebuffer writes.
|
||||
* ``PIPE_CAP_TGSI_MUL_ZERO_WINS``: Whether TGSI shaders support the
|
||||
``TGSI_PROPERTY_MUL_ZERO_WINS`` shader property.
|
||||
* ``PIPE_CAP_TGSI_LEGACY_MATH_RULES``: Whether TGSI shaders support the
|
||||
``TGSI_PROPERTY_LEGACY_MATH_RULES`` shader property.
|
||||
* ``PIPE_CAP_DOUBLES``: Whether double precision floating-point operations
|
||||
are supported.
|
||||
* ``PIPE_CAP_INT64``: Whether 64-bit integer operations are supported.
|
||||
|
||||
@@ -3783,8 +3783,8 @@ Threads per block in each dimension, if known at compile time. If the block size
|
||||
is known all three should be at least 1. If it is unknown they should all be set
|
||||
to 0 or not set.
|
||||
|
||||
MUL_ZERO_WINS
|
||||
"""""""""""""
|
||||
LEGACY_MATH_RULES
|
||||
"""""""""""""""""
|
||||
|
||||
The MUL TGSI operation (FP32 multiplication) will return 0 if either
|
||||
of the operands are equal to 0. That means that 0 * Inf = 0. This
|
||||
|
||||
Reference in New Issue
Block a user