mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 03:38:18 +02:00
aco/optimizer: stop checking precise for med3
No Foz-DB changes. Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39641>
This commit is contained in:
parent
fbc0562203
commit
77d05ac1ba
1 changed files with 2 additions and 3 deletions
|
|
@ -4004,9 +4004,8 @@ create_med3_cb(opt_ctx& ctx, alu_opt_info& info)
|
|||
{
|
||||
aco_type type = instr_info.alu_opcode_infos[(int)info.opcode].def_types[0];
|
||||
|
||||
/* NaN correctness needs max first, then min. TODO only use isNaNPreserve */
|
||||
if (!max_first && type.base_type == aco_base_type_float &&
|
||||
(info.defs[0].isPrecise() || info.defs[0].isNaNPreserve()))
|
||||
/* NaN correctness needs max first, then min. */
|
||||
if (!max_first && type.base_type == aco_base_type_float && info.defs[0].isNaNPreserve())
|
||||
return false;
|
||||
|
||||
uint64_t upper = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue