Re: [Mesa-dev] [PATCH 04/21] glsl: Use a single bit for the dual-source blend index

2014-05-30 Thread Tapani Pälli
On 05/28/2014 05:48 AM, Ian Romanick wrote: > From: Ian Romanick > > The only values allowed are 0 and 1, and the value is checked before > assigning. > > With the previous changes, reduces the peak ir_variable memory usage in > a trimmed apitrace of dota2 by 204KiB on 64-bit. > > Before: IR MEM:

[Mesa-dev] [PATCH 04/21] glsl: Use a single bit for the dual-source blend index

2014-05-27 Thread Ian Romanick
From: Ian Romanick The only values allowed are 0 and 1, and the value is checked before assigning. With the previous changes, reduces the peak ir_variable memory usage in a trimmed apitrace of dota2 by 204KiB on 64-bit. Before: IR MEM: variable usage / name / total: 6374280 1439077 7813357 Afte