diff --git a/scene/VisionaraySceneGPU.cu b/scene/VisionaraySceneGPU.cu index d929d484..244288dd 100644 --- a/scene/VisionaraySceneGPU.cu +++ b/scene/VisionaraySceneGPU.cu @@ -383,6 +383,8 @@ void VisionaraySceneGPU::dispatch() group.geoms = m_impl->parent->m_geometries.devicePtr(); group.numMaterials = m_impl->parent->m_materials.size(); group.materials = m_impl->parent->m_materials.devicePtr(); + group.numVolumes = m_impl->parent->m_volumes.size(); + group.volumes = m_impl->parent->m_volumes.devicePtr(); group.numLights = m_impl->parent->m_lights.size(); group.lights = m_impl->parent->m_lights.devicePtr(); group.objIds = m_impl->parent->m_objIds.devicePtr(); diff --git a/scene/VisionaraySceneGPU.hip b/scene/VisionaraySceneGPU.hip index bc6fabb0..94f23c96 100644 --- a/scene/VisionaraySceneGPU.hip +++ b/scene/VisionaraySceneGPU.hip @@ -400,6 +400,8 @@ void VisionaraySceneGPU::dispatch() group.geoms = m_impl->parent->m_geometries.devicePtr(); group.numMaterials = m_impl->parent->m_materials.size(); group.materials = m_impl->parent->m_materials.devicePtr(); + group.numVolumes = m_impl->parent->m_volumes.size(); + group.volumes = m_impl->parent->m_volumes.devicePtr(); group.numLights = m_impl->parent->m_lights.size(); group.lights = m_impl->parent->m_lights.devicePtr(); group.objIds = m_impl->parent->m_objIds.devicePtr();