AstTextureOperation.cs 1.0 KB

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