Disable multiple attachments in shaders

This commit is contained in:
ReinUsesLisp 2018-08-17 17:46:26 -03:00
parent 43886472b6
commit 723b7628d1

View file

@ -100,7 +100,8 @@ namespace Ryujinx.Graphics.Gal.Shader
if (ShaderType == GalShaderType.Fragment)
{
for (int Index = 0; Index < MaxFrameBufferAttachments; Index++)
//Note: Replace 1 with MaxFrameBufferAttachments when attachments start to work
for (int Index = 0; Index < 1; Index++)
{
m_Gprs.Add(Index * 4, new ShaderDeclInfo(FragmentOutputName + Index, Index * 4, false, 0, 4));
}