uninitialized indirect buffer fix for depth of field and motion blur

This commit is contained in:
Turánszki János
2023-02-19 17:11:07 +01:00
parent 72609cb796
commit 068216cffa
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -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;
+1 -1
View File
@@ -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);