[Mesa-dev] [PATCH 11/64] isl/state: Remove some unused fields

Chad Versace chad.versace at intel.com
Thu Jun 16 17:17:34 UTC 2016


On Thu 16 Jun 2016, Chad Versace wrote:
> On Sat 11 Jun 2016, Jason Ekstrand wrote:
> > They're already zero-initialized and we have no plans of doing anything
> > more interesting with them.
> > ---
> >  src/intel/isl/isl_surface_state.c | 9 ---------
> >  1 file changed, 9 deletions(-)
> 
> 
> 
> > @@ -261,12 +258,6 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state,
> >     s.MultisampledSurfaceStorageFormat =
> >        isl_to_gen_multisample_layout[info->surf->msaa_layout];
> >     s.NumberofMultisamples = ffs(info->surf->samples) - 1;
> > -   s.MultisamplePositionPaletteIndex = 0; /* UNUSED */
> > -
> > -   s.XOffset = 0;
> > -   s.YOffset = 0;
> 
> Wait. Seriously? i965 no longer uses XOffset/YOffset on *any* gen!?!?!?
> When did that happen? I've been waiting for years for i965 to stop using
> XOffset/YOffset on old hardware, but obviously I wasn't paying enough
> attention to the git logs.

I found the commit:

	commit b1080cfbdb0a084122fcd662cd27b4748c5598fd
	Author: Eric Anholt <eric at anholt.net>
	Date:   Wed Aug 28 11:53:09 2013 -0700
	Subject: i965: Switch gen4-6 to using the sampler's base level for GL BASE_LEVEL.

This patch is
Reviewed-by: Chad Versace <chad.versace at intel.com>




More information about the mesa-dev mailing list