(D3D) Put ifdefs around shader code