d3d: Set texture only when enabled.

This allows optimizations that were applied to the cmd flags.
Merge pull request #6899 from unknownbrackets/gpu-convergence

d3d: Set texture only when enabled