i965/fs: Pass a BAD_FILE register to the logical FB write when oMask is unused.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 30 Apr 2016 02:47:44 +0000 (19:47 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 30 May 2016 06:41:37 +0000 (23:41 -0700)
commitb0c8e5e0c88f7c5d7395715e58a8731e2ab55f7e
treebf410ec4ab09e4876617811686a9f31c674e4597
parentaac90ba2920cf5ceb4df6dba776dd3952780e456
i965/fs: Pass a BAD_FILE register to the logical FB write when oMask is unused.

This will let the optimizer know that the sample mask value is unused
so its definition can be DCE'ed.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp