mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-30 10:30:47 -07:00
Added more shader instructions, including BFE, BRA (partial), FMNMX, ISCADD, SHL, LD_C, some shader related fixes, added support for texture component selection
This commit is contained in:
@ -9,12 +9,29 @@ namespace Ryujinx.Graphics.Gal
|
||||
|
||||
public GalTextureFormat Format;
|
||||
|
||||
public GalTexture(byte[] Data, int Width, int Height, GalTextureFormat Format)
|
||||
public GalTextureSource XSource;
|
||||
public GalTextureSource YSource;
|
||||
public GalTextureSource ZSource;
|
||||
public GalTextureSource WSource;
|
||||
|
||||
public GalTexture(
|
||||
byte[] Data,
|
||||
int Width,
|
||||
int Height,
|
||||
GalTextureFormat Format,
|
||||
GalTextureSource XSource,
|
||||
GalTextureSource YSource,
|
||||
GalTextureSource ZSource,
|
||||
GalTextureSource WSource)
|
||||
{
|
||||
this.Data = Data;
|
||||
this.Width = Width;
|
||||
this.Height = Height;
|
||||
this.Format = Format;
|
||||
this.Data = Data;
|
||||
this.Width = Width;
|
||||
this.Height = Height;
|
||||
this.Format = Format;
|
||||
this.XSource = XSource;
|
||||
this.YSource = YSource;
|
||||
this.ZSource = ZSource;
|
||||
this.WSource = WSource;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user