Merge pull request #6031 from stenzek/d3d-crash D3D: Fix shader compile error with logicop and alpha test enabled