diff --git a/WickedEngine/wiRenderer.cpp b/WickedEngine/wiRenderer.cpp index 9a737b9a9..1acdfb312 100644 --- a/WickedEngine/wiRenderer.cpp +++ b/WickedEngine/wiRenderer.cpp @@ -12713,6 +12713,8 @@ void Postprocess_DepthOfField( device->EventBegin("Postprocess_DepthOfField", cmd); auto range = wi::profiler::BeginRangeGPU("Depth of Field", cmd); + device->ClearUAV(&res.buffer_tile_statistics, 0, cmd); + const TextureDesc& desc = output.GetDesc(); PostProcess postprocess; @@ -13163,6 +13165,8 @@ void Postprocess_MotionBlur( const TextureDesc& desc = output.GetDesc(); + device->ClearUAV(&res.buffer_tile_statistics, 0, cmd); + PostProcess postprocess; postprocess.resolution.x = desc.width; postprocess.resolution.y = desc.height; diff --git a/WickedEngine/wiVersion.cpp b/WickedEngine/wiVersion.cpp index 65ebe63f0..07db354c8 100644 --- a/WickedEngine/wiVersion.cpp +++ b/WickedEngine/wiVersion.cpp @@ -9,7 +9,7 @@ namespace wi::version // minor features, major updates, breaking compatibility changes const int minor = 71; // minor bug fixes, alterations, refactors, updates - const int revision = 156; + const int revision = 157; const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);