[GPU] Add more shader instructions, add support for rgb565 textures
This commit is contained in:
parent
e9cfdef098
commit
feb2680a6c
22 changed files with 817 additions and 238 deletions
|
@ -8,6 +8,15 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
|
||||
while (Offset + 2 <= Code.Length)
|
||||
{
|
||||
//Ignore scheduling instructions, which are
|
||||
//written every 32 bytes.
|
||||
if ((Offset & 7) == 0)
|
||||
{
|
||||
Offset += 2;
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
uint Word0 = (uint)Code[Offset++];
|
||||
uint Word1 = (uint)Code[Offset++];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue