In the trial of a case against a contractor, subcontractor, or property owner for personal injury, property damage, or death to a contractor, a subcontractor, or an employee of a contractor or subcontractor that arises from the condition or use of an improvement to real property where the contractor or subcontractor constructs, repairs, renovates, or modifies the improvement, the trial judge, outside the presence of the jury, shall receive evidence of workers' compensation benefits paid and shall deduct the amount of the benefits from the damages awarded by the trier of fact. The deduction for workers' compensation benefits does not apply unless the workers' compensation carrier's subrogation rights have been waived.
Tex. Civ. Prac. and Rem. Code § 95.004