[PATCH] d3d10: Get resources used by effect shaders.