Skip to content

Commit d0d4a33

Browse files
committed
Fixed the Intersection_1Ray_Masked unit test.
The test was failing if ray masking support was enabled because it didn't force the usage of the 2-level BVH which, at the moment, is the only BVH that supports ray masking.
1 parent a0a0a33 commit d0d4a33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

UnitTest/radeon_rays_apitest_cl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ TEST_F(ApiBackendOpenCL, DISABLED_Intersection_1Ray_Masked)
256256
Shape* mesh = nullptr;
257257

258258
api_->SetOption("acc.type", "bvh");
259+
api_->SetOption("bvh.force2level", 1.f);
259260

260261
// Create mesh
261262
ASSERT_NO_THROW(mesh = api_->CreateMesh(vertices(), 3, 3 * sizeof(float), indices(), 0, numfaceverts(), 1));

0 commit comments

Comments
 (0)