Compositor: Implement Anti-Alias node for new CPU compositor

Reference #125968.
This commit is contained in:
Omar Emara
2024-11-11 09:25:27 +02:00
parent 22b3aff9c8
commit 4ab01178e2

View File

@@ -58,17 +58,6 @@ class AntiAliasingOperation : public NodeOperation {
void execute() override
{
/* Not yet supported on CPU. */
if (!context().use_gpu()) {
for (const bNodeSocket *output : this->node()->output_sockets()) {
Result &output_result = get_result(output->identifier);
if (output_result.should_compute()) {
output_result.allocate_invalid();
}
}
return;
}
smaa(context(),
get_input("Image"),
get_result("Image"),