mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 03:50:32 +01:00
rusticl: fix warnings with newer rustc
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24315>
This commit is contained in:
parent
94f36cfaa3
commit
2d902dbf02
1 changed files with 2 additions and 2 deletions
|
|
@ -553,7 +553,7 @@ impl Program {
|
|||
return false;
|
||||
}
|
||||
|
||||
let mut d = info.dev_build_mut(dev);
|
||||
let d = info.dev_build_mut(dev);
|
||||
|
||||
// skip compilation if we already have the right thing.
|
||||
if self.is_bin() {
|
||||
|
|
@ -594,7 +594,7 @@ impl Program {
|
|||
headers: &[spirv::CLCHeader],
|
||||
info: &mut MutexGuard<ProgramBuild>,
|
||||
) -> bool {
|
||||
let mut d = info.dev_build_mut(dev);
|
||||
let d = info.dev_build_mut(dev);
|
||||
|
||||
let (spirv, log) = match &self.src {
|
||||
ProgramSourceType::Il(spirv) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue