mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Fix nightly clippy suggestions
This commit is contained in:
committed by
Dzmitry Malyshau
parent
be2231f6d9
commit
54af830855
@@ -413,7 +413,7 @@ impl super::Validator {
|
||||
crate::ShaderStage::Compute => ShaderStages::COMPUTE,
|
||||
};
|
||||
|
||||
let info = self.validate_function(&ep.function, module, &mod_info)?;
|
||||
let info = self.validate_function(&ep.function, module, mod_info)?;
|
||||
|
||||
if !info.available_stages.contains(stage_bit) {
|
||||
return Err(EntryPointError::ForbiddenStageOperations);
|
||||
|
||||
Reference in New Issue
Block a user