summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/ShaderGenCommon.cpp
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2018-05-28 09:52:07 +0200
committerGitHub <noreply@github.com>2018-05-28 09:52:07 +0200
commitcddc2d52c22b42773bbb65a9255cceb90982f531 (patch)
treef8ae69202fcf8fe3d77f571ad2f98115392b0a3a /Source/Core/VideoCommon/ShaderGenCommon.cpp
parent9e102e15843e6c28f27771fcaadb0ec5dcb7f65d (diff)
parent57976c947b26d59551ff53fcb1c264af14a0548a (diff)
Merge pull request #6965 from stenzek/d3d-feature-level-10
D3D: Don't emit uint outputs when logic op is unsupported
Diffstat (limited to 'Source/Core/VideoCommon/ShaderGenCommon.cpp')
-rw-r--r--Source/Core/VideoCommon/ShaderGenCommon.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/ShaderGenCommon.cpp b/Source/Core/VideoCommon/ShaderGenCommon.cpp
index b4cf9e9a48..54d87691de 100644
--- a/Source/Core/VideoCommon/ShaderGenCommon.cpp
+++ b/Source/Core/VideoCommon/ShaderGenCommon.cpp
@@ -33,6 +33,7 @@ ShaderHostConfig ShaderHostConfig::GetCurrent()
bits.backend_dynamic_sampler_indexing =
g_ActiveConfig.backend_info.bSupportsDynamicSamplerIndexing;
bits.backend_shader_framebuffer_fetch = g_ActiveConfig.backend_info.bSupportsFramebufferFetch;
+ bits.backend_logic_op = g_ActiveConfig.backend_info.bSupportsLogicOp;
return bits;
}