Add partial support to the TEX.B shader instruction (#342)
* Add partial support to the TEX.B shader instruction, fix for mixed indexed and non-indexed drawing * Better exception
This commit is contained in:
parent
4518c52c65
commit
09593ae6d8
7 changed files with 153 additions and 42 deletions
|
@ -4,14 +4,21 @@ namespace Ryujinx.Graphics.Gal
|
|||
{
|
||||
public string Name { get; private set; }
|
||||
|
||||
public int Index { get; private set; }
|
||||
public int Cbuf { get; private set; }
|
||||
public int Size { get; private set; }
|
||||
public int Index { get; private set; }
|
||||
public bool IsCb { get; private set; }
|
||||
public int Cbuf { get; private set; }
|
||||
public int Size { get; private set; }
|
||||
|
||||
public ShaderDeclInfo(string Name, int Index, int Cbuf = 0, int Size = 1)
|
||||
public ShaderDeclInfo(
|
||||
string Name,
|
||||
int Index,
|
||||
bool IsCb = false,
|
||||
int Cbuf = 0,
|
||||
int Size = 1)
|
||||
{
|
||||
this.Name = Name;
|
||||
this.Index = Index;
|
||||
this.IsCb = IsCb;
|
||||
this.Cbuf = Cbuf;
|
||||
this.Size = Size;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue