I want to set optimization level via com api #4399
Replies: 1 comment
-
The problem was a version issue inside my slang bindings, so not related to slang itself. Closing this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I compile my module with the following code:
The macro define works, but the optimization level is not set, at least I get the same errors as described in #4380 (which I don't if i use slangc with -O0).
Is there a way I can check if the optimization level has really been set? or am I doing this wrong?
(I'm using my slang rust bindings from here https://github.com/projectKML/slang-rs, but it should be readable as it is really similar to the c++ api).
Beta Was this translation helpful? Give feedback.
All reactions