diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-19 19:19:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-19 19:19:16 +0200 |
commit | d6cb22b0df4e2b785827830e7af605477acbc9b4 (patch) | |
tree | 8b86c1cf73dbfb0d05013886f3e99b61cdb2ec67 /src/video_core/engines | |
parent | Merge pull request #838 from FearlessTobi/port-3616 (diff) | |
parent | Shader: Implemented the predicate and mode arguments of LOP. (diff) | |
download | yuzu-d6cb22b0df4e2b785827830e7af605477acbc9b4.tar yuzu-d6cb22b0df4e2b785827830e7af605477acbc9b4.tar.gz yuzu-d6cb22b0df4e2b785827830e7af605477acbc9b4.tar.bz2 yuzu-d6cb22b0df4e2b785827830e7af605477acbc9b4.tar.lz yuzu-d6cb22b0df4e2b785827830e7af605477acbc9b4.tar.xz yuzu-d6cb22b0df4e2b785827830e7af605477acbc9b4.tar.zst yuzu-d6cb22b0df4e2b785827830e7af605477acbc9b4.zip |
Diffstat (limited to 'src/video_core/engines')
-rw-r--r-- | src/video_core/engines/shader_bytecode.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index b038a9d92..6cfb9c5f8 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -214,6 +214,11 @@ enum class FlowCondition : u64 { Fcsm_Tr = 0x1C, // TODO(bunnei): What is this used for? }; +enum class PredicateResultMode : u64 { + None = 0x0, + NotZero = 0x3, +}; + union Instruction { Instruction& operator=(const Instruction& instr) { value = instr.value; @@ -254,7 +259,7 @@ union Instruction { BitField<39, 1, u64> invert_a; BitField<40, 1, u64> invert_b; BitField<41, 2, LogicOperation> operation; - BitField<44, 2, u64> unk44; + BitField<44, 2, PredicateResultMode> pred_result_mode; BitField<48, 3, Pred> pred48; } lop; |