Texas constitution
Article 5: judicial department
Section 3

(b) The Supreme Court shall also have power, upon affidavit or otherwise as by the court may be determined, to ascertain such matters of fact as may be necessary to the proper exercise of its jurisdiction.