[PATCH 1/7] d3d8/tests: Port test_sample_mask() from d3d9.