Repository navigation
Commit c35e5d1
sycl: query the committed hit candidate type once in rtcIntersectRTHW
The epilogue of rtcIntersectRTHW asked the ray query twice whether the
committed hit is a hardware triangle (once to fetch the barycentrics /
normal, once to decide whether instance IDs need to be read back).
Evaluate it once and reuse the result.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 2bdaec8 commit c35e5d1
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
| 729 | + | |
| 730 | + | |
729 | 731 | | |
730 | 732 | | |
731 | 733 | | |
732 | 734 | | |
733 | 735 | | |
734 | | - | |
| 736 | + | |
735 | 737 | | |
736 | 738 | | |
737 | 739 | | |
| |||
763 | 765 | | |
764 | 766 | | |
765 | 767 | | |
766 | | - | |
| 768 | + | |
767 | 769 | | |
768 | 770 | | |
769 | 771 | | |
| |||
0 commit comments