Implement BFI, BRK, FLO, FSWZADD, PBK, SHFL and TXD shader instructions, misc. fixes
This commit is contained in:
parent
d786d8d2b9
commit
278a4c317c
38 changed files with 972 additions and 166 deletions
18
Ryujinx.Graphics.Shader/Decoders/OpCodeTxd.cs
Normal file
18
Ryujinx.Graphics.Shader/Decoders/OpCodeTxd.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using Ryujinx.Graphics.Shader.Instructions;
|
||||
|
||||
namespace Ryujinx.Graphics.Shader.Decoders
|
||||
{
|
||||
class OpCodeTxd : OpCodeTexture
|
||||
{
|
||||
public bool IsBindless { get; }
|
||||
|
||||
public OpCodeTxd(InstEmitter emitter, ulong address, long opCode) : base(emitter, address, opCode)
|
||||
{
|
||||
HasOffset = opCode.Extract(35);
|
||||
|
||||
IsBindless = opCode.Extract(54);
|
||||
|
||||
LodMode = TextureLodMode.None;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue