From 6949d45661bae3cc895fb477943c86b696108a89 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Tue, 7 Mar 2023 14:32:36 +0100 Subject: [PATCH] Cleanup: Use CPP API for clearing ssbos in Draw Manager. --- source/blender/draw/engines/eevee_next/eevee_motion_blur.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/draw/engines/eevee_next/eevee_motion_blur.cc b/source/blender/draw/engines/eevee_next/eevee_motion_blur.cc index d6fc74730b2..4316e78f77d 100644 --- a/source/blender/draw/engines/eevee_next/eevee_motion_blur.cc +++ b/source/blender/draw/engines/eevee_next/eevee_motion_blur.cc @@ -233,7 +233,7 @@ void MotionBlurModule::render(View &view, GPUTexture **input_tx, GPUTexture **ou tiles_tx_.acquire(tiles_extent, GPU_RGBA16F); - GPU_storagebuf_clear_to_zero(tile_indirection_buf_); + tile_indirection_buf_.clear_to_zero(); inst_.manager->submit(motion_blur_ps_, view); -- 2.30.2