From 89eed3d43fcddfbbe4ee955f7f560e71804a964b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tur=C3=A1nszki=20J=C3=A1nos?= Date: Mon, 20 Feb 2023 17:53:23 +0100 Subject: [PATCH] ssr indirect buffer initialization fix --- WickedEngine/wiRenderer.cpp | 2 ++ WickedEngine/wiVersion.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/WickedEngine/wiRenderer.cpp b/WickedEngine/wiRenderer.cpp index 1acdfb312..cafbbde2c 100644 --- a/WickedEngine/wiRenderer.cpp +++ b/WickedEngine/wiRenderer.cpp @@ -11616,6 +11616,8 @@ void Postprocess_SSR( BindCommonResources(cmd); + device->ClearUAV(&res.buffer_tile_tracing_statistics, 0, cmd); + PostProcess postprocess; ssr_roughness_cutoff = roughnessCutoff; ssr_frame = (float)res.frame; diff --git a/WickedEngine/wiVersion.cpp b/WickedEngine/wiVersion.cpp index 8298974bd..4c3980900 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 = 158; + const int revision = 159; const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);