Re: [Mesa-dev] [PATCH 18/32] i965/miptree: Refactor some things to use mt->aux_usage

2017-07-21 Thread Pohjolainen, Topi
On Wed, Jul 19, 2017 at 02:01:44PM -0700, Jason Ekstrand wrote: > Now that we have this field, it's much easier to switch on it than to > walk an if ladder that checks different things. This looks really nice: Reviewed-by: Topi Pohjolainen (didn't see much amiss in previous patches either, I'll

[Mesa-dev] [PATCH 18/32] i965/miptree: Refactor some things to use mt->aux_usage

2017-07-19 Thread Jason Ekstrand
Now that we have this field, it's much easier to switch on it than to walk an if ladder that checks different things. --- src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 94 --- 1 file changed, 56 insertions(+), 38 deletions(-) diff --git a/src/mesa/drivers/dri/i965/intel_