mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-12-14 23:52:27 +00:00
gl_rasterizer: Silent unsafe mix warning
This commit is contained in:
parent
7c6bb8c17f
commit
a1b1ea47ed
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ void RasterizerOpenGL::SetupShaders(GLenum primitive_mode) {
|
||||||
// (sometimes it's half the screen, sometimes three quarters). To avoid this, enable the
|
// (sometimes it's half the screen, sometimes three quarters). To avoid this, enable the
|
||||||
// clip distances only when it's written by a shader stage.
|
// clip distances only when it's written by a shader stage.
|
||||||
for (std::size_t i = 0; i < Maxwell::NumClipDistances; ++i) {
|
for (std::size_t i = 0; i < Maxwell::NumClipDistances; ++i) {
|
||||||
clip_distances[i] |= shader->GetShaderEntries().clip_distances[i];
|
clip_distances[i] = clip_distances[i] || shader->GetShaderEntries().clip_distances[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
// When VertexA is enabled, we have dual vertex shaders
|
// When VertexA is enabled, we have dual vertex shaders
|
||||||
|
|
Loading…
Reference in a new issue