[Mesa-dev] [PATCH] gen7: Use logical, not physical, dims in 3DSTATE_DEPTH_BUFFER

Ben Widawsky ben at bwidawsk.net
Tue Oct 1 17:27:06 PDT 2013


On Tue, Oct 01, 2013 at 02:43:50PM -0700, Chad Versace wrote:
> In 3DSTATE_DEPTH_BUFFER, we set Width and Height to the miptree slice's
> physical dimensions. (Logical and physical dimensions may differ for
> multisample surfaces).
> 
> However, in SURFACE_STATE, we always set Width and Height to the slice's
> logical dimensions. We should do the same for 3DSTATE_DEPTH_BUFFER,
> because the hw docs say so.
> 
> No Piglit regressions (-x glx) on Ivybridge with Wayland.
> 
> CC: Paul Berry <stereotype441 at gmail.com>
> CC: Jordan Justen <jordan.l.justen at intel.com>
> CC: Ben Widawsky <ben at bwidawsk.net>
> Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
Tested-by: Ben Widawsky <ben at bwidawsk.net>
[snip]
-- 
Ben Widawsky, Intel Open Source Technology Center


More information about the mesa-dev mailing list