Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/draw/engines/eevee/shaders/infos/eevee_motion_blur.hh')
-rw-r--r--source/blender/draw/engines/eevee/shaders/infos/eevee_motion_blur.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/infos/eevee_motion_blur.hh b/source/blender/draw/engines/eevee/shaders/infos/eevee_motion_blur.hh
index bfd2f271a2d..35f67683ded 100644
--- a/source/blender/draw/engines/eevee/shaders/infos/eevee_motion_blur.hh
+++ b/source/blender/draw/engines/eevee/shaders/infos/eevee_motion_blur.hh
@@ -3,20 +3,20 @@
GPU_SHADER_CREATE_INFO(eevee_motion_blur_gather)
.do_static_compilation(true)
- .uniform_buf(0, "MotionBlurData", "mb_buf")
+ .additional_info("eevee_shared", "draw_view")
.uniform_buf(1, "SamplingData", "sampling_buf")
+ .uniform_buf(2, "MotionBlurData", "mb_buf")
.sampler(0, ImageType::FLOAT_2D, "color_tx")
.sampler(1, ImageType::DEPTH_2D, "depth_tx")
.sampler(2, ImageType::FLOAT_2D, "velocity_tx")
.sampler(3, ImageType::FLOAT_2D, "tiles_tx")
.fragment_out(0, Type::VEC4, "out_color")
- .additional_info("eevee_shared")
.fragment_source("eevee_motion_blur_gather_frag.glsl")
.additional_info("draw_fullscreen");
GPU_SHADER_CREATE_INFO(eevee_motion_blur_tiles_dilate)
.do_static_compilation(true)
- .uniform_buf(0, "MotionBlurData", "mb_buf")
+ .uniform_buf(1, "MotionBlurData", "mb_buf")
.sampler(0, ImageType::FLOAT_2D, "tiles_tx")
.fragment_out(0, Type::VEC4, "out_max_motion")
.additional_info("eevee_shared")
@@ -25,7 +25,7 @@ GPU_SHADER_CREATE_INFO(eevee_motion_blur_tiles_dilate)
GPU_SHADER_CREATE_INFO(eevee_motion_blur_tiles_flatten)
.do_static_compilation(true)
- .uniform_buf(0, "MotionBlurData", "mb_buf")
+ .uniform_buf(1, "MotionBlurData", "mb_buf")
.sampler(0, ImageType::FLOAT_2D, "tiles_tx")
.sampler(2, ImageType::FLOAT_2D, "velocity_tx")
.fragment_out(0, Type::VEC4, "out_max_motion")