Compilation error in an atomic function parameter from a pre-compiled module #5941
Labels
goal:quality & productivity
Quality issues and issues that impact our productivity coding day to day inside slang
Milestone
An
Atomic<T>
argument in a function from another module works only if the module is loaded from a source code, but not if the module was pre-compiled.Current result:
Module file
test_module.slang
Main file
test.slang
Compilation from plain source code works fine:
But compilation with precompiled module
leads to a weird error:
Tested on binaries from the latest release (v2024.17) and built from the current master (7cecc51).
Expected result:
Shader will be successfully compiled and produce the same result as compiling without a pre-compiled module.
The text was updated successfully, but these errors were encountered: