softpipe: new comment and assertion for face value

This commit is contained in:
Brian Paul 2010-04-18 10:01:04 -06:00
parent 1673bb38bb
commit 8fd0e453d7

View file

@ -520,6 +520,9 @@ depth_stencil_test_quad(struct quad_stage *qs,
face = 0;
}
/* 0 = front-face, 1 = back-face */
assert(face == 0 || face == 1);
/* choose front or back face function, operator, etc */
/* XXX we could do these initializations once per primitive */
func = softpipe->depth_stencil->stencil[face].func;