Re: [Mesa-dev] [PATCH] i965: Remove useless IR self-destruct backend_shader method.

2016-03-09 Thread Matt Turner
On Tue, Mar 8, 2016 at 5:35 PM, Francisco Jerez wrote: > From the point it's constructed the CFG contains the only existing > copy of the program IR, and it never becomes invalid. Calling > backend_shader::invalidate_cfg would have destroyed the program > structure irrecoverably -- We weren't cal

Re: [Mesa-dev] [PATCH] i965: Remove useless IR self-destruct backend_shader method.

2016-03-09 Thread Kenneth Graunke
On Tuesday, March 8, 2016 5:35:30 PM PST Francisco Jerez wrote: > From the point it's constructed the CFG contains the only existing > copy of the program IR, and it never becomes invalid. Calling > backend_shader::invalidate_cfg would have destroyed the program > structure irrecoverably -- We wer

[Mesa-dev] [PATCH] i965: Remove useless IR self-destruct backend_shader method.

2016-03-08 Thread Francisco Jerez
From the point it's constructed the CFG contains the only existing copy of the program IR, and it never becomes invalid. Calling backend_shader::invalidate_cfg would have destroyed the program structure irrecoverably -- We weren't calling it at all for a good reason. --- src/mesa/drivers/dri/i965