Initial support for image stores, support texture sample on compute

This commit is contained in:
gdk 2019-10-17 23:41:18 -03:00 committed by Thog
parent 717ace6f6e
commit 1b7d955195
44 changed files with 1053 additions and 497 deletions

View file

@ -4,7 +4,7 @@ namespace Ryujinx.Graphics.Shader
{
public string Name { get; }
public TextureTarget Target { get; }
public SamplerType Type { get; }
public int HandleIndex { get; }
@ -13,10 +13,10 @@ namespace Ryujinx.Graphics.Shader
public int CbufSlot { get; }
public int CbufOffset { get; }
public TextureDescriptor(string name, TextureTarget target, int hIndex)
public TextureDescriptor(string name, SamplerType type, int hIndex)
{
Name = name;
Target = target;
Type = type;
HandleIndex = hIndex;
IsBindless = false;
@ -25,10 +25,10 @@ namespace Ryujinx.Graphics.Shader
CbufOffset = 0;
}
public TextureDescriptor(string name, TextureTarget target, int cbufSlot, int cbufOffset)
public TextureDescriptor(string name, SamplerType type, int cbufSlot, int cbufOffset)
{
Name = name;
Target = target;
Type = type;
HandleIndex = 0;
IsBindless = true;