forked from eden-emu/eden
glsl: implement phi nodes
This commit is contained in:
parent
3d9ecbe998
commit
e99d01ff53
4 changed files with 54 additions and 20 deletions
|
@ -12,6 +12,7 @@
|
|||
namespace Shader::IR {
|
||||
class Inst;
|
||||
class Value;
|
||||
enum class Type;
|
||||
} // namespace Shader::IR
|
||||
|
||||
namespace Shader::Backend::GLSL {
|
||||
|
@ -50,6 +51,7 @@ class RegAlloc {
|
|||
public:
|
||||
std::string Define(IR::Inst& inst);
|
||||
std::string Define(IR::Inst& inst, Type type);
|
||||
std::string Define(IR::Inst& inst, IR::Type type);
|
||||
|
||||
std::string Consume(const IR::Value& value);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue