Re: [Mesa-dev] [PATCH 09/70] st/mesa/r200/i915/i965: move ARB program fields into a union

2016-11-16 Thread Timothy Arceri
On Wed, 2016-11-16 at 20:41 +, Emil Velikov wrote: > On 11 November 2016 at 00:45, Timothy Arceri > wrote: > > > > It's common for games to compile 2000 programs or more so at > > > > 32bits x 2000 programs x 22 fields x 2 (at least) stages > > > > This should

Re: [Mesa-dev] [PATCH 09/70] st/mesa/r200/i915/i965: move ARB program fields into a union

2016-11-16 Thread Emil Velikov
On 11 November 2016 at 00:45, Timothy Arceri wrote: > It's common for games to compile 2000 programs or more so at > > 32bits x 2000 programs x 22 fields x 2 (at least) stages > > This should give us something like 352 kilobytes in savings. > --- At first I was going

[Mesa-dev] [PATCH 09/70] st/mesa/r200/i915/i965: move ARB program fields into a union

2016-11-10 Thread Timothy Arceri
It's common for games to compile 2000 programs or more so at 32bits x 2000 programs x 22 fields x 2 (at least) stages This should give us something like 352 kilobytes in savings. --- src/mesa/drivers/dri/i915/i915_fragprog.c | 12 ++-- src/mesa/drivers/dri/i915/i915_program.c| 16 ++---