r600g: fix crash in set_framebuffer_state
authorGrigori Goronzy <greg@chown.ath.cx>
Thu, 10 Oct 2013 23:23:20 +0000 (01:23 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 11 Oct 2013 15:33:18 +0000 (17:33 +0200)
commit3de7e11f58917bb2372c7ec0e104038ae5dca245
tree1d39867d419b9966b597e309884b1cdf256fb253
parent396c69bf5de4c6ccf9c4a79fcfa63438bbaca994
r600g: fix crash in set_framebuffer_state

We should be able to safely set the framebuffer state without a
fragment shader bound. bind_ps_state will take care of updating the
necessary state bits later.

v2: check in update_db_shader_control
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_state.c