i965: Add back strict type assertions for MAD and LRP. 73/7173/1
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 13 Jun 2013 21:55:18 +0000 (14:55 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 26 Jun 2013 18:25:12 +0000 (11:25 -0700)
commit9321f3257f0199c5988fd2e220874acd8b7f0a53
treeeb0444580908706ce19622a674983d10cd664b0f
parent4563dfe23a300f0fc1652a609f5ad9e9a755fb99
i965: Add back strict type assertions for MAD and LRP.

Commit 526ffdfc033ab01cf133cb7e8290c65d12ccc9be relaxed the type
assertions in brw_alu3 to allow D/UD types (required by BFE and BFI2).
This lost us the strict type checking for MAD and LRP, which require
all four types to be float.

This patch adds a new ALU3F wrapper which checks these once again.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_eu_emit.c