From 6d2827ff6b781e2d7cbb1b242e23a635ab708050 Mon Sep 17 00:00:00 2001 From: degasus Date: Wed, 28 Sep 2016 23:33:51 +0200 Subject: [PATCH] PixelShader: Drop redundant warning. This warning was raised both on UID generation and on shader generation. --- Source/Core/VideoCommon/PixelShaderGen.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp index 2929e1cea9..ce63752b86 100644 --- a/Source/Core/VideoCommon/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/PixelShaderGen.cpp @@ -500,17 +500,6 @@ ShaderCode GeneratePixelShaderCode(APIType ApiType, const pixel_shader_uid_data* out.Write("[earlydepthstencil]\n"); } } - else if (bpmem.UseEarlyDepthTest() && - (uid_data->fast_depth_calc || bpmem.alpha_test.TestResult() == AlphaTest::UNDETERMINED)) - { - static bool warn_once = true; - if (warn_once) - WARN_LOG(VIDEO, "Early z test enabled but not possible to emulate with current " - "configuration. Make sure to enable fast depth calculations. If this message " - "still shows up your hardware isn't able to emulate the feature properly (a " - "GPU with D3D 11.0 / OGL 4.2 support is required)."); - warn_once = false; - } if (ApiType == APIType::OpenGL || ApiType == APIType::Vulkan) {