mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
intel/fs: add MOV source count validation
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21782>
This commit is contained in:
parent
ed3c2f73db
commit
bc08f43991
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue