Skip to content

Commit 315c59f

Browse files
davidjwooigcbot
authored andcommitted
Fix sample_d_c_mlod in irbuilder
Fixed type arguments used to create a GenISA_sampleDCMlodptr call. The Mlod argument's type is not set via argument; it takes on the type of the ref parameter.
1 parent ffb070e commit 315c59f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

IGC/LLVM3DBuilder/BuiltinsFrontendDefinitions.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -2165,7 +2165,6 @@ inline llvm::CallInst* LLVM3DBuilder<preserveNames, T, Inserter>::Create_SAMPLED
21652165
llvm::Type* types[] = {
21662166
IGCLLVM::FixedVectorType::get(dstType, 4),
21672167
float_ref->getType(),
2168-
minlod->getType(),
21692168
int32_pairedTextureIdx->getType(),
21702169
int32_textureIdx->getType(),
21712170
int32_sampler->getType()

0 commit comments

Comments
 (0)