shader-slang / slang

Making it easier to work with shaders
MIT License
1.97k stars 166 forks source link

Metal: Array of device buffers is not allowed for input into an entry-point #4555

Closed ArielG-NV closed 1 month ago

ArielG-NV commented 1 month ago

Related to: #4291

Following issue breaks the following (metal) tests:

Problem: array<int device*, ...> is an invalid input declaration for an entry-point.

csyonghe commented 1 month ago

There isn't a way for us to meaningfully translate a StructuredBuffer array into metal. They maybe allowed in a parameter block. I'm fine with us ignoring these tests for now.