SPIR-V: Fix tessellation control shader output types (#3807)
* SPIR-V: Fix tessellation control shader output types * Shader cache version bump
This commit is contained in:
parent
4e34170a84
commit
59cdf310bd
4 changed files with 77 additions and 6 deletions
|
@ -37,7 +37,12 @@ namespace Ryujinx.Graphics.Shader.StructuredIr
|
|||
|
||||
Config = config;
|
||||
|
||||
if (config.GpPassthrough)
|
||||
if (config.Stage == ShaderStage.TessellationControl)
|
||||
{
|
||||
// Required to index outputs.
|
||||
Info.Inputs.Add(AttributeConsts.InvocationId);
|
||||
}
|
||||
else if (config.GpPassthrough)
|
||||
{
|
||||
int passthroughAttributes = config.PassthroughAttributes;
|
||||
while (passthroughAttributes != 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue