[PATCH 2/4] d3d10: Apply shader resources for shaders used in pass.