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:
committed by
Marge Bot
parent
a29e2c6fbc
commit
a425ae17ac
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user