[PATCH 1/2] wined3d: Fix 3d texture layer count for bind tracking.