Handle unknown attribute loads aswell
This commit is contained in:
parent
d4edc9c39a
commit
192aef17b5
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl
|
||||||
|
|
||||||
//TODO: Warn about unknown built-in attribute.
|
//TODO: Warn about unknown built-in attribute.
|
||||||
|
|
||||||
return "// bad_attr0x" + value.ToString("X");
|
return isOutAttr ? "// bad_attr0x" + value.ToString("X") : "0.0";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static string GetUbName(GalShaderType shaderType, int slot)
|
public static string GetUbName(GalShaderType shaderType, int slot)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue