Skip to content

Conversation

@mkeshavaNV
Copy link
Contributor

No description provided.

@skallweitNV
Copy link
Contributor

Can you check if setting slang::CompilerOptionName::UseUpToDateBinaryModule breaks precompiled module loading? If so, we should figure out how Slang needs to change to support this use-case, because we need that flag for the module cache, which should work side-by-side with precompiled modules (without source).

@mkeshavaNV
Copy link
Contributor Author

Can you check if setting slang::CompilerOptionName::UseUpToDateBinaryModule breaks precompiled module loading? If so, we should figure out how Slang needs to change to support this use-case, because we need that flag for the module cache, which should work side-by-side with precompiled modules (without source).

@skallweitNV - I tried this. With this, it fails with this error. So basically it seems to look for the slang file instead of the precompiled module:

 slangpy.SlangCompileError: Failed to load slang module "test_no_source"
  (0): error 1: cannot open file 'test_no_source.slang'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants