diff options
| author | 2018-09-08 22:44:20 -0400 | |
|---|---|---|
| committer | 2018-09-17 17:42:44 -0400 | |
| commit | e2ac8fb36d0f5540d87148226c4e93de1b6de5d3 (patch) | |
| tree | 4753ddc65593eac5a9a3a862e935b97cac07f2ff /src/video_core/engines | |
| parent | Implemented Control Codes (diff) | |
| download | yuzu-e2ac8fb36d0f5540d87148226c4e93de1b6de5d3.tar.gz yuzu-e2ac8fb36d0f5540d87148226c4e93de1b6de5d3.tar.xz yuzu-e2ac8fb36d0f5540d87148226c4e93de1b6de5d3.zip | |
Implemented CSETP
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/shader_bytecode.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 12229cf4c..3c5e9ea96 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h | |||
| @@ -581,6 +581,15 @@ union Instruction { | |||
| 581 | } pset; | 581 | } pset; |
| 582 | 582 | ||
| 583 | union { | 583 | union { |
| 584 | BitField<0, 3, u64> pred0; | ||
| 585 | BitField<3, 3, u64> pred3; | ||
| 586 | BitField<8, 5, ControlCode> cc; // flag in cc | ||
| 587 | BitField<39, 3, u64> pred39; | ||
| 588 | BitField<42, 1, u64> neg_pred39; | ||
| 589 | BitField<45, 4, PredOperation> op; // op with pred39 | ||
| 590 | } csetp; | ||
| 591 | |||
| 592 | union { | ||
| 584 | BitField<39, 3, u64> pred39; | 593 | BitField<39, 3, u64> pred39; |
| 585 | BitField<42, 1, u64> neg_pred; | 594 | BitField<42, 1, u64> neg_pred; |
| 586 | BitField<43, 1, u64> neg_a; | 595 | BitField<43, 1, u64> neg_a; |
| @@ -895,6 +904,7 @@ public: | |||
| 895 | ISET_IMM, | 904 | ISET_IMM, |
| 896 | PSETP, | 905 | PSETP, |
| 897 | PSET, | 906 | PSET, |
| 907 | CSETP, | ||
| 898 | XMAD_IMM, | 908 | XMAD_IMM, |
| 899 | XMAD_CR, | 909 | XMAD_CR, |
| 900 | XMAD_RC, | 910 | XMAD_RC, |
| @@ -1131,6 +1141,7 @@ private: | |||
| 1131 | INST("0011011-0101----", Id::ISET_IMM, Type::IntegerSet, "ISET_IMM"), | 1141 | INST("0011011-0101----", Id::ISET_IMM, Type::IntegerSet, "ISET_IMM"), |
| 1132 | INST("0101000010001---", Id::PSET, Type::PredicateSetRegister, "PSET"), | 1142 | INST("0101000010001---", Id::PSET, Type::PredicateSetRegister, "PSET"), |
| 1133 | INST("0101000010010---", Id::PSETP, Type::PredicateSetPredicate, "PSETP"), | 1143 | INST("0101000010010---", Id::PSETP, Type::PredicateSetPredicate, "PSETP"), |
| 1144 | INST("010100001010----", Id::PSETP, Type::PredicateSetPredicate, "CSETP"), | ||
| 1134 | INST("0011011-00------", Id::XMAD_IMM, Type::Xmad, "XMAD_IMM"), | 1145 | INST("0011011-00------", Id::XMAD_IMM, Type::Xmad, "XMAD_IMM"), |
| 1135 | INST("0100111---------", Id::XMAD_CR, Type::Xmad, "XMAD_CR"), | 1146 | INST("0100111---------", Id::XMAD_CR, Type::Xmad, "XMAD_CR"), |
| 1136 | INST("010100010-------", Id::XMAD_RC, Type::Xmad, "XMAD_RC"), | 1147 | INST("010100010-------", Id::XMAD_RC, Type::Xmad, "XMAD_RC"), |