We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c278b8f commit 2b27ea3Copy full SHA for 2b27ea3
crates/rustc_codegen_spirv/src/codegen_cx/type_.rs
@@ -171,9 +171,8 @@ impl<'tcx> BaseTypeMethods<'tcx> for CodegenCx<'tcx> {
171
SpirvType::Array { .. } | SpirvType::RuntimeArray { .. } => TypeKind::Array,
172
SpirvType::Pointer { .. } => TypeKind::Pointer,
173
SpirvType::Function { .. } => TypeKind::Function,
174
-
175
SpirvType::Bool | // thanks llvm
176
- SpirvType::Image { .. } | SpirvType::Sampler | SpirvType::SampledImage { .. }
+ SpirvType::Image { .. } | SpirvType::Sampler | SpirvType::SampledImage { .. }
177
=> {
178
TypeKind::Integer
179
}
0 commit comments