Shader: Add support for branching and discard statements

This commit is contained in:
Jérôme Leclercq
2021-07-03 19:13:22 +02:00
parent f2bb1a839c
commit f9b453bd2b
6 changed files with 127 additions and 40 deletions

View File

@@ -35,16 +35,15 @@ namespace Nz
enum class BinaryType
{
Add, //< +
Subtract, //< -
Multiply, //< *
Divide, //< /
CompEq, //< ==
CompGe, //< >=
CompGt, //< >
CompLe, //< <=
CompLt, //< <
CompNe //< <=
CompNe, //< <=
Divide, //< /
Multiply, //< *
Subtract, //< -
};
enum class BuiltinEntry