Module: Mesa Branch: main Commit: bc46cc7807712795a209af9a4f5ef699de2615da URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc46cc7807712795a209af9a4f5ef699de2615da
Author: Sviatoslav Peleshko <sviatoslav.peles...@globallogic.com> Date: Wed Oct 11 13:19:05 2023 +0300 intel/tools/i965_asm: Allow src0 and src2 of ternary instructions to be imm Signed-off-by: Sviatoslav Peleshko <sviatoslav.peles...@globallogic.com> Reviewed-by: Sagar Ghuge <sagar.gh...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25657> --- src/intel/tools/i965_gram.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/tools/i965_gram.y b/src/intel/tools/i965_gram.y index bf675ead1ad..aee625ed9dc 100644 --- a/src/intel/tools/i965_gram.y +++ b/src/intel/tools/i965_gram.y @@ -915,7 +915,7 @@ nopinstruction: /* Ternary operand instruction */ ternaryinstruction: - predicate ternaryopcodes saturate cond_mod execsize dst src src src instoptions + predicate ternaryopcodes saturate cond_mod execsize dst srcimm src srcimm instoptions { brw_set_default_access_mode(p, $10.access_mode); i965_asm_ternary_instruction($2, p, $6, $7, $8, $9);