mirror of
https://github.com/storytold/wgpu.git
synced 2026-12-01 10:34:57 +01:00
[spv-out] Take advantage of use abbreviation.
This commit is contained in:
1 parent
3dd9cc0c66
commit
ad550addb8
1 file changed
+1
-1
@@ -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