mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-09 06:22:34 -07:00
[GPU] Add more shader instructions, add support for rgb565 textures
This commit is contained in:
@@ -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++];
|
||||
|
||||
|
Reference in New Issue
Block a user