parent
08332bdc04
commit
2dcc6333f8
14 changed files with 223 additions and 89 deletions
|
@ -302,7 +302,14 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||
{
|
||||
_imageState[stageIndex][index].Texture = hostTexture;
|
||||
|
||||
_context.Renderer.Pipeline.SetImage(index, stage, hostTexture);
|
||||
Format format = binding.Format;
|
||||
|
||||
if (format == 0)
|
||||
{
|
||||
format = texture.Format;
|
||||
}
|
||||
|
||||
_context.Renderer.Pipeline.SetImage(index, stage, hostTexture, format);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue