Skip to content
Snippets Groups Projects

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

Merged Francisco Casas requested to merge fcasas/vkd3d:lhs_casts_part1 into master
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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading