Re: [Mesa-dev] [PATCH 09/21] anv/pipeline: Hash the entire pipeline in one go

2017-11-21 Thread Jason Ekstrand
On Tue, Nov 21, 2017 at 9:37 PM, Timothy Arceri wrote: > On 21/11/17 03:18, Jason Ekstrand wrote: > > On Mon, Nov 20, 2017 at 3:03 AM, Timothy Arceri > > wrote: >> On 29/10/17 05:36, Jason Ekstrand wrote: >> >> Instead of hashing each stage separately (an

Re: [Mesa-dev] [PATCH 09/21] anv/pipeline: Hash the entire pipeline in one go

2017-11-21 Thread Timothy Arceri
On 21/11/17 03:18, Jason Ekstrand wrote: On Mon, Nov 20, 2017 at 3:03 AM, Timothy Arceri > wrote: On 29/10/17 05:36, Jason Ekstrand wrote: Instead of hashing each stage separately (and TES and TCS together), we hash the entire pipeline. 

Re: [Mesa-dev] [PATCH 09/21] anv/pipeline: Hash the entire pipeline in one go

2017-11-20 Thread Jason Ekstrand
On Mon, Nov 20, 2017 at 3:03 AM, Timothy Arceri wrote: > > > On 29/10/17 05:36, Jason Ekstrand wrote: > >> Instead of hashing each stage separately (and TES and TCS together), we >> hash the entire pipeline. This means we'll get fewer cache hits if >> they, for instance, re-use the same VS over

Re: [Mesa-dev] [PATCH 09/21] anv/pipeline: Hash the entire pipeline in one go

2017-11-20 Thread Timothy Arceri
On 29/10/17 05:36, Jason Ekstrand wrote: Instead of hashing each stage separately (and TES and TCS together), we hash the entire pipeline. This means we'll get fewer cache hits if they, for instance, re-use the same VS over and over again but it also means we can now safely do cross-stage opti

[Mesa-dev] [PATCH 09/21] anv/pipeline: Hash the entire pipeline in one go

2017-10-28 Thread Jason Ekstrand
Instead of hashing each stage separately (and TES and TCS together), we hash the entire pipeline. This means we'll get fewer cache hits if they, for instance, re-use the same VS over and over again but it also means we can now safely do cross-stage optimizations. --- src/intel/vulkan/anv_pipeline