vkd3d-shader/hlsl: Determine the correct writemask for dsts/srcs with fixed masks.

Fixes a regression where the game Batman: Arkham Asylum GOTY Edition crashes on AMD, and glitches on NVIDIA GPUs.

Currently, for SM3 sincos instructions with dst writemask = .y, the calculated remapped_mask is 0 which is invalid.

Merge request reports

Loading