i965: Fix some oddities in FB_WRITE register width and execution size.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 16 Jan 2015 08:53:53 +0000 (00:53 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 16 Jan 2015 20:39:35 +0000 (12:39 -0800)
commit127c9724924f9d93652540a9f3ff8306bb1aacd4
treef752f6da1d739c1377f686079a3ed9eaac5b2488
parentfaaca237341abc0f784edfb16df50104110365b8
i965: Fix some oddities in FB_WRITE register width and execution size.

Previously, we generated this for FB writes in SIMD16 mode:

load_payload(16) vgrf5@8+0.0:F, vgrf1:F, vgrf2:F, vgrf3:F, vgrf4:F
fb_write(8) (null):UD, vgrf5@8+0.0:F 1sthalf

The LOAD_PAYLOAD's destination had its register width set to 8, and the
FB_WRITE had its execution size set to 8.  This seems wrong, and while
it probably doesn't affect anything, we should fix it.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp