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

Matt Turner mattst88 at gmail.com
Wed Nov 25 10:32:11 PST 2015


On Wed, Nov 25, 2015 at 4:25 AM, Juan A. Suarez Romero
<jasuarez at igalia.com> wrote:
> 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.

It's okay to leave it off. It doesn't mean anything in this project.


More information about the mesa-dev mailing list