intel/fs: restore message layout changes for cube array

This reverts commit bc04e2daca that handled the change as a WA while
this is about a new feature, change done in message layout. Patch also
changes the original comment to not refer to Wa but bspec page.

Fixes: bc04e2daca ("intel/fs: use generated helpers for Wa_1209978020 / Wa_18012201914")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Mark Janes <markjanes@swizzler.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22068>
This commit is contained in:
Tapani Pälli
2023-03-22 13:23:16 +02:00
committed by Marge Bot
parent 3d2d4728aa
commit 6538c5bcd4
2 changed files with 5 additions and 5 deletions

View File

@@ -956,8 +956,9 @@ brw_preprocess_nir(const struct brw_compiler *compiler, nir_shader *nir,
.lower_txf_offset = true,
.lower_rect_offset = true,
.lower_txd_cube_map = true,
.lower_txd_3d = intel_needs_workaround(devinfo, 18012201914),
.lower_txd_array = intel_needs_workaround(devinfo, 18012201914),
/* For below, See bspec 45942, "Enable new message layout for cube array" */
.lower_txd_3d = devinfo->verx10 >= 125,
.lower_txd_array = devinfo->verx10 >= 125,
.lower_txb_shadow_clamp = true,
.lower_txd_shadow_clamp = true,
.lower_txd_offset_clamp = true,