nv50: zero out unbound samplers
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 30 Aug 2014 17:35:47 +0000 (13:35 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 1 Sep 2014 22:38:02 +0000 (18:38 -0400)
commit362cd26960aff2e997584064443dcc0418516ae6
treef033c5c9a4a98f7be1e1ae3d17b6ea1bc03648ea
parentc4bb436f7660c951cd27e52660cf825da68793e5
nv50: zero out unbound samplers

Samplers are only defined up to num_samplers, so set all samplers above
nr to NULL so that we don't try to read them again later.

Tested-by: Christian Ruppert <idl0r@qasl.de>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.2 10.3" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nv50/nv50_state.c