Implement TMML and TMML.B (#1270)

* Implement TMML and TMML.B

This implement TMML and TMML.B instructions

* Fix TmmlB declaration alignment

* Address gdkchan's comments

* Fix inverted encoding definitions
This commit is contained in:
Thog 2020-05-23 12:04:35 +02:00 committed by GitHub
parent 5011640b30
commit ff7a933ec0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 126 additions and 0 deletions

View file

@ -231,6 +231,8 @@ namespace Ryujinx.Graphics.Shader.Decoders
Set("11011101xx111x", InstEmit.TldB, typeof(OpCodeTld));
Set("110010xxxx111x", InstEmit.Tld4, typeof(OpCodeTld4));
Set("1101111011111x", InstEmit.Tld4, typeof(OpCodeTld4B));
Set("11011111011000", InstEmit.TmmlB, typeof(OpCodeTexture));
Set("11011111010110", InstEmit.Tmml, typeof(OpCodeTexture));
Set("110111100x1110", InstEmit.Txd, typeof(OpCodeTxd));
Set("1101111101001x", InstEmit.Txq, typeof(OpCodeTex));
Set("1101111101010x", InstEmit.TxqB, typeof(OpCodeTex));