[Mesa-dev] [PATCH 05/10] intel: Add flags to intel_screen for hiz and separate stencil

Kenneth Graunke kenneth at whitecape.org
Mon Jun 6 17:55:17 PDT 2011


On 06/04/2011 05:45 PM, Chad Versace wrote:
> Add the fields below to intel_screen. The expression in parens is the
> value to which intelInitScreen2() currently sets the field.
>      GLboolean hw_has_separate_stencil      (true iff gen>= 7)
>      GLboolean hw_must_use_separate_stencil (true iff gen>= 7)
>      GLboolean hw_has_hiz                   (always false)
>      enum intel_dri2_has_hiz dri2_has_hiz   (INTEL_DRI2_HAS_HIZ_UNKNOWN)
>
> The analogous fields in intel_context now inherit their values from
> intel_screen.
>
> When hiz and separate stencil become completely implemented for a given
> chipset, then the respective fields need to be enabled.

I might mention INTEL_HIZ and INTEL_SEPARATE_STENCIL in the commit message.


More information about the mesa-dev mailing list