radeonsi: Properly handle NULL sampler views.
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 12 Sep 2012 13:53:51 +0000 (15:53 +0200)
committerMichel Dänzer <michel@daenzer.net>
Wed, 12 Sep 2012 13:53:51 +0000 (15:53 +0200)
commit7443e4e697c0517f505d83436dcbe1fd01c1c39e
treebe7bb9af86586185b5f8e146c99b89b1a7704219
parentd67d8e24718a7ab991caa6798563e53ae343cede
radeonsi: Properly handle NULL sampler views.

Fixes piglit shaders/glsl-fs-uniform-sampler-array and many other similar
tests.

In fact, I just completed a piglit quick-driver.tests run without any GPU
lockups or even VM protection faults. Yay!

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_state.c