forked from eden-emu/eden
shader_decode: Implement HSET2
This commit is contained in:
parent
5896358e4a
commit
a71ce91f9b
3 changed files with 50 additions and 1 deletions
|
@ -1012,6 +1012,11 @@ private:
|
|||
return GenerateUnary(operation, "!", Type::Bool, Type::Bool, false);
|
||||
}
|
||||
|
||||
std::string LogicalPick2(Operation operation) {
|
||||
const std::string pair = VisitOperand(operation, 0, Type::Bool2);
|
||||
return pair + '[' + VisitOperand(operation, 1, Type::Uint) + ']';
|
||||
}
|
||||
|
||||
std::string LogicalAll2(Operation operation) {
|
||||
return GenerateUnary(operation, "all", Type::Bool, Type::Bool2);
|
||||
}
|
||||
|
@ -1306,6 +1311,7 @@ private:
|
|||
&LogicalOr,
|
||||
&LogicalXor,
|
||||
&LogicalNegate,
|
||||
&LogicalPick2,
|
||||
&LogicalAll2,
|
||||
&LogicalAny2,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue