From 4a60b94701a54a7110766a184b048106f8fe4628 Mon Sep 17 00:00:00 2001 From: Brian Date: Mon, 6 Aug 2007 20:54:18 +0100 Subject: [PATCH] added softpipe_mipmap_tree_layout --- src/mesa/pipe/softpipe/Makefile | 1 + src/mesa/pipe/softpipe/sp_context.c | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/mesa/pipe/softpipe/Makefile b/src/mesa/pipe/softpipe/Makefile index 0eacfa2182a..3e815aa4673 100644 --- a/src/mesa/pipe/softpipe/Makefile +++ b/src/mesa/pipe/softpipe/Makefile @@ -29,6 +29,7 @@ DRIVER_SOURCES = \ sp_state_sampler.c \ sp_state_setup.c \ sp_state_surface.c \ + sp_tex_layout.c \ sp_surface.c C_SOURCES = \ diff --git a/src/mesa/pipe/softpipe/sp_context.c b/src/mesa/pipe/softpipe/sp_context.c index 9352c7afa71..139afde3765 100644 --- a/src/mesa/pipe/softpipe/sp_context.c +++ b/src/mesa/pipe/softpipe/sp_context.c @@ -33,13 +33,14 @@ #include "main/macros.h" #include "pipe/draw/draw_context.h" #include "pipe/p_defines.h" -#include "sp_context.h" +#include "sp_buffer.h" #include "sp_clear.h" +#include "sp_context.h" +#include "sp_prim_setup.h" #include "sp_region.h" -#include "sp_buffer.h" #include "sp_state.h" #include "sp_surface.h" -#include "sp_prim_setup.h" +#include "sp_tex_layout.h" #include "sp_winsys.h" @@ -199,6 +200,8 @@ struct pipe_context *softpipe_create( struct softpipe_winsys *sws ) softpipe->pipe.reset_occlusion_counter = softpipe_reset_occlusion_counter; softpipe->pipe.get_occlusion_counter = softpipe_get_occlusion_counter; + softpipe->pipe.mipmap_tree_layout = softpipe_mipmap_tree_layout; + softpipe->quad.polygon_stipple = sp_quad_polygon_stipple_stage(softpipe); softpipe->quad.shade = sp_quad_shade_stage(softpipe); softpipe->quad.alpha_test = sp_quad_alpha_test_stage(softpipe); -- 2.30.2