Re: [Mesa-dev] [PATCH 3/6] glsl: Generalize compute_packing_order for varying structs.

2013-01-23 Thread Paul Berry
On 23 January 2013 08:36, Ian Romanick wrote: > On 01/23/2013 11:16 AM, Paul Berry wrote: > >> On 23 January 2013 07:38, Ian Romanick > > wrote: >> >> On 01/21/2013 05:16 PM, Paul Berry wrote: >> >> This patch paves the way for allowing varying structs by

Re: [Mesa-dev] [PATCH 3/6] glsl: Generalize compute_packing_order for varying structs.

2013-01-23 Thread Ian Romanick
On 01/23/2013 11:16 AM, Paul Berry wrote: On 23 January 2013 07:38, Ian Romanick mailto:i...@freedesktop.org>> wrote: On 01/21/2013 05:16 PM, Paul Berry wrote: This patch paves the way for allowing varying structs by generalizing varying_matches::compute___packing_or

Re: [Mesa-dev] [PATCH 3/6] glsl: Generalize compute_packing_order for varying structs.

2013-01-23 Thread Paul Berry
On 23 January 2013 07:38, Ian Romanick wrote: > On 01/21/2013 05:16 PM, Paul Berry wrote: > >> This patch paves the way for allowing varying structs by generalizing >> varying_matches::compute_**packing_order to handle any type of varying. >> Previously, we packed in the order (vec4, vec2, float,

Re: [Mesa-dev] [PATCH 3/6] glsl: Generalize compute_packing_order for varying structs.

2013-01-23 Thread Ian Romanick
On 01/21/2013 05:16 PM, Paul Berry wrote: This patch paves the way for allowing varying structs by generalizing varying_matches::compute_packing_order to handle any type of varying. Previously, we packed in the order (vec4, vec2, float, vec3), with matrices being packed according to the size of t

[Mesa-dev] [PATCH 3/6] glsl: Generalize compute_packing_order for varying structs.

2013-01-21 Thread Paul Berry
This patch paves the way for allowing varying structs by generalizing varying_matches::compute_packing_order to handle any type of varying. Previously, we packed in the order (vec4, vec2, float, vec3), with matrices being packed according to the size of their columns. Now, we pack everything accor