summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel/intel_span.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-12-05 20:40:48 -0700
committerBrian Paul <[email protected]>2011-12-08 08:56:30 -0700
commitd0dc75c000d5af92648c7de901756400672b8447 (patch)
treeb24277323119309015a3d8a2e3aea266d09b4299 /src/mesa/drivers/dri/intel/intel_span.c
parentb85284f45e8b05ba9a0dac8dd95a9c078e4a635e (diff)
mesa/drivers: use new swrast renderbuffer functions
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_span.c')
-rw-r--r--src/mesa/drivers/dri/intel/intel_span.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_span.c b/src/mesa/drivers/dri/intel/intel_span.c
index d203617488c..43b815114ad 100644
--- a/src/mesa/drivers/dri/intel/intel_span.c
+++ b/src/mesa/drivers/dri/intel/intel_span.c
@@ -46,6 +46,7 @@
#include "intel_tex.h"
#include "swrast/swrast.h"
+#include "swrast/s_renderbuffer.h"
static void
intel_set_span_functions(struct intel_context *intel,
@@ -415,19 +416,19 @@ static span_init_func intel_span_init_funcs[MESA_FORMAT_COUNT] =
[MESA_FORMAT_XRGB8888] = intel_InitPointers_xRGB8888,
[MESA_FORMAT_ARGB8888] = intel_InitPointers_ARGB8888,
[MESA_FORMAT_SARGB8] = intel_InitPointers_ARGB8888,
- [MESA_FORMAT_Z16] = _mesa_set_renderbuffer_accessors,
- [MESA_FORMAT_X8_Z24] = _mesa_set_renderbuffer_accessors,
- [MESA_FORMAT_S8_Z24] = _mesa_set_renderbuffer_accessors,
- [MESA_FORMAT_S8] = _mesa_set_renderbuffer_accessors,
- [MESA_FORMAT_R8] = _mesa_set_renderbuffer_accessors,
- [MESA_FORMAT_GR88] = _mesa_set_renderbuffer_accessors,
- [MESA_FORMAT_R16] = _mesa_set_renderbuffer_accessors,
- [MESA_FORMAT_RG1616] = _mesa_set_renderbuffer_accessors,
- [MESA_FORMAT_RGBA_FLOAT32] = _mesa_set_renderbuffer_accessors,
- [MESA_FORMAT_RG_FLOAT32] = _mesa_set_renderbuffer_accessors,
- [MESA_FORMAT_R_FLOAT32] = _mesa_set_renderbuffer_accessors,
- [MESA_FORMAT_INTENSITY_FLOAT32] = _mesa_set_renderbuffer_accessors,
- [MESA_FORMAT_LUMINANCE_FLOAT32] = _mesa_set_renderbuffer_accessors,
+ [MESA_FORMAT_Z16] = _swrast_set_renderbuffer_accessors,
+ [MESA_FORMAT_X8_Z24] = _swrast_set_renderbuffer_accessors,
+ [MESA_FORMAT_S8_Z24] = _swrast_set_renderbuffer_accessors,
+ [MESA_FORMAT_S8] = _swrast_set_renderbuffer_accessors,
+ [MESA_FORMAT_R8] = _swrast_set_renderbuffer_accessors,
+ [MESA_FORMAT_GR88] = _swrast_set_renderbuffer_accessors,
+ [MESA_FORMAT_R16] = _swrast_set_renderbuffer_accessors,
+ [MESA_FORMAT_RG1616] = _swrast_set_renderbuffer_accessors,
+ [MESA_FORMAT_RGBA_FLOAT32] = _swrast_set_renderbuffer_accessors,
+ [MESA_FORMAT_RG_FLOAT32] = _swrast_set_renderbuffer_accessors,
+ [MESA_FORMAT_R_FLOAT32] = _swrast_set_renderbuffer_accessors,
+ [MESA_FORMAT_INTENSITY_FLOAT32] = _swrast_set_renderbuffer_accessors,
+ [MESA_FORMAT_LUMINANCE_FLOAT32] = _swrast_set_renderbuffer_accessors,
};
bool