TienYoung / TianYang-BugReports

0 stars 0 forks source link

Bug Report: Using a deprecated api. #4

Open TienYoung opened 4 months ago

TienYoung commented 4 months ago

Software Apple sample code Accelerating ray tracing using Metal

Bug Description In Renderer.mm line 252 using 'MTLArgumentAccessReadOnly' which is deprecated.

Steps to Reproduce

  1. Download sample code and unzip it.
  2. Open and compile it in Xcode.
  3. Get warning "MTLArgumentAccessReadOnly is deprecated in macOS 14.0"

Screen Shot

image

Solution Use MTLBindingAccessReadOnly.

TienYoung commented 4 months ago

Severity This is just a warning, it still can be compiled in macOS 14, and it no need to be fixed now.