AstTextureOperation.cs 685 B

12345678910111213141516171819202122232425
  1. using Ryujinx.Graphics.Shader.IntermediateRepresentation;
  2. namespace Ryujinx.Graphics.Shader.StructuredIr
  3. {
  4. class AstTextureOperation : AstOperation
  5. {
  6. public SamplerType Type { get; }
  7. public TextureFlags Flags { get; }
  8. public int Handle { get; }
  9. public AstTextureOperation(
  10. Instruction inst,
  11. SamplerType type,
  12. TextureFlags flags,
  13. int handle,
  14. int compMask,
  15. params IAstNode[] sources) : base(inst, compMask, sources)
  16. {
  17. Type = type;
  18. Flags = flags;
  19. Handle = handle;
  20. }
  21. }
  22. }