vc4: Don't look at back stencil state unless two-sided stencil is enabled.
authorEric Anholt <eric@anholt.net>
Mon, 20 Oct 2014 21:53:07 +0000 (22:53 +0100)
committerEric Anholt <eric@anholt.net>
Tue, 21 Oct 2014 14:16:41 +0000 (15:16 +0100)
commit48f6351940ff62c29fff618cec722e845acc86d5
tree26382580783c863a2cf94155e9a9482c74f37156
parent4f17e026bb99c173444ff5ca7d0b782ed89ee604
vc4: Don't look at back stencil state unless two-sided stencil is enabled.

Fixes regressions in the next bugfix, because gallium util stuff leaves
the back stencil state as 0 if !back->enabled.
src/gallium/drivers/vc4/vc4_state.c