mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
intel/fs: use generated workaround helpers for Wa_14010017096
This workaround does not apply beyond gen 12.0. Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21746>
This commit is contained in:
parent
66d2ae0386
commit
b96019f82b
2 changed files with 3 additions and 2 deletions
|
|
@ -1754,7 +1754,8 @@ fs_generator::generate_code(const cfg_t *cfg, int dispatch_width,
|
|||
*
|
||||
* Clear accumulator register before end of thread.
|
||||
*/
|
||||
if (inst->eot && is_accum_used && devinfo->ver >= 12) {
|
||||
if (inst->eot && is_accum_used &&
|
||||
intel_needs_workaround(devinfo, 14010017096)) {
|
||||
brw_set_default_exec_size(p, BRW_EXECUTE_16);
|
||||
brw_set_default_mask_control(p, BRW_MASK_DISABLE);
|
||||
brw_set_default_predicate_control(p, BRW_PREDICATE_NONE);
|
||||
|
|
|
|||
|
|
@ -1081,7 +1081,7 @@ backend_instruction::writes_accumulator_implicitly(const struct intel_device_inf
|
|||
(opcode >= FS_OPCODE_DDX_COARSE && opcode <= FS_OPCODE_LINTERP))) ||
|
||||
(opcode == FS_OPCODE_LINTERP &&
|
||||
(!devinfo->has_pln || devinfo->ver <= 6)) ||
|
||||
(eot && devinfo->ver >= 12); /* See Wa_14010017096. */
|
||||
(eot && intel_needs_workaround(devinfo, 14010017096));
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue