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
DXC generates spurious warning for unintialized vars #2494
The uninitialized warnings were enabled in #2424 by enabling the clang diagnostic for uninitialized vars, but looks like it doesn't take into account input modifiers out/inout when a variable/struct is passed as an function argument.
We're not going to address this in DXC - the scale of the change required to do this properly is not worth it when we have clang coming up that will get this right.
Activity
vcsharma commentedon Sep 27, 2019
The uninitialized warnings were enabled in #2424 by enabling the clang diagnostic for uninitialized vars, but looks like it doesn't take into account input modifiers out/inout when a variable/struct is passed as an function argument.
llvm-beanz commentedon Aug 8, 2023
This is caused by invalid LValueToRValue casts in HLSL call sites. It will be resolved by #5249.
damyanp commentedon Jun 18, 2024
We're not going to address this in DXC - the scale of the change required to do this properly is not worth it when we have clang coming up that will get this right.