Browse Source

Fix OpenGL too

pull/2560/head
MaranBr 6 months ago
parent
commit
9fc17c8294
  1. 5
      src/video_core/renderer_opengl/gl_shader_cache.cpp

5
src/video_core/renderer_opengl/gl_shader_cache.cpp

@ -399,11 +399,6 @@ GraphicsPipeline* ShaderCache::BuiltPipeline(GraphicsPipeline* pipeline) const n
if (!use_asynchronous_shaders) { if (!use_asynchronous_shaders) {
return pipeline; return pipeline;
} }
// If something is using depth, we can assume that games are not rendering anything which
// will be used one time.
if (maxwell3d->regs.zeta_enable) {
return nullptr;
}
// If games are using a small index count, we can assume these are full screen quads. // If games are using a small index count, we can assume these are full screen quads.
// Usually these shaders are only used once for building textures so we can assume they // Usually these shaders are only used once for building textures so we can assume they
// can't be built async // can't be built async

Loading…
Cancel
Save