vkd3d-shader/hlsl: Don't map src swizzles for SM1 dp3 and dp4 ops.
Without this patch, dp3 and dp4 map src swizzles to the dst writemask, which is not correct.
Before b84f560b, these ops worked despite this, because the dst register had, incorrectly, the full writemask.
To solve this problem, write_sm1_binary_op_dot()
is introduced,
similarly to write_sm4_binary_op_dot()
.
This was pointed out by @nsivov in https://bugs.winehq.org/show_bug.cgi?id=54522.
Merge request reports
Activity
Thanks, I can confirm this fixes the issue from https://bugs.winehq.org/show_bug.cgi?id=54522.
added 17 commits
-
7a22dbeb...a1c6bb85 - 16 commits from branch
wine:master
- af25d5bf - vkd3d-shader/hlsl: Don't map src swizzles for SM1 dp3 and dp4 ops.
-
7a22dbeb...a1c6bb85 - 16 commits from branch
Please register or sign in to reply