https://bugs.winehq.org/show_bug.cgi?id=54522 Bug ID: 54522 Summary: SM1: source swizzles for dp* instructions are using destination writemask Product: vkd3d Version: 1.6 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: hlsl Assignee: wine-bugs(a)winehq.org Reporter: bunglehead(a)gmail.com Distribution: --- I noticed that doing some unrelated testing. DP4 instructions are written out as: dp4 r2.x, r1.x, r0.x after https://source.winehq.org/git/vkd3d.git/commit/d01729921c18912708ac3fb754136... Commenting out sm1_map_src_swizzle() in write_sm1_binary_op() for D3DSIO_DP4 produces expected: dp4 r2.x, r1, r0 and fixes tests for me. Francisco, could you take a look? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.