From 50ba7a3033016173f32be346a27d9d7d520ae590 Mon Sep 17 00:00:00 2001 From: Alaska Date: Tue, 6 Aug 2024 02:41:11 +0200 Subject: [PATCH] Fix build failure after recent HIP-RT change Fixes build failure after 6b848a9993c8cf1996822e81dcc1a1bea4da4d95 Pull Request: https://projects.blender.org/blender/blender/pulls/125936 --- intern/cycles/device/hiprt/device_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intern/cycles/device/hiprt/device_impl.cpp b/intern/cycles/device/hiprt/device_impl.cpp index 51e30dc0385..a777ef31fca 100644 --- a/intern/cycles/device/hiprt/device_impl.cpp +++ b/intern/cycles/device/hiprt/device_impl.cpp @@ -889,7 +889,7 @@ hiprtScene HIPRTDevice::build_tlas(BVHHIPRT *bvh, int time_offset = bvh->prims_time.size(); prim_time_map[geom] = time_offset; - bvh.prims_time.resize(time_offset + current_bvh->prims_time.size()); + bvh->prims_time.resize(time_offset + current_bvh->prims_time.size()); memcpy(bvh->prims_time.data() + time_offset, current_bvh->prims_time.data(), current_bvh->prims_time.size() * sizeof(float2));