summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-06 20:54:18 +0100
committerBrian <brian.paul@tungstengraphics.com>2007-08-06 20:54:18 +0100
commit4a60b94701a54a7110766a184b048106f8fe4628 (patch)
treef654b13a4021190b23c512666beb6275778009b5 /src
parent07633371ff4987d3149e78a1f0791da720af4e60 (diff)
added softpipe_mipmap_tree_layout
Diffstat (limited to 'src')
-rw-r--r--src/mesa/pipe/softpipe/Makefile1
-rw-r--r--src/mesa/pipe/softpipe/sp_context.c9
2 files changed, 7 insertions, 3 deletions
diff --git a/src/mesa/pipe/softpipe/Makefile b/src/mesa/pipe/softpipe/Makefile
index 0eacfa2182..3e815aa467 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 9352c7afa7..139afde376 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);