D3D10 exersize2. d)