nak: Implement nir_op_vecN
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998>
This commit is contained in:
committed by
Marge Bot
parent
0c23df7da2
commit
f9f9399773
@@ -442,6 +442,9 @@ impl<'a> ShaderFromNir<'a> {
|
||||
self.instrs
|
||||
.push(Instr::new_split(&[Dst::None, dst], srcs[0]));
|
||||
}
|
||||
nir_op_vec2 | nir_op_vec3 | nir_op_vec4 => {
|
||||
self.instrs.push(Instr::new_vec(dst, &srcs));
|
||||
}
|
||||
_ => panic!("Unsupported ALU instruction: {}", alu.info().name()),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user