Fix compilation after NZSL update

This commit is contained in:
SirLynix 2022-11-18 21:31:06 +01:00
parent 8b9b24521b
commit 2946fc7f0d
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ nzsl::Ast::NodePtr SampleTexture::BuildNode(nzsl::Ast::ExpressionPtr* expression
params.push_back(std::move(expressions[0]));
params.push_back(std::move(expressions[1]));
return nzsl::ShaderBuilder::Intrinsic(nzsl::Ast::IntrinsicType::SampleTexture, std::move(params));
return nzsl::ShaderBuilder::Intrinsic(nzsl::Ast::IntrinsicType::TextureSampleImplicitLod, std::move(params));
}
auto SampleTexture::dataType(QtNodes::PortType portType, QtNodes::PortIndex portIndex) const -> QtNodes::NodeDataType