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
With a dxc that I have just built from the main branch I get:
$ cat z.hlsl
[numthreads(1, 1, 1)]
void entrypoint()
{
uint64_t a = 0;
a = firstbithigh(a);
}
$ build/bin/dxc -fspv-target-env=vulkan1.1 -spirv -E entrypoint -T cs_6_2 -Od z.hlsl
fatal error: generated SPIR-V is invalid: GLSL.std.450 FindUMsb: expected all operands to have the same bit width as Result Type
%15 = OpExtInst %uint %1 FindUMsb %13
The text was updated successfully, but these errors were encountered:
With a
dxc
that I have just built from themain
branch I get:The text was updated successfully, but these errors were encountered: