Image binding support
Kirby still has a problem with NaN 3D Texture
This commit is contained in:
parent
4e5cf38009
commit
650f309b58
4 changed files with 99 additions and 5 deletions
|
@ -497,7 +497,12 @@ namespace Ryujinx.Graphics.Metal
|
|||
|
||||
public void SetImage(ShaderStage stage, int binding, ITexture texture, Format imageFormat)
|
||||
{
|
||||
Logger.Warning?.Print(LogClass.Gpu, "Not Implemented!");
|
||||
if (texture is TextureBase tex)
|
||||
{
|
||||
var index = (ulong)binding;
|
||||
|
||||
_encoderStateManager.UpdateImage(stage, index, tex);
|
||||
}
|
||||
}
|
||||
|
||||
public void SetImageArray(ShaderStage stage, int binding, IImageArray array)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue