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

Juan A. Suarez Romero jasuarez at igalia.com
Wed Nov 25 04:25:40 PST 2015


On Wed, 2015-11-25 at 13:15 +0100, 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
> then previous optimizer steps.
> 
> To avoid this, add a new static variable that tracks the global
> iteration across the entire life of the program running.
> ---

Forgot to add the Signed-by.

	J.A.



More information about the mesa-dev mailing list