r300: Further reduced the diff between radeon_span.[ch].
authorOliver McFadden <z3ro.geek@gmail.com>
Wed, 9 May 2007 18:06:10 +0000 (18:06 +0000)
committerOliver McFadden <z3ro.geek@gmail.com>
Wed, 9 May 2007 18:06:10 +0000 (18:06 +0000)
src/mesa/drivers/dri/r300/radeon_span.c
src/mesa/drivers/dri/radeon/radeon_span.c

index 9cae955de8b9fba50dc184d3817a5853e2d1b8c6..8b20034b191c97e4f8a6888061ec0f8d89696aa6 100644 (file)
@@ -40,9 +40,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  *
  */
 
-#include <unistd.h>
 #include "glheader.h"
-#include "imports.h"
 #include "swrast/swrast.h"
 
 #include "r300_state.h"
index 39452f8b4e74cd92a13d6a412911ce2eaa1a5a30..fd7a8c4fbfcbf110523ad6d9c585a12ccec853b9 100644 (file)
@@ -179,6 +179,9 @@ radeon_mba_z16(const driRenderbuffer * drb, GLint x, GLint y)
 #include "depthtmp.h"
 
 /* 24 bit depth, 8 bit stencil depthbuffer functions
+ *
+ * Careful: It looks like the R300 uses ZZZS byte order while the R200
+ * uses SZZZ for 24 bit depth, 8 bit stencil mode.
  */
 #define WRITE_DEPTH( _x, _y, d )                                       \
 do {                                                                   \