Description
Passing dst 2 int4 arguments causes a stack overflow.
Steps to Reproduce
Shader:
[shader("pixel")]
void PSMain() {
int4 r = dst(int4(1, 2, 3, 4), int4(5, 6, 7, 8));
if (r.x != 1) discard;
}
Command: dxc.exe -T ps_6_6 -E PSMain dst_int4.hlsl
Actual Behavior
Internal compiler error: stack overflow
Environment
dxcompiler.dll: 1.9(5184-21d28f72)(1.9.2602.17) - 1.9.2602.17 (21d28f727)
- Windows 10
Description
Passing
dst2int4arguments causes a stack overflow.Steps to Reproduce
Shader:
Command:
dxc.exe -T ps_6_6 -E PSMain dst_int4.hlslActual Behavior
Environment
dxcompiler.dll: 1.9(5184-21d28f72)(1.9.2602.17) - 1.9.2602.17 (21d28f727)