radeonsi: fix a future crash in emit_cb_target_mask
authorMarek Olšák <marek.olsak@amd.com>
Fri, 6 Nov 2015 22:42:49 +0000 (23:42 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 13 Nov 2015 18:54:41 +0000 (19:54 +0100)
commite15c5c7a069a8dd8e0ad97f0f405a85f0f52d9f4
tree0e93e2e5c4f03b61669f984f326c8527f92da8a5
parent65d0c558d5dfa0d10f3f169dd5af65ccc69e1899
radeonsi: fix a future crash in emit_cb_target_mask

This can't crash currently, but it would crash if clear_buffer
from u_blitter were used with a clean context.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state.c