Re: [Mesa-dev] [PATCH] i965: Drop mark_surface_used mechanism.

2018-12-30 Thread Kenneth Graunke
On Sunday, December 30, 2018 11:22:01 AM PST Matt Turner wrote: > On Sun, Dec 30, 2018 at 1:01 AM Kenneth Graunke wrote: > > > > The original idea was that the backend compiler could eliminate > > surfaces, so we would have it mark which ones are actually used, > > then shrink the binding table

Re: [Mesa-dev] [PATCH] i965: Drop mark_surface_used mechanism.

2018-12-30 Thread Jason Ekstrand
Finally! I haven't read the patch but whole-heartedly Acked-by: Jason Ekstrand On December 30, 2018 00:01:46 Kenneth Graunke wrote: The original idea was that the backend compiler could eliminate surfaces, so we would have it mark which ones are actually used, then shrink the binding table

[Mesa-dev] [PATCH] i965: Drop mark_surface_used mechanism.

2018-12-29 Thread Kenneth Graunke
The original idea was that the backend compiler could eliminate surfaces, so we would have it mark which ones are actually used, then shrink the binding table accordingly. Unfortunately, it's a pretty blunt mechanism - it can only prune things from the end, not the middle - since we decide the