From 4e541dc0bacf27535e88211ad1e7bfa543e99b8c Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Fri, 2 Sep 2022 15:33:30 +0200 Subject: [PATCH] Revert tested disabled bokeh shapes --- Source/Engine/Renderer/DepthOfFieldPass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Renderer/DepthOfFieldPass.cpp b/Source/Engine/Renderer/DepthOfFieldPass.cpp index 8ed51d696..f80441d00 100644 --- a/Source/Engine/Renderer/DepthOfFieldPass.cpp +++ b/Source/Engine/Renderer/DepthOfFieldPass.cpp @@ -56,7 +56,7 @@ bool DepthOfFieldPass::Init() // (in future we should support it or faster solution using pixel shaders) auto& limits = GPUDevice::Instance->Limits; _platformSupportsDoF = limits.HasCompute; - _platformSupportsBokeh = false && _platformSupportsDoF && limits.HasGeometryShaders && limits.HasDrawIndirect && limits.HasAppendConsumeBuffers; + _platformSupportsBokeh = _platformSupportsDoF && limits.HasGeometryShaders && limits.HasDrawIndirect && limits.HasAppendConsumeBuffers; // Create pipeline states if (_platformSupportsDoF)