Repository navigation
Commit c82e43f
BvhEmbree handles Embree 4.3's RTC_ERROR_LEVEL_ZERO_RAYTRACING_SUPPORT_MISSING (#1703)
Summary:
Pull Request resolved: #1703
Embree 4.3 added `RTC_ERROR_LEVEL_ZERO_RAYTRACING_SUPPORT_MISSING` to `RTCError` (raised only by the SYCL device). `BvhEmbree.cpp`'s `switch` over `RTCError` builds with `-Werror,-Wswitch` and has no `default:`, so axel stops compiling once `//third-party/embree/4.1.0:embree` resolves to Embree 4.4.0 (the in-place upgrade in the next diff, D127066765).
The new case logs like the others. It is guarded with `#if RTC_VERSION >= 40300`, so building against today's Embree 4.1.0, and axel's open-source CMake build against an older Embree, are unchanged.
Split out of D127066765 so that this file, the only change in that stack under axel's open-source tree, is exported to facebookresearch/momentum on its own.
Reviewed By: bschauerte
Differential Revision: D127075307
fbshipit-source-id: 81fee7aa951aea1c73127efebc15a618f94c14641 parent 732ee66 commit c82e43f
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
| |||
0 commit comments