diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-06-25 09:46:04 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-06-25 09:46:04 -0600 |
commit | 192f9ab81b3e2c88812f540c7a5c820e3783ff8a (patch) | |
tree | c0eeb61847d85babeb607efea8328d804c645e9b /src/mesa/pipe | |
parent | 363e6020429f31d6b923fcd05407d7f3e36bc9ba (diff) |
fix logic error in updating of quad's Z values. Basic depth testing works now
Diffstat (limited to 'src/mesa/pipe')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_quad_depth_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/softpipe/sp_quad_depth_test.c b/src/mesa/pipe/softpipe/sp_quad_depth_test.c index 5229b31016..b72bbac0d4 100644 --- a/src/mesa/pipe/softpipe/sp_quad_depth_test.c +++ b/src/mesa/pipe/softpipe/sp_quad_depth_test.c @@ -84,7 +84,7 @@ depth_test_quad(struct quad_stage *qs, struct quad_header *quad) /* This is also efficient with sse / spe instructions: */ for (j = 0; j < QUAD_SIZE; j++) { - if (zmask & (1 << j)) { + if (quad->mask & (1 << j)) { zzzz[j] = quad->outputs.depth[j]; } } |