[Mesa-dev] [PATCH 4/7] i965: Change the hiz-override env var to a driconf option.

Chad Versace chad.versace at linux.intel.com
Tue Mar 6 18:48:20 PST 2012


On 03/06/2012 02:57 PM, Eric Anholt wrote:
> 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.
> ---
>  src/mesa/drivers/dri/intel/intel_context.c |    5 +++-
>  src/mesa/drivers/dri/intel/intel_screen.c  |   31 ++++-----------------------
>  src/mesa/drivers/dri/intel/intel_screen.h  |    1 -
>  3 files changed, 9 insertions(+), 28 deletions(-)

On gen6, if we set intel_context::has_hiz = false, then we need to set
has_separate_stencil = false too, just to be safe. Fixing this also affects
patch 5/7.

----
Chad Versace
chad.versace at linux.intel.com


More information about the mesa-dev mailing list