mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 15:40:11 +01:00
intel/compiler: use the WA framework when emitting WA 14014595444
Fixes: d276ad4 "intel/compiler: implement Wa_14014595444 for DG2"
Signed-off-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36262>
This commit is contained in:
parent
fed9bca207
commit
c978394e00
1 changed files with 2 additions and 2 deletions
|
|
@ -1113,8 +1113,8 @@ lower_sampler_logical_send(const brw_builder &bld, brw_inst *inst,
|
|||
bld.MOV(sources[length++], min_lod);
|
||||
|
||||
/* Wa_14014595444: Populate MLOD as parameter 5 (twice). */
|
||||
if (devinfo->verx10 == 125 && op == FS_OPCODE_TXB_LOGICAL &&
|
||||
shadow_c.file == BAD_FILE)
|
||||
if (intel_needs_workaround(devinfo, 14014595444) &&
|
||||
op == FS_OPCODE_TXB_LOGICAL && shadow_c.file == BAD_FILE)
|
||||
bld.MOV(sources[length++], min_lod);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue