Re: [Mesa-dev] [PATCH 5/5] anv/pipeline: Cache the pre-lowered NIR

2018-11-22 Thread Lionel Landwerlin
On 13/10/2018 01:08, Jason Ekstrand wrote: This adds a second level of caching for the pre-lowered NIR that's only based off of the shader module, entrypoint and specialization constants. This is enough for spirv_to_nir as well as our first round of lowering and optimization. Caching at this lev

[Mesa-dev] [PATCH 5/5] anv/pipeline: Cache the pre-lowered NIR

2018-10-12 Thread Jason Ekstrand
This adds a second level of caching for the pre-lowered NIR that's only based off of the shader module, entrypoint and specialization constants. This is enough for spirv_to_nir as well as our first round of lowering and optimization. Caching at this level should allow for faster shader recompiles