[Mesa-dev] [PATCH 02/43] st/nine: Refactor how user constbufs sizes are calculated

2015-01-30 Thread Axel Davy
Count explicitly the slots for float, int and bool constants, and deduce the constbuf size in nine_shader. Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/nine_shader.c | 17 ++--- src/gallium/state_trackers/nine/nine_shader.h | 22 ++ src/gallium

Re: [Mesa-dev] [PATCH 02/43] st/nine: Refactor how user constbufs sizes are calculated

2015-01-31 Thread Ilia Mirkin
On Fri, Jan 30, 2015 at 3:34 PM, Axel Davy wrote: > Count explicitly the slots for float, int and bool constants, > and deduce the constbuf size in nine_shader. > > Signed-off-by: Axel Davy > --- > src/gallium/state_trackers/nine/nine_shader.c | 17 ++--- > src/gallium/state_tracke