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
To evaluate if that behavior is reasonable, I check against the C++ equivalent in gcc12 (godbolt default)
and get a pass build in both situation.
with an assembly that lists either call f(int) or call f(unsigned int) depending on literal suffix at call site.
(https://godbolt.org/z/h4s4bx566)
I therefore infer, that the DXC behavior is not reasonable.
Which suggests to me possibly a shortcoming somewhere around the management of the unsigned type qualifier, since I recall reporting another bug on that before.
This is caused by broken behavior in DXC's overload resolution. We have a bunch of related issues that will need to be addressed in order to support this planned fix for HLSL 202x.
That feature is effectively going to result in us adopting C++ overload rules completely for HLSL, which should solve this and related issues.
Activity
llvm-beanz commentedon Jun 30, 2023
This is caused by broken behavior in DXC's overload resolution. We have a bunch of related issues that will need to be addressed in order to support this planned fix for HLSL 202x.
That feature is effectively going to result in us adopting C++ overload rules completely for HLSL, which should solve this and related issues.