Reimplement limited bindless textures support

This commit is contained in:
gdkchan
2020-01-09 02:13:00 +01:00
committed by Thog
parent 647d0962df
commit 947e14d3be
6 changed files with 65 additions and 5 deletions
+8 -1
View File
@@ -694,7 +694,14 @@ namespace Ryujinx.Graphics.Gpu.Engine
Target target = GetTarget(descriptor.Type);
textureBindings[index] = new TextureBindingInfo(target, descriptor.HandleIndex);
if (descriptor.IsBindless)
{
textureBindings[index] = new TextureBindingInfo(target, descriptor.CbufSlot, descriptor.CbufOffset);
}
else
{
textureBindings[index] = new TextureBindingInfo(target, descriptor.HandleIndex);
}
}
_textureManager.SetGraphicsTextures(stage, textureBindings);