1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-08-28 11:26:26 -05:00

[GPU] Add more shader instructions, add support for rgb565 textures

This commit is contained in:
gdkchan
2018-04-10 16:50:32 -03:00
parent e9cfdef098
commit feb2680a6c
22 changed files with 817 additions and 238 deletions

View File

@@ -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++];