Merge branch '1.2' of https://github.com/FlaxEngine/FlaxEngine into indirect-vulkan

This commit is contained in:
Jean-Baptiste Perrier
2021-04-24 14:29:51 +02:00
44 changed files with 853 additions and 245 deletions

View File

@@ -34,6 +34,8 @@ bool DepthOfFieldPass::Init()
_platformSupportsDoF = limits.HasCompute;
_platformSupportsBokeh = _platformSupportsDoF && limits.HasGeometryShaders && limits.HasDrawIndirect && limits.HasAppendConsumeBuffers;
_platformSupportsBokeh &= GPUDevice::Instance->GetRendererType() != RendererType::DirectX12; // TODO: fix bokeh crash on d3d12 (driver issue probably - started to happen recently)
// Create pipeline states
if (_platformSupportsDoF)
{