Using the following code and setting typeconformance for TestInterface to TestImplementation results in a crash in composedProgram->getEntryPointCodeaccess violation It seems like this problem comes from interface implementation structs that do not have a member variable.
Additionally in the second working case, when the TestImplementation is moved to another file which gets then compiled to a slang-module for later insertion into the main code, this also results in a crash. When including the impl using an import from a TestImplementation.slang file, it works.
Using the following code and setting typeconformance for
TestInterface
toTestImplementation
results in a crash incomposedProgram->getEntryPointCode
access violation
It seems like this problem comes from interface implementation structs that do not have a member variable.when returning a member var instead, for some reason, it compiles successfully
Slang 2024.1.22
Additionally in the second working case, when the TestImplementation is moved to another file which gets then compiled to a slang-module for later insertion into the main code, this also results in a crash. When including the impl using an import from a TestImplementation.slang file, it works.