Description
Passing integer arguments to dst causes an ICE.
Maybe related to #8428?
Steps to Reproduce
Shader:
[shader("pixel")]
void PSMain() {
int4 r = dst(1, 1);
if (r.x != 1) discard;
}
Command: dxc.exe -T ps_6_6 -E PSMain dst_int.hlsl
Actual Behavior
error: llvm::cast() argument of incompatible type!
Environment
dxcompiler.dll: 1.9(5184-21d28f72)(1.9.2602.17) - 1.9.2602.17 (21d28f727)
- Windows 10
Description
Passing integer arguments to
dstcauses an ICE.Maybe related to #8428?
Steps to Reproduce
Shader:
Command:
dxc.exe -T ps_6_6 -E PSMain dst_int.hlslActual Behavior
Environment
dxcompiler.dll: 1.9(5184-21d28f72)(1.9.2602.17) - 1.9.2602.17 (21d28f727)