mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
i965/fs: Don't apply POW/FDIV workaround on Gen10+
The documentation says it applies only to Gens 8 and 9. Reviewed-by: Scott D Phillips <scott.d.phillips@intel.com>
This commit is contained in:
parent
d407935327
commit
2082c32950
1 changed files with 1 additions and 0 deletions
|
|
@ -1639,6 +1639,7 @@ fs_generator::generate_code(const cfg_t *cfg, int dispatch_width)
|
|||
* and empirically this affects CHV as well.
|
||||
*/
|
||||
if (devinfo->gen >= 8 &&
|
||||
devinfo->gen <= 9 &&
|
||||
p->nr_insn > 1 &&
|
||||
brw_inst_opcode(devinfo, brw_last_inst) == BRW_OPCODE_MATH &&
|
||||
brw_inst_math_function(devinfo, brw_last_inst) == BRW_MATH_FUNCTION_POW &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue