intel: Rename the z24_x8 depth spans to z24_s8 since they do stencil too.
authorEric Anholt <eric@anholt.net>
Tue, 16 Mar 2010 21:02:22 +0000 (14:02 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 17 Mar 2010 18:12:36 +0000 (11:12 -0700)
src/mesa/drivers/dri/intel/intel_span.c

index 377f3a8627eaface738ca0d6261a019065b8f672..c1e15d1b0f299db27ff5d107f5cb23d72e5bfb13 100644 (file)
@@ -134,7 +134,7 @@ intel_set_span_functions(struct intel_context *intel,
    (*(uint32_t *)(irb->region->buffer->virtual + NO_TILE(_x, _y)) = d)
 #define READ_DEPTH(d, _x, _y) \
    d = *(uint32_t *)(irb->region->buffer->virtual + NO_TILE(_x, _y))
-#define TAG(x) intel_##x##_z24_x8
+#define TAG(x) intel_##x##_z24_s8
 #include "depthtmp.h"
 
 void
@@ -361,7 +361,7 @@ intel_set_span_functions(struct intel_context *intel,
       break;
    case MESA_FORMAT_X8_Z24:
    case MESA_FORMAT_S8_Z24:
-      intel_InitDepthPointers_z24_x8(rb);
+      intel_InitDepthPointers_z24_s8(rb);
       break;
    default:
       _mesa_problem(NULL,