i965/gen7: Set src/dst types for 3-src instructions. 73/6473/1
authorMatt Turner <mattst88@gmail.com>
Wed, 17 Apr 2013 19:23:54 +0000 (12:23 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 6 May 2013 17:17:13 +0000 (10:17 -0700)
commit526ffdfc033ab01cf133cb7e8290c65d12ccc9be
tree003a4ff197d85c4bdb40c1491f72f8489120d249
parent23050478235fc66e4f8decebd94039b4efcc6c10
i965/gen7: Set src/dst types for 3-src instructions.

Also update asserts to allow BFE and BFI2, which take (unsigned)
doubleword arguments.

v2: Allow BRW_REGISTER_TYPE_UD for src1 and src2 as well.
    Assert that src2.type (instead of src0.type) matches dest.type since
    it's the primary argument and src0 and src1 might correctly have
    different types.

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> [v1]
src/mesa/drivers/dri/i965/brw_eu_emit.c