svga: issue debug warning for unsupported two-sided stencil state
authorBrian Paul <brianp@vmware.com>
Fri, 10 Nov 2017 20:13:46 +0000 (13:13 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 15 Nov 2017 23:12:43 +0000 (16:12 -0700)
commit824e8084ed557061cd7a008b08da15897277d66e
tree5e6d968b272cbc3941104be158c1f59a15f45cce
parentcacb88490a98af2d9abc582acef385c7b9d1a372
svga: issue debug warning for unsupported two-sided stencil state

We only have a single stencil read mask and write mask.  Issue a
warning if different front/back values are used.  The Piglit
gl-2.0-two-sided-stencil test hits this.

Reviewed-by: Neha Bhende <bhenden@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_pipe_depthstencil.c