Hi,
On 13/12/21 11:12, Nikolay Sivov wrote:
How do you check that?
https://shader-playground.timjones.io/5cb163a31149f937714c6faf940b027f
--- int f(int4 x) { return 0; } int f(float4 x) { return 1; }
float4 PSMain() : SV_TARGET { return f(floor(int4(1, 2, 3, 4))); } ---
This will return 1.
Giovanni.