Re: [Mesa-dev] [PATCH 01/23] nir: Allow nir_lower_io() to only lower one type of variable.

2015-09-30 Thread Matt Turner
On Wed, Sep 30, 2015 at 12:58 AM, Kenneth Graunke wrote: > We may want to use different type_size functions for (e.g.) inputs > vs. uniforms. Passing in -1 for mode ignores this, handling all > modes as before. > > Signed-off-by: Kenneth Graunke > --- > src/glsl/nir/nir.h | 1

[Mesa-dev] [PATCH 01/23] nir: Allow nir_lower_io() to only lower one type of variable.

2015-09-30 Thread Kenneth Graunke
We may want to use different type_size functions for (e.g.) inputs vs. uniforms. Passing in -1 for mode ignores this, handling all modes as before. Signed-off-by: Kenneth Graunke --- src/glsl/nir/nir.h | 1 + src/glsl/nir/nir_lower_io.c | 21 + src/