diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2018-05-28 09:52:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-28 09:52:07 +0200 |
| commit | cddc2d52c22b42773bbb65a9255cceb90982f531 (patch) | |
| tree | f8ae69202fcf8fe3d77f571ad2f98115392b0a3a /Source/Core/VideoBackends/Vulkan/VulkanContext.cpp | |
| parent | 9e102e15843e6c28f27771fcaadb0ec5dcb7f65d (diff) | |
| parent | 57976c947b26d59551ff53fcb1c264af14a0548a (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/VideoBackends/Vulkan/VulkanContext.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/VulkanContext.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp b/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp index 57bdcdfce9..32bd449003 100644 --- a/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp +++ b/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp @@ -246,6 +246,7 @@ void VulkanContext::PopulateBackendInfo(VideoConfig* config) config->backend_info.bSupportsST3CTextures = false; // Dependent on features. config->backend_info.bSupportsBPTCTextures = false; // Dependent on features. config->backend_info.bSupportsReversedDepthRange = false; // No support yet due to driver bugs. + config->backend_info.bSupportsLogicOp = false; // Dependent on features. config->backend_info.bSupportsCopyToVram = true; // Assumed support. config->backend_info.bSupportsFramebufferFetch = false; } @@ -272,6 +273,7 @@ void VulkanContext::PopulateBackendInfoFeatures(VideoConfig* config, VkPhysicalD config->backend_info.bSupportsBBox = config->backend_info.bSupportsFragmentStoresAndAtomics = (features.fragmentStoresAndAtomics == VK_TRUE); config->backend_info.bSupportsSSAA = (features.sampleRateShading == VK_TRUE); + config->backend_info.bSupportsLogicOp = (features.logicOp == VK_TRUE); // Disable geometry shader when shaderTessellationAndGeometryPointSize is not supported. // Seems this is needed for gl_Layer. |
