mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
anv: fix Wa_16013994831 macros
The commit that switched to the WA framework forgot to update one of the ifdef section. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes:e6e320fc79("anv: make Wa_16013994831 to use intel_needs_workaround") Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27676> (cherry picked from commit63676ed502)
This commit is contained in:
parent
71442fdd6f
commit
8dd90997d7
3 changed files with 4 additions and 2 deletions
|
|
@ -2674,7 +2674,7 @@
|
|||
"description": "anv: fix Wa_16013994831 macros",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "e6e320fc7996db60231d277bc3e28fdd01018b33",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ static const uint32_t genX(vk_to_intel_blend_op)[] = {
|
|||
static void
|
||||
genX(streamout_prologue)(struct anv_cmd_buffer *cmd_buffer)
|
||||
{
|
||||
#if GFX_VERx10 >= 120
|
||||
#if INTEL_WA_16013994831_GFX_VER
|
||||
/* Wa_16013994831 - Disable preemption during streamout, enable back
|
||||
* again if XFB not used by the current pipeline.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -80,7 +80,9 @@ emit_common_so_memcpy(struct anv_batch *batch, struct anv_device *device,
|
|||
anv_batch_emit(batch, GENX(3DSTATE_MESH_CONTROL), mesh);
|
||||
anv_batch_emit(batch, GENX(3DSTATE_TASK_CONTROL), task);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if INTEL_WA_16013994831_GFX_VER
|
||||
/* Wa_16013994831 - Disable preemption during streamout. */
|
||||
if (intel_needs_workaround(device->info, 16013994831))
|
||||
genX(batch_set_preemption)(batch, device->info, _3D, false);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue