mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
18 lines
432 B
C++
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
|