diff options
| author | Subv <subv2112@gmail.com> | 2018-05-20 17:53:06 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2018-05-20 17:53:06 -0500 |
| commit | 8440cef2239cc86ec915513c722da835160515bb (patch) | |
| tree | 69644862eca47e3e41d758e66fe4e6de2b230f9c /src/video_core/engines/shader_bytecode.h | |
| parent | 1b5c02fc37206bbd33715d2dde6258c3f835581c (diff) | |
Shaders: Implemented the FMNMX shader instruction.
Diffstat (limited to 'src/video_core/engines/shader_bytecode.h')
| -rw-r--r-- | src/video_core/engines/shader_bytecode.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index e1ceec268..4ed1429b0 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -193,6 +193,11 @@ union Instruction { BitField<50, 1, u64> abs_d; BitField<56, 1, u64> negate_imm; + union { + BitField<39, 3, u64> pred; + BitField<42, 1, u64> negate_pred; + } fmnmx; + float GetImm20_19() const { float result{}; u32 imm{static_cast<u32>(imm20_19)}; |
