vkd3d-shader/hlsl: Properly lower casts to int for negative numbers.
1 unresolved thread
1 unresolved thread
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
Activity
added 1 commit
- 6436900b - vkd3d-shader/hlsl: Specialize lowering SM1 casts to int for vertex shaders.
added 6 commits
-
6436900b...efd7f2e0 - 3 commits from branch
wine:master
- 4f7c1172 - tests: Test casting negative floats to int.
- 2d91bd92 - vkd3d-shader/hlsl: Properly lower casts to int for negative numbers.
- cf19b4da - vkd3d-shader/hlsl: Specialize lowering SM1 casts to int for vertex shaders.
Toggle commit list-
6436900b...efd7f2e0 - 3 commits from branch
Please register or sign in to reply