From 1663df0c8fc730d96239a4c77ccf62852a15b44b Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Mon, 24 Jun 2024 11:51:31 +0200 Subject: [PATCH] EEVEE: Ray generation missing resource During ray tracing there is a missing resource. On OpenGL this doesn't matter as it will reuse the previous binding. But on Metal or Vulkan each resource needs to be added to update bindings. Pull Request: https://projects.blender.org/blender/blender/pulls/123655 --- source/blender/draw/engines/eevee_next/eevee_raytrace.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/draw/engines/eevee_next/eevee_raytrace.cc b/source/blender/draw/engines/eevee_next/eevee_raytrace.cc index 50cab160029..45112b2c276 100644 --- a/source/blender/draw/engines/eevee_next/eevee_raytrace.cc +++ b/source/blender/draw/engines/eevee_next/eevee_raytrace.cc @@ -88,6 +88,7 @@ void RayTraceModule::sync() pass.bind_texture(RBUFS_UTILITY_TEX_SLOT, inst_.pipelines.utility_tx); pass.bind_image("out_ray_data_img", &ray_data_tx_); pass.bind_ssbo("tiles_coord_buf", &raytrace_tracing_tiles_buf_); + pass.bind_resources(inst_.uniform_data); pass.bind_resources(inst_.sampling); pass.bind_resources(inst_.gbuffer); pass.dispatch(raytrace_tracing_dispatch_buf_);