i965: Change the hiz-override env var to a driconf option.
authorEric Anholt <eric@anholt.net>
Tue, 6 Mar 2012 19:05:20 +0000 (11:05 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 20 Mar 2012 22:47:48 +0000 (15:47 -0700)
commitd09fce51f0cf91c9c07f69063fe2180cc319d8df
tree0bb755f97913dcb4823a9717f45b78db4aa39c83
parent447aff5b027dfab3f52d31c0b61030007d139693
i965: Change the hiz-override env var to a driconf option.

The force-enable option is dropped, now that the hardware we were
concerned about has HiZ on by default.  Now, instead of doing
INTEL_HIZ=0 to test disabling hiz, you can set hiz=false.

v2: Disable separate stencil on gen6 when HIZ is turned off.
    (previously, this had to be done manually in addition).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_screen.c
src/mesa/drivers/dri/intel/intel_screen.h