i965: Disable 3DSTATE_WM_HZ_OP fields.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 6 Dec 2013 11:07:54 +0000 (03:07 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 1 Feb 2014 01:50:08 +0000 (17:50 -0800)
commit3ade766684933ac84e41634429fb693f85353c11
tree0b387175744ba5c36a7106e08641fe795a6ae8ee
parent4c4e0ed64bceca57e19c0a9f53aae77d795aa937
i965: Disable 3DSTATE_WM_HZ_OP fields.

Eric believes this to be wrong and unnecessary, as the command is
supposed to emit an implicit rectangle primitive.  However, empirically
the pixel pipeline is completely unreliable without it.  So for now, it
stays until someone comes up with a better solution.

We'll need to do better than this when we implement multisampling, HiZ,
or fast clears...but for now, this will do.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/gen8_disable.c