[PATCH 1/3] d2d1: Cache sampler state objects at device context.