From 9710cda5652d621b02467031e539f8f305f05dbd Mon Sep 17 00:00:00 2001 From: citrabot Date: Sat, 3 Feb 2024 00:24:49 +0000 Subject: [PATCH] Merge PR 7408 --- src/video_core/shader/generator/glsl_shader_gen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_core/shader/generator/glsl_shader_gen.cpp b/src/video_core/shader/generator/glsl_shader_gen.cpp index 82c0486d0..c91d63131 100644 --- a/src/video_core/shader/generator/glsl_shader_gen.cpp +++ b/src/video_core/shader/generator/glsl_shader_gen.cpp @@ -40,7 +40,7 @@ layout (binding = 1, std140) uniform vs_data { vec4 clip_coef; }; -const vec2 EPSILON_Z = vec2(0.00000001f, -1.00001f); +const vec2 EPSILON_Z = vec2(0.000001f, -1.00001f); vec4 SanitizeVertex(vec4 vtx_pos) { float ndc_z = vtx_pos.z / vtx_pos.w;