Reverting legionTex api change -- it was causing optix to break