mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
ProgramShaderCache: Always generate a geometry shader UID, even if stereoscopy is disabled.
This commit is contained in:
parent
6cacfad010
commit
f370cb386c
2 changed files with 3 additions and 4 deletions
|
@ -41,10 +41,10 @@ static inline void GenerateGeometryShader(T& out, u32 components, API_TYPE ApiTy
|
|||
|
||||
out.Write("//Geometry Shader for 3D stereoscopy\n");
|
||||
|
||||
uid_data->stereo = g_ActiveConfig.bStereo;
|
||||
if (ApiType == API_OPENGL)
|
||||
{
|
||||
// Insert layout parameters
|
||||
uid_data->stereo = g_ActiveConfig.bStereo;
|
||||
if (g_ActiveConfig.backend_info.bSupportsGSInstancing)
|
||||
out.Write("layout(triangles, invocations = %d) in;\n", g_ActiveConfig.bStereo ? 2 : 1);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue