[PATCH 1/2] wined3d: Avoid indexing a 2-element array by shader type.