shader, d3d renderer code update