mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- limited disabling of FXAA discard to Vulkan on AMD hardware
This commit is contained in:
parent
dc8a944382
commit
4d29b5b5e7
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