Support eval_centroid, eval_sample_index and eval_snapped instructions.