AstTextureOperation.cs 807 B

12345678910111213141516171819202122232425262728
  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 int ArraySize { get; }
  10. public AstTextureOperation(
  11. Instruction inst,
  12. SamplerType type,
  13. TextureFlags flags,
  14. int handle,
  15. int arraySize,
  16. int index,
  17. params IAstNode[] sources) : base(inst, index, sources)
  18. {
  19. Type = type;
  20. Flags = flags;
  21. Handle = handle;
  22. ArraySize = arraySize;
  23. }
  24. }
  25. }