mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-22 05:30:31 +01:00
nak/sm50: Various encoding fixes
Most of this is code clean-ups and unifications. A few things were missing proper legalization. Some of it was just plain wrong. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30281>
This commit is contained in:
parent
549fada593
commit
69be07b191
3 changed files with 331 additions and 308 deletions
|
|
@ -3314,7 +3314,7 @@ impl_display_for_op!(OpISetP);
|
|||
pub struct OpLop2 {
|
||||
pub dst: Dst,
|
||||
|
||||
#[src_type(ALU)]
|
||||
#[src_type(B32)]
|
||||
pub srcs: [Src; 2],
|
||||
|
||||
pub op: LogicOp2,
|
||||
|
|
|
|||
|
|
@ -169,17 +169,6 @@ pub trait LegalizeBuildHelpers: SSABuilder {
|
|||
src.src_ref = val.into();
|
||||
}
|
||||
|
||||
fn copy_alu_src_if_cbuf(
|
||||
&mut self,
|
||||
src: &mut Src,
|
||||
reg_file: RegFile,
|
||||
src_type: SrcType,
|
||||
) {
|
||||
if matches!(src.src_ref, SrcRef::CBuf(_)) {
|
||||
self.copy_alu_src(src, reg_file, src_type);
|
||||
}
|
||||
}
|
||||
|
||||
fn copy_alu_src_if_not_reg(
|
||||
&mut self,
|
||||
src: &mut Src,
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue