llvmpipe: version of block4 which doesn't need the full step array
[mesa.git] / src / gallium / drivers / llvmpipe / lp_rast_tri_tmp.h
index fcb8e2b05d27debe60ccc97ec116a69856cef7cb..e14886f0b9b5f4a245ac34b3f57a5718d2827156 100644 (file)
@@ -50,7 +50,9 @@ TAG(do_block_4)(struct lp_rasterizer_task *task,
    int j;
 
    for (j = 0; j < NR_PLANES; j++) {
-      mask &= ~build_mask(c[j] - 1, plane[j].step);
+      mask &= ~build_mask(c[j] - 1, 
+                         plane[j].step[1],
+                         plane[j].step[2]);
    }
 
    /* Now pass to the shader: