blob: 79a14b4f03eb6f6d87cc96ac6dec8c83c89d658d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// EffectV2 implementation
#include "gpu/effect_v2.h"
#include "util/fatal_error.h"
EffectV2::EffectV2(const GpuContext& ctx, const std::vector<std::string>& inputs,
const std::vector<std::string>& outputs)
: ctx_(ctx), input_nodes_(inputs), output_nodes_(outputs) {
FATAL_CHECK(inputs.empty(), "Effect must have at least one input\n");
FATAL_CHECK(outputs.empty(), "Effect must have at least one output\n");
}
|