GeometryShaderGen: Support multiple primitive types.

And make more stereoscopy code optional.
This commit is contained in:
Jules Blok
2014-12-14 22:27:09 +01:00
parent 887c669c28
commit 382e1c22db
4 changed files with 53 additions and 34 deletions

View File

@ -398,7 +398,7 @@ void ProgramShaderCache::GetShaderId(SHADERUID* uid, DSTALPHA_MODE dstAlphaMode,
{
GetPixelShaderUid(uid->puid, dstAlphaMode, API_OPENGL, components);
GetVertexShaderUid(uid->vuid, components, API_OPENGL);
GetGeometryShaderUid(uid->guid, components, API_OPENGL);
GetGeometryShaderUid(uid->guid, primitive_type, API_OPENGL);
if (g_ActiveConfig.bEnableShaderDebugging)
{