[v2 PATCH 2/7] d3d10/effect: Handle NULL depth stencil state assignments.