Re: [Mesa-dev] [PATCH v2 25/32] i965: add cache fallback support using serialized nir

2017-10-19 Thread Timothy Arceri
On 20/10/17 09:13, Timothy Arceri wrote: IMO you should just do this in brw_link() when its cheap. You will be doing the deserialization at draw time here which is not what we want. Can also drop the serialized_nir params if you follow my suggestions in patch 14. I still think you might want

Re: [Mesa-dev] [PATCH v2 25/32] i965: add cache fallback support using serialized nir

2017-10-19 Thread Timothy Arceri
IMO you should just do this in brw_link() when its cheap. You will be doing the deserialization at draw time here which is not what we want. Can also drop the serialized_nir params if you follow my suggestions in patch 14. On 19/10/17 16:32, Jordan Justen wrote: If the i965 gen program

[Mesa-dev] [PATCH v2 25/32] i965: add cache fallback support using serialized nir

2017-10-18 Thread Jordan Justen
If the i965 gen program cannot be loaded from the cache, then we fallback to using a serialized nir program. This is based on "i965: add cache fallback support" by Timothy Arceri . Tim's version was written to fallback to compiling from source, and therefore had to