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 }}
Repository navigation
Assertion MaybeODRUseExprs.empty() && "Leftover expressions for odr-use checking" in heavily templated code #7001
There is nothing here which indicates that this actually is causing incorrect code generation, so the severity here seems extremely low. There are lots of asserts that fire in DXC for a variety of reasons, not all of them indicate actual failures, some of them are just incorrect asserts.
There is nothing here which indicates that this actually is causing incorrect code generation, so the severity here seems extremely low. There are lots of asserts that fire in DXC for a variety of reasons, not all of them indicate actual failures, some of them are just incorrect asserts.
its somewhat annoying that my examples don't work/crash outside of a debugger.
Activity
devshgraphicsprogramming commentedon Nov 6, 2024
If you remove the SPIR-V specific
[[]]attributes it might still assert without-spirvoptionhttps://godbolt.org/z/Kqqx9nvbq
llvm-beanz commentedon Nov 6, 2024
There is nothing here which indicates that this actually is causing incorrect code generation, so the severity here seems extremely low. There are lots of asserts that fire in DXC for a variety of reasons, not all of them indicate actual failures, some of them are just incorrect asserts.
devshgraphicsprogramming commentedon Nov 7, 2024
its somewhat annoying that my examples don't work/crash outside of a debugger.
How can I skip the asserts?
devshgraphicsprogramming commentedon Nov 7, 2024
I need a compile flag that can turn these asserts into prints to stdout or just skip them.
I started building more code on top of this and now I need to manually resume with the debugger 8 times for a single shader
devshgraphicsprogramming commentedon Nov 13, 2024
Actually it seems that the assert is triggered by
[[numthreads(static const member variable here,1,1)]]https://tinyurl.com/2p2utrw5
there isn't even template or typedef/using involved
Fletterio commentedon Nov 13, 2024
I'm having a similar issue with a similar pattern using COnstevalParameters, hitting an "unreachable" assert on SemaHLSL.cpp
Update submodules: DirectX-Headers to 61c77189, SPIRV-Headers to 5c60…
Update submodules: DirectX-Headers to 61c77189, SPIRV-Headers to 5c60…
Update submodules: DirectX-Headers to 61c77189, SPIRV-Headers to fb13…