mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 13:50:25 +01:00
anv: Update Wa_16014390852 for MTL
On MTL Wa_16014390852 is fixed on B0 stepping so we can't use a macro check anymore for this workaround. cc: mesa-stable Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24812>
This commit is contained in:
parent
a29e2c6fbc
commit
a425ae17ac
1 changed files with 6 additions and 1 deletions
|
|
@ -1111,7 +1111,12 @@ VkResult genX(CreateSampler)(
|
|||
void
|
||||
genX(apply_task_urb_workaround)(struct anv_cmd_buffer *cmd_buffer)
|
||||
{
|
||||
#if INTEL_NEEDS_WA_16014390852
|
||||
#if GFX_VERx10 >= 125
|
||||
const struct intel_device_info *devinfo = &cmd_buffer->device->physical->info;
|
||||
|
||||
if (!intel_needs_workaround(devinfo, 16014390852))
|
||||
return;
|
||||
|
||||
if (cmd_buffer->state.current_pipeline != _3D ||
|
||||
!cmd_buffer->state.gfx.used_task_shader)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue