polygon: use gpu for upconversion

This commit is contained in:
itsmattkc
2022-07-28 09:29:38 -07:00
parent 9636ec202d
commit 8476c9dbeb
4 changed files with 40 additions and 38 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ ShaderCode MaskDistortNode::GetShaderCode(const ShaderRequest &request) const
} else if (request.id == QStringLiteral("feather")) {
return ShaderCode(FileFunctions::ReadFileAsString(QStringLiteral(":/shaders/blur.frag")));
} else {
return ShaderCode();
return super::GetShaderCode(request);
}
}
@@ -58,7 +58,7 @@ void MaskDistortNode::Retranslate()
void MaskDistortNode::Value(const NodeValueRow &value, const NodeGlobals &globals, NodeValueTable *table) const
{
GenerateJob job = GetGenerateJob(value);
ShaderJob job = GetGenerateJob(value);
if (value[kBaseInput].toTexture()) {
// Push as merge node