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
{{ message }}
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.
When using intrinsics such as llvm.gla.fTextureSample.v4f32.v2f32, during the validation pass the validator spits out:
Referencing function in another module!
Now, I have declared no other module, and as far as I know no "internal" module is created inside the LunarGLASS project. The error is generated by this (LLVM, Verifier.cpp, 2074):
Assert1(F->getParent() == Mod, "Referencing function in another module!", &I);
And it turns out that the parent (Module pointer) is null for some reason, now I could not find the reason however I added an illegal (Guarenteed to fail at some point) to keep things running for now:
Assert1(F->getParent() == nullptr || F->getParent() == Mod, "Referencing function in another module!", &I);
And the correct glsl (From the glsl backend) is generated, so I assume this will work for now. However I would like to avoid this for future use, any ideas what could cause this?
Thank you for your time.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When using intrinsics such as
llvm.gla.fTextureSample.v4f32.v2f32
, during the validation pass the validator spits out:Referencing function in another module!
Now, I have declared no other module, and as far as I know no "internal" module is created inside the LunarGLASS project. The error is generated by this (LLVM, Verifier.cpp, 2074):
Assert1(F->getParent() == Mod, "Referencing function in another module!", &I);
And it turns out that the parent (Module pointer) is null for some reason, now I could not find the reason however I added an illegal (Guarenteed to fail at some point) to keep things running for now:
Assert1(F->getParent() == nullptr || F->getParent() == Mod, "Referencing function in another module!", &I);
And the correct glsl (From the glsl backend) is generated, so I assume this will work for now. However I would like to avoid this for future use, any ideas what could cause this?
Thank you for your time.
The text was updated successfully, but these errors were encountered: