mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[spv-out] Take advantage of use abbreviation.
This commit is contained in:
committed by
Dzmitry Malyshau
parent
3dd9cc0c66
commit
ad550addb8
@@ -729,7 +729,7 @@ impl Writer {
|
||||
}
|
||||
Instruction::type_int(id, bits, signedness)
|
||||
}
|
||||
crate::ScalarKind::Float => {
|
||||
Sk::Float => {
|
||||
if bits == 64 {
|
||||
self.capabilities.insert(spirv::Capability::Float64);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user