Skip to content

Commit f44e29a

Browse files
committed
Fixed use_embree compilation
1 parent e664fa7 commit f44e29a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

RadeonRays/src/device/embree_intersection_device.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,11 @@ namespace RadeonRays
496496
Throw("Not implemented for embree device.");
497497
}
498498

499+
Buffer const* EmbreeIntersectionDevice::GetBvh() const
500+
{
501+
return nullptr;
502+
}
503+
499504
RTCScene EmbreeIntersectionDevice::GetEmbreeMesh(const RadeonRays::Mesh* mesh)
500505
{
501506
if (m_meshes.count(mesh))

RadeonRays/src/device/embree_intersection_device.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ namespace RadeonRays
5353
void QueryOcclusion(Buffer const* rays, int numrays, Buffer* hitresults, Event const* waitevent, Event** event) const override;
5454
void QueryIntersection(Buffer const* rays, Buffer const* numrays, int maxrays, Buffer* hitinfos, Event const* waitevent, Event** event) const override;
5555
void QueryOcclusion(Buffer const* rays, Buffer const* numrays, int maxrays, Buffer* hitresults, Event const* waitevent, Event** event) const override;
56+
Buffer const* GetBvh() const override;
5657

5758
protected:
5859
RTCScene GetEmbreeMesh(const Mesh*);

0 commit comments

Comments
 (0)