{
nir_alu_src *src = &instr->src[index];
+ if (instr->op == nir_op_fmov || instr->op == nir_op_imov)
+ assert(!src->abs && !src->negate);
+
unsigned num_components = nir_src_num_components(src->src);
for (unsigned i = 0; i < NIR_MAX_VEC_COMPONENTS; i++) {
validate_assert(state, src->swizzle[i] < NIR_MAX_VEC_COMPONENTS);
{
nir_alu_dest *dest = &instr->dest;
+ if (instr->op == nir_op_fmov || instr->op == nir_op_imov)
+ assert(!dest->saturate);
+
unsigned dest_size = nir_dest_num_components(dest->dest);
/*
* validate that the instruction doesn't write to components not in the