Re: [Mesa-dev] [PATCH v3 1/1] i965: Do not overwrite optimizer dumps

2015-11-27 Thread Jason Ekstrand
On Nov 27, 2015 3:55 AM, "Juan A. Suarez Romero" wrote: > > When using INTEL_DEBUG=optimizer, each optimizing step is dump to disk, > in a separate file. > > But as fs_visitor::optimize() and vec4_visitor::run() are called more > than once, it ends up overwriting the files already on disk, loosing

[Mesa-dev] [PATCH v3 1/1] i965: Do not overwrite optimizer dumps

2015-11-27 Thread Juan A. Suarez Romero
When using INTEL_DEBUG=optimizer, each optimizing step is dump to disk, in a separate file. But as fs_visitor::optimize() and vec4_visitor::run() are called more than once, it ends up overwriting the files already on disk, loosing then previous optimizer steps. To avoid this, add a new static var