AstTextureOperation.cs 931 B

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