rpcsx/rpcsx-gpu/lib/gcn-shader/include/shader/ir/Node.hpp
2024-10-01 22:04:40 +03:00

18 lines
432 B
C++

#pragma once
#include "Operand.hpp"
#include "PrintableWrapper.hpp"
namespace shader::ir {
template <typename ImplT> struct NodeWrapper;
using Node = NodeWrapper<NodeImpl>;
template <typename ImplT> struct NodeWrapper : PrintableWrapper<ImplT> {
using PrintableWrapper<ImplT>::PrintableWrapper;
using PrintableWrapper<ImplT>::operator=;
auto getLocation() const { return this->impl->getLocation(); }
};
} // namespace ir