You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tldr: The SPIR-V env spec allows struct parameters, but the SPIR-V-LLVM-Translator never ends up making use of this. What the translator is doing is to create a pointer parameter with the ByVal decoration instead.
We should add a specific test for this to ensure all implementations are handling this correctly and in order to catch regressions, because it's really not wildly tested.
We got a bug report for this in mesa: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12149
The tldr: The SPIR-V env spec allows struct parameters, but the SPIR-V-LLVM-Translator never ends up making use of this. What the translator is doing is to create a pointer parameter with the ByVal decoration instead.
We should add a specific test for this to ensure all implementations are handling this correctly and in order to catch regressions, because it's really not wildly tested.
SPIR-V from the bug:
The text was updated successfully, but these errors were encountered: