mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 20:58:04 +02:00
softpipe: new comment and assertion for face value
This commit is contained in:
parent
1673bb38bb
commit
8fd0e453d7
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue