[Mesa-dev] [PATCH 01/10] i965/gen8+: Remove redundant zeroing of surface state

Chad Versace chad.versace at intel.com
Fri Oct 16 16:14:33 PDT 2015


On Tue 13 Oct 2015, Ben Widawsky wrote:
> The allocate_surface_state already zeroes out the surface state, and doing it
> later in the function is destructive for what we want to accomplish when we
> split out support for gen9 fast clears (next patch).
> 
> NOTE: Only dword 12 actually needed to be fixed, but it seemed more consistent
> to remove the other instances as well. I can make an argument both ways (open
> coding it, vs. not). I can rework the next patch if requires.
> 
> Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
> ---
>  src/mesa/drivers/dri/i965/gen8_surface_state.c | 12 ------------
>  1 file changed, 12 deletions(-)

Patch 1 is
Reviewed-by: Chad Versace <chad.versace at intel.com>



More information about the mesa-dev mailing list