mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 18:40:13 +01:00
aco: update comment about preserving fp16/fp64 denormals
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>
This commit is contained in:
parent
7f511efa16
commit
f5a5674178
1 changed files with 2 additions and 1 deletions
|
|
@ -10505,7 +10505,8 @@ void setup_fp_mode(isel_context *ctx, nir_shader *shader)
|
|||
float_controls & (FLOAT_CONTROLS_ROUNDING_MODE_RTZ_FP16 | FLOAT_CONTROLS_ROUNDING_MODE_RTZ_FP64 |
|
||||
FLOAT_CONTROLS_ROUNDING_MODE_RTE_FP16 | FLOAT_CONTROLS_ROUNDING_MODE_RTE_FP64);
|
||||
|
||||
/* default to preserving fp16 and fp64 denorms, since it's free */
|
||||
/* default to preserving fp16 and fp64 denorms, since it's free for fp64 and
|
||||
* the precision seems needed for Wolfenstein: Youngblood to render correctly */
|
||||
if (program->next_fp_mode.must_flush_denorms16_64)
|
||||
program->next_fp_mode.denorm16_64 = 0;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue