Re: [Mesa-dev] [PATCH] st/mesa: set the vbuffer to NULL if we are skipping it

2015-09-03 Thread Marek Olšák
It's not required to set buffer_offset, because buffer=NULL and user_buffer=NULL indicate a disabled slot. Anyway: Reviewed-by: Marek Olšák Marek On Fri, Sep 4, 2015 at 2:25 AM, Dave Airlie wrote: > From: Dave Airlie > > If we skip a vbuffer we need to make sure we NULL out > the contents, ot

[Mesa-dev] [PATCH] st/mesa: set the vbuffer to NULL if we are skipping it

2015-09-03 Thread Dave Airlie
From: Dave Airlie If we skip a vbuffer we need to make sure we NULL out the contents, otherwise when it gets passed to the driver it will get confused. This was hit by: GL41-CTS.gpu_shader_fp64.varyings Signed-off-by: Dave Airlie --- src/mesa/state_tracker/st_atom_array.c | 6 +- 1 file c