diff options
| author | Stenzek <stenzek@gmail.com> | 2018-05-26 00:04:18 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2018-05-26 00:07:20 +1000 |
| commit | 640bfb813511d9cf1da38ce22835ec850146acd9 (patch) | |
| tree | 400025a5b8d97b4eac8ba196ec94113343c0523c /Source/Core/VideoBackends/Vulkan/VulkanContext.cpp | |
| parent | 3d44dc39814197e43bf1b8c2524684252251ee7b (diff) | |
VideoConfig: Add a field for indicating logic op support in the backend
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. |
