Update: fixed in Xcode 15 beta 3
Post
Replies
Boosts
Views
Activity
Not quite sure though. Test on MacOS 13 intel Mac is fine. Could be some problem in Sonoma 14.
Update: This is due to the new feature of "Swift Language" - "C++ and Objective-C Interoperability" when choosing C++/Objective-C++. Even the default project will have this error. Does someone came out a solution?
Update: This only occurs on the AMD Graphic Card, it works well on Apple silicons. You can test with AcceleratingRayTracingWithMetal sample code and add some non-useful intersection in the loop on an intel-based Mac!
Do you a solution now?
That's exactly what I ask. Thank you. I passed the resource buffer and the instance index, so that I can access the geometry. :)