Skip to content

vkd3d-shader/hlsl: Properly lower casts to int for negative numbers.

Turns out we are not doing this correctly in SM1, because the rounding should be to the number that is closer to zero and lower_casts_to_int() doesn't do that. Our current tests didn't catch this so new ones are added.

Merge request reports

Loading