Implement geometry shader passthrough (#1961)
* Implement geometry shader passthrough * Cache version change
This commit is contained in:
parent
9c2f851d39
commit
f93089a64f
5 changed files with 47 additions and 18 deletions
|
@ -69,7 +69,8 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl
|
|||
// compiler may eliminate them.
|
||||
// (Not needed for fragment shader as it is the last stage).
|
||||
if (context.Config.Stage != ShaderStage.Compute &&
|
||||
context.Config.Stage != ShaderStage.Fragment)
|
||||
context.Config.Stage != ShaderStage.Fragment &&
|
||||
!context.Config.GpPassthrough)
|
||||
{
|
||||
for (int attr = 0; attr < Declarations.MaxAttributes; attr++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue