mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
- limited disabling of FXAA discard to Vulkan on AMD hardware
This commit is contained in:
parent
3f90620940
commit
63b44ec5d4
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ FString PPFXAA::GetDefines()
|
|||
}
|
||||
|
||||
const int gatherAlpha = GetMaxVersion() >= 400 ? 1 : 0;
|
||||
const int discard = screen->IsVulkan() ? 0 : 1;
|
||||
const int discard = (screen->IsVulkan() && strstr(screen->vendorstring, "AMD") != nullptr) ? 0 : 1;
|
||||
|
||||
// TODO: enable FXAA_GATHER4_ALPHA on OpenGL earlier than 4.0
|
||||
// when GL_ARB_gpu_shader5/GL_NV_gpu_shader5 extensions are supported
|
||||
|
|
Loading…
Reference in a new issue