Test for sharing code, DirectX 11