draw: (trivial) fix NULL pointer dereference
authorRoland Scheidegger <sroland@vmware.com>
Thu, 4 Jun 2015 12:35:59 +0000 (14:35 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 5 Jun 2015 00:20:35 +0000 (02:20 +0200)
commit6e5970ffee0129fb94d8b7f0ebd4fac3992e7dce
treed52b745503fcdce87dc9caa9d241d98cc8e9ddc9
parentc820407ef0aac87546d1a778e169cfa1a915a219
draw: (trivial) fix NULL pointer dereference

This probably got broken when the samplers were converted to be indexed
by shader type.
Seen when looking at bug 89819 though I'm not sure if that really was what
the bug was about...

Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/draw/draw_llvm.c