Re: [Mesa-dev] [v3 1/4] glsl: add ir_cache class for IR serialization (WIP)

2013-10-09 Thread Tapani Pälli
On 10/08/2013 11:03 PM, Eric Anholt wrote: Tapani Pälli writes: Patch introduces ir_cache class that can serialize a gl_shader to memory with help of memory_writer class and also unserialize it back with help of memory_map class. This can be used by the shader compiler to cache individual sha

Re: [Mesa-dev] [v3 1/4] glsl: add ir_cache class for IR serialization (WIP)

2013-10-08 Thread Eric Anholt
Tapani Pälli writes: > Patch introduces ir_cache class that can serialize a gl_shader > to memory with help of memory_writer class and also unserialize > it back with help of memory_map class. > > This can be used by the shader compiler to cache individual shaders > and skip lexing, parsing, type