diff options
| author | 2019-05-14 15:47:58 -0300 | |
|---|---|---|
| committer | 2019-07-07 16:05:56 -0300 | |
| commit | d0966b9f7ceac5a82e54b76d896cbf44f64749ea (patch) | |
| tree | 8a291be414f72eddd5af27c8eb734f0ffb4111b5 /src/video_core/engines | |
| parent | Merge pull request #2674 from lioncash/reporter (diff) | |
| download | yuzu-d0966b9f7ceac5a82e54b76d896cbf44f64749ea.tar.gz yuzu-d0966b9f7ceac5a82e54b76d896cbf44f64749ea.tar.xz yuzu-d0966b9f7ceac5a82e54b76d896cbf44f64749ea.zip | |
shader/texture: Add F16 support for TLDS
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/shader_bytecode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 404d4f5aa..829c11e64 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h | |||
| @@ -1278,6 +1278,7 @@ union Instruction { | |||
| 1278 | union { | 1278 | union { |
| 1279 | BitField<49, 1, u64> nodep_flag; | 1279 | BitField<49, 1, u64> nodep_flag; |
| 1280 | BitField<53, 4, u64> texture_info; | 1280 | BitField<53, 4, u64> texture_info; |
| 1281 | BitField<59, 1, u64> fp32_flag; | ||
| 1281 | 1282 | ||
| 1282 | TextureType GetTextureType() const { | 1283 | TextureType GetTextureType() const { |
| 1283 | // The TLDS instruction has a weird encoding for the texture type. | 1284 | // The TLDS instruction has a weird encoding for the texture type. |
| @@ -1760,7 +1761,7 @@ private: | |||
| 1760 | INST("1101111101010---", Id::TXQ_B, Type::Texture, "TXQ_B"), | 1761 | INST("1101111101010---", Id::TXQ_B, Type::Texture, "TXQ_B"), |
| 1761 | INST("1101-00---------", Id::TEXS, Type::Texture, "TEXS"), | 1762 | INST("1101-00---------", Id::TEXS, Type::Texture, "TEXS"), |
| 1762 | INST("11011100--11----", Id::TLD, Type::Texture, "TLD"), | 1763 | INST("11011100--11----", Id::TLD, Type::Texture, "TLD"), |
| 1763 | INST("1101101---------", Id::TLDS, Type::Texture, "TLDS"), | 1764 | INST("1101-01---------", Id::TLDS, Type::Texture, "TLDS"), |
| 1764 | INST("110010----111---", Id::TLD4, Type::Texture, "TLD4"), | 1765 | INST("110010----111---", Id::TLD4, Type::Texture, "TLD4"), |
| 1765 | INST("1101111100------", Id::TLD4S, Type::Texture, "TLD4S"), | 1766 | INST("1101111100------", Id::TLD4S, Type::Texture, "TLD4S"), |
| 1766 | INST("110111110110----", Id::TMML_B, Type::Texture, "TMML_B"), | 1767 | INST("110111110110----", Id::TMML_B, Type::Texture, "TMML_B"), |