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
A DXC optimization is producing i25 type, but shouldn't for DXIL #6564
Description
An llvm optimization (like some switch optimization) is resulting in odd-sized int value types, such as i25. We should not produce integer values of odd sizes like this.
A separate but related issue for catching this class of problem in DxilValidation is #6563.
Steps to Reproduce
uint param;
bool fn()
{
switch (param)
{
case 0:
case 20:
case 24:
return false;
}
return true;
}
float4 main() : SV_Target
{
float4 ret = float4(0, 0, 0, 0);
if (fn())
{
ret = float4(1, 1, 1, 1);
}
return ret;
}
Activity