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
We have numerous tests that have failed compiling with Clspv alone. Some of these bugs have been around for over a year.
However now, compiling externally with the latest Clang 17 to produce an IR file, and providing that to Clspv for Vulkan conversion has achieved a new level of stability!
Clspv calls the same Clang 17 compiler code internally, but with a lot of old and undocumented settings. These internal settings are awaiting to be fixed by the expert developers of Clspv. Until then, here is an example of external compilation:
As a bonus to using full Clang, the optional -MMD -MF $OutFile.d generates a dependency file from #includes, and can be used with Ninja in complex projects.
And the best bonus for the last... Clang 17 accepts -cl-std=CLC++2021! And this works fine with Clspv -cl-std=CLC++.
Hope this helps!
Here are just 2 bug triggers posted that currently fail Clspv alone. Until the internal compilation passes these basic tests, we probably do not need to post anymore issues.
We have numerous tests that have failed compiling with Clspv alone. Some of these bugs have been around for over a year.
However now, compiling externally with the latest Clang 17 to produce an IR file, and providing that to Clspv for Vulkan conversion has achieved a new level of stability!
Clspv calls the same Clang 17 compiler code internally, but with a lot of old and undocumented settings. These internal settings are awaiting to be fixed by the expert developers of Clspv. Until then, here is an example of external compilation:
As a bonus to using full Clang, the optional
-MMD -MF $OutFile.d
generates a dependency file from #includes, and can be used with Ninja in complex projects.And the best bonus for the last... Clang 17 accepts -cl-std=CLC++2021! And this works fine with Clspv -cl-std=CLC++.
Hope this helps!
Here are just 2 bug triggers posted that currently fail Clspv alone. Until the internal compilation passes these basic tests, we probably do not need to post anymore issues.
Function call with generic struct reference fails to compile
Function Definition calling another with const reference fails to compile
The text was updated successfully, but these errors were encountered: