Compositor: Implement Anti-Alias node for new CPU compositor
Reference #125968.
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user