(XDK) Move xdk_d3d_generate_pp to xdk_ctx.c