Disable multiple attachments in shaders
This commit is contained in:
parent
43886472b6
commit
723b7628d1
1 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue