Skip to content

Commit 4c1d678

Browse files
committed
Address feedback
1 parent c13c736 commit 4c1d678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/SPIRV/IR/ImageOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ static LogicalResult verifyImageOperands(Operation *imageOp,
5050
if (index + 1 > operands.size())
5151
return imageOp->emitError("Bias operand requires 1 argument");
5252

53-
if (!isa<mlir::FloatType>(operands[index].getType()))
53+
if (!isa<FloatType>(operands[index].getType()))
5454
return imageOp->emitError("Bias must be a floating-point type scalar");
5555

5656
auto samplingOp = cast<spirv::SamplingOpInterface>(imageOp);

0 commit comments

Comments
 (0)