uninitialized indirect buffer fix for depth of field and motion blur
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user