mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
GeometryShader: Disable the geometry shader stage if it is a pass-through shader.
This commit is contained in:
parent
f2e52b46c3
commit
bd6d229733
5 changed files with 20 additions and 2 deletions
|
@ -211,7 +211,8 @@ SHADER* ProgramShaderCache::SetShader(DSTALPHA_MODE dstAlphaMode, u32 components
|
|||
ShaderCode gcode;
|
||||
GenerateVertexShaderCode(vcode, components, API_OPENGL);
|
||||
GeneratePixelShaderCode(pcode, dstAlphaMode, API_OPENGL, components);
|
||||
GenerateGeometryShaderCode(gcode, primitive_type, API_OPENGL);
|
||||
if (!IsPassthroughGeometryShader(uid.guid))
|
||||
GenerateGeometryShaderCode(gcode, primitive_type, API_OPENGL);
|
||||
|
||||
if (g_ActiveConfig.bEnableShaderDebugging)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue