shader: Implement LOP and LOP3

This commit is contained in:
ameerj 2021-03-03 00:41:05 -05:00
parent 382cba94ed
commit 980cafdc27
8 changed files with 227 additions and 31 deletions

View file

@ -28,6 +28,13 @@ enum class BooleanOp : u64 {
XOR,
};
enum class PredicateOp : u64 {
False,
True,
Zero,
NonZero,
};
class TranslatorVisitor {
public:
explicit TranslatorVisitor(Environment& env_, IR::Block& block) : env{env_}, ir(block) {}