st/mesa: fix crash when a shader uses a TBO and it's not bound
authorMarek Olšák <marek.olsak@amd.com>
Thu, 6 Feb 2014 01:16:50 +0000 (02:16 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 6 Feb 2014 16:29:59 +0000 (17:29 +0100)
commitc6dbcf10dff1f8343a26081f5489ef732ebb5460
treeb1ead7d9e8f4f30ad559f252b43ccf2458e5f474
parentb862cc23f203f1fd87edf44a32312491dce8bb91
st/mesa: fix crash when a shader uses a TBO and it's not bound

This binds a NULL sampler view in that case.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74251

Cc: "10.1" "10.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_cb_texture.c