Paul Gofman : wined3d: Fix 3d texture layer count for bind tracking.