iris: use intel_needs_workaround with 14015055625
authorTapani Pälli <tapani.palli@intel.com>
Fri, 15 Dec 2023 08:15:32 +0000 (10:15 +0200)
committerEric Engestrom <eric@engestrom.ch>
Wed, 20 Dec 2023 00:04:52 +0000 (00:04 +0000)
commitead6751f58c016f53fbb2793fe69b9e3e53a4dbb
treea2cba1e91e952e361c6cd8bf904be02bdb7568a5
parent5ea94d17248a91e3598306ada8085a7c144adb15
iris: use intel_needs_workaround with 14015055625

This was missing from the FS stage primitive-id check. Also add usage
of macro to avoid running any extra code on platforms where this WA
would not apply.

Fixes: 0f147240398 ("iris: Implement Wa_14015297576")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26709>
(cherry picked from commit 82553774e2d1c3edff4c8e8683808d159846f83d)
.pick_status.json
src/gallium/drivers/iris/iris_state.c