(D3D) Rewrite renderchain_add_lut