OpCodeTld4B.cs 589 B

12345678910111213141516171819202122
  1. using Ryujinx.Graphics.Shader.Instructions;
  2. namespace Ryujinx.Graphics.Shader.Decoders
  3. {
  4. class OpCodeTld4B : OpCodeTexture, IOpCodeTld4
  5. {
  6. public TextureGatherOffset Offset { get; }
  7. public int GatherCompIndex { get; }
  8. public bool Bindless => true;
  9. public OpCodeTld4B(InstEmitter emitter, ulong address, long opCode) : base(emitter, address, opCode)
  10. {
  11. HasDepthCompare = opCode.Extract(50);
  12. Offset = (TextureGatherOffset)opCode.Extract(36, 2);
  13. GatherCompIndex = opCode.Extract(38, 2);
  14. }
  15. }
  16. }