[spv-out] Take advantage of use abbreviation.

This commit is contained in:
Jim Blandy authored and Dzmitry Malyshau committed 2021-05-21 23:04:27 -04:00
1 parent 3dd9cc0c66
commit ad550addb8
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}