diff options
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_context.c')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_context.c | 9 |
1 files changed, 6 insertions, 3 deletions
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); |