i965/fs: Don't consider the stencil output to be a color output.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 23 Aug 2016 01:50:41 +0000 (18:50 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 24 Aug 2016 20:28:31 +0000 (13:28 -0700)
commitc8f5bd2c9960a8efe4d923e2a5aab7c169d68769
tree47b835fdcb22025a8fbefb13ac9fbf576d1140b6
parent2018371692d9ea57805989b0390b833e785881bf
i965/fs: Don't consider the stencil output to be a color output.

This would cause gl_FragStencilRef to be counted as a color output
incorrectly during the precompile phase, which leads to unnecessary
recompilation on master and could trigger an assertion failure in
fs_visitor::emit_fb_writes() on my i965-fb-fetch branch.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_wm.c