Open Keenuts opened 1 month ago
@Keenuts:
We don't think that float1
should implicitly extend to float3
. Going forward, we expect that clang will reject this case.
In fact, we also have questions about whether or not the scalar case should be allowed. We haven't bottomed out yet on whether or not this case will be accepted in clang.
Moving to the HLSL 202x milestone - this is something we should tighten up in DXC to ensure that it is more closely aligned to the behavior in clang.
Hello!
This however is allowed and just warns for the implicit truncation.
On the SPIR-V side, we accept this.