d3d: Set texture only when enabled

This allows optimizations that were applied to the cmd flags.

Also, drop the clamp stuff in, even if not used yet... I suppose we will use it, and it doesn't hurt anything.

-[Unknown]