Refactor Rift barrel shader to take uniform parameters from new VR::riftState instance.