(RGL PS3) Slim down Cg implementation