Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 06543054 by Giovanni Mascellani at 2025-11-12T15:08:42+01:00 vkd3d-shader/dxil: Parse the gather offset as an int2.
Instead of an int3.
Gather operations expect an offset with only two components. Currently the following field (which is the gather channel) is parsed as a third component, which leads to wrong and invalid results.
This fixes a crash on a shader from WRC Generations.
- - - - -
1 changed file:
- libs/vkd3d-shader/dxil.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/065430547c7ed78aaced7410167ec7...