mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 01:20:17 +01:00
nak: Print names of missing instructions
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998>
This commit is contained in:
parent
cb50296e3d
commit
2bd71dd0f0
1 changed files with 5 additions and 2 deletions
|
|
@ -379,7 +379,7 @@ impl<'a> ShaderFromNir<'a> {
|
|||
srcs[1],
|
||||
));
|
||||
}
|
||||
_ => panic!("Unsupported ALU instruction"),
|
||||
_ => panic!("Unsupported ALU instruction: {}", alu.info().name()),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -489,7 +489,10 @@ impl<'a> ShaderFromNir<'a> {
|
|||
self.instrs.push(Instr::new_ast(addr, data, vtx, offset))
|
||||
}
|
||||
}
|
||||
_ => panic!("Unsupported intrinsic instruction"),
|
||||
_ => panic!(
|
||||
"Unsupported intrinsic instruction: {}",
|
||||
intrin.info().name()
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue