intel/brw: Allow CSE on TXF_CMS_W_GFX12_LOGICAL

This was missed when adding the new XeHP variant of the opcode.

Fixes: 261dd6c8 ("intel/compiler: Add new variant for TXF_CMS_W")
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27908>
(cherry picked from commit 19248f48eb)
This commit is contained in:
Kenneth Graunke 2024-02-29 23:57:08 -08:00 committed by Eric Engestrom
parent 082ca33d0f
commit 042a8de6d1
2 changed files with 2 additions and 1 deletions

View file

@ -1784,7 +1784,7 @@
"description": "intel/brw: Allow CSE on TXF_CMS_W_GFX12_LOGICAL",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "261dd6c8f894fe13926ede073669b96652da61db",
"notes": null

View file

@ -89,6 +89,7 @@ is_expression(const fs_visitor *v, const fs_inst *const inst)
case FS_OPCODE_TXB_LOGICAL:
case SHADER_OPCODE_TXF_CMS_LOGICAL:
case SHADER_OPCODE_TXF_CMS_W_LOGICAL:
case SHADER_OPCODE_TXF_CMS_W_GFX12_LOGICAL:
case SHADER_OPCODE_TXF_UMS_LOGICAL:
case SHADER_OPCODE_TXF_MCS_LOGICAL:
case SHADER_OPCODE_LOD_LOGICAL: