added softpipe_mipmap_tree_layout
authorBrian <brian.paul@tungstengraphics.com>
Mon, 6 Aug 2007 19:54:18 +0000 (20:54 +0100)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 6 Aug 2007 19:54:18 +0000 (20:54 +0100)
src/mesa/pipe/softpipe/Makefile
src/mesa/pipe/softpipe/sp_context.c

index 0eacfa2182a7db682ffeb291bb2c0c66eeec82ca..3e815aa46732340255232a10403746758781e2ea 100644 (file)
@@ -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 = \
index 9352c7afa718ff334ff875aec7a22ac7f1793c14..139afde3765873895aaccd7d618e52c048b09992 100644 (file)
 #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);