Re: [Mesa3d-dev] [PATCH] gallium: simplify tgsi_full_immediate struct

2009-07-23 Thread Michał Król
Keith Whitwell pisze: Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the data pointed to, uncertainty about who owns the data, etc. There doesn't seem to be a

Re: [Mesa3d-dev] [PATCH] gallium: simplify tgsi_full_immediate struct

2009-07-22 Thread Michał Król
Keith Whitwell pisze: Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the data pointed to, uncertainty about who owns the data, etc. There doesn't seem to be a

Re: [Mesa3d-dev] [PATCH] gallium: simplify tgsi_full_immediate struct

2009-07-22 Thread Keith Whitwell
On Wed, 2009-07-22 at 01:35 -0700, Michał Król wrote: Keith Whitwell pisze: Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the data pointed to, uncertainty

Re: [Mesa3d-dev] [PATCH] gallium: simplify tgsi_full_immediate struct

2009-07-22 Thread Michał Król
Keith Whitwell pisze: On Wed, 2009-07-22 at 01:35 -0700, Michał Król wrote: Keith Whitwell pisze: Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the