diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-05-21 23:27:37 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:33 +0200 |
commit | 84feabac881443d27f84f8fec5eba6dc3b13b620 (patch) | |
tree | 7b3dd78d2753a0d73e358182d989d65836026303 /src/video_core | |
parent | glasm: Set transform feedback state (diff) | |
download | yuzu-84feabac881443d27f84f8fec5eba6dc3b13b620.tar yuzu-84feabac881443d27f84f8fec5eba6dc3b13b620.tar.gz yuzu-84feabac881443d27f84f8fec5eba6dc3b13b620.tar.bz2 yuzu-84feabac881443d27f84f8fec5eba6dc3b13b620.tar.lz yuzu-84feabac881443d27f84f8fec5eba6dc3b13b620.tar.xz yuzu-84feabac881443d27f84f8fec5eba6dc3b13b620.tar.zst yuzu-84feabac881443d27f84f8fec5eba6dc3b13b620.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp index 0a0f1324f..e678b4bb2 100644 --- a/src/video_core/renderer_opengl/gl_shader_cache.cpp +++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp @@ -219,8 +219,8 @@ Shader::RuntimeInfo MakeRuntimeInfo(const GraphicsProgramKey& key, return Shader::TessSpacing::Equal; }(); break; - case Shader::Stage::Geometry: - + case Shader::Stage::Fragment: + info.force_early_z = key.early_z != 0; break; default: break; |