Module: Mesa Branch: main Commit: bc08f439911f0ed915a195d8942ac50aed8b2a60 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc08f439911f0ed915a195d8942ac50aed8b2a60
Author: Lionel Landwerlin <[email protected]> Date: Tue Mar 7 18:02:03 2023 +0200 intel/fs: add MOV source count validation Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Marcin Ĺšlusarz <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21782> --- src/intel/compiler/brw_fs_validate.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/intel/compiler/brw_fs_validate.cpp b/src/intel/compiler/brw_fs_validate.cpp index 40ba7edcb60..f6e18d48a05 100644 --- a/src/intel/compiler/brw_fs_validate.cpp +++ b/src/intel/compiler/brw_fs_validate.cpp @@ -107,6 +107,10 @@ fs_visitor::validate() fsv_assert(is_uniform(inst->src[0]) && is_uniform(inst->src[1])); break; + case BRW_OPCODE_MOV: + fsv_assert(inst->sources == 1); + break; + default: break; }
