radeonsi: fix a crash if a stencil ref state is set before a DSA state
authorMarek Olšák <marek.olsak@amd.com>
Sun, 15 Feb 2015 17:12:06 +0000 (18:12 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 17 Feb 2015 16:41:00 +0000 (17:41 +0100)
commit2ead74888a70481aa40b5b6ede42279e1917e66c
tree4f0b47051420e602da6b94f5c8276a79b92a68c5
parent7713d594e4fbb9afb1ac67417b7871d436590548
radeonsi: fix a crash if a stencil ref state is set before a DSA state

+ minor indentation fixes

Discovered by Axel Davy.

This can't be reproduced with any app, because all state trackers set a DSA
state first.

Cc: 10.5 10.4 10.3 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
src/gallium/drivers/radeonsi/si_state.c