[Mesa-dev] [PATCH 03/10] i965: Set width, height, and tiling properly for null render targets.
Chad Versace
chad.versace at linux.intel.com
Tue Jul 24 09:37:50 PDT 2012
On 07/18/2012 08:15 AM, Paul Berry wrote:
> The HW docs say that the width and height of null render targets need
> to match the width and height of the corresponding depth and/or
> stencil buffers, and that they need to be marked as Y-tiled. Although
> leaving these values at 0 doesn't seem to cause any ill effects, it
> seems wise to follow the documented requirements.
> ---
> src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 33 +++++++++++++++++++-
> src/mesa/drivers/dri/i965/gen7_wm_surface_state.c | 29 ++++++++++++++++++
> 2 files changed, 60 insertions(+), 2 deletions(-)
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
More information about the mesa-dev
mailing list