From 07633371ff4987d3149e78a1f0791da720af4e60 Mon Sep 17 00:00:00 2001 From: Brian Date: Mon, 6 Aug 2007 20:54:03 +0100 Subject: [PATCH] need a softpipe func for texture layout --- src/mesa/pipe/softpipe/sp_tex_layout.c | 13 +++++++++++++ src/mesa/pipe/softpipe/sp_tex_layout.h | 16 ++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 src/mesa/pipe/softpipe/sp_tex_layout.c create mode 100644 src/mesa/pipe/softpipe/sp_tex_layout.h diff --git a/src/mesa/pipe/softpipe/sp_tex_layout.c b/src/mesa/pipe/softpipe/sp_tex_layout.c new file mode 100644 index 00000000000..2bbdca0f58b --- /dev/null +++ b/src/mesa/pipe/softpipe/sp_tex_layout.c @@ -0,0 +1,13 @@ + +#include "pipe/p_state.h" +#include "sp_tex_layout.h" + + +GLboolean +softpipe_mipmap_tree_layout(struct pipe_context *pipe, + struct pipe_mipmap_tree *mt) +{ + return GL_TRUE; +} + + diff --git a/src/mesa/pipe/softpipe/sp_tex_layout.h b/src/mesa/pipe/softpipe/sp_tex_layout.h new file mode 100644 index 00000000000..be85e4be584 --- /dev/null +++ b/src/mesa/pipe/softpipe/sp_tex_layout.h @@ -0,0 +1,16 @@ +#ifndef SP_TEX_LAYOUT_H +#define SP_TEX_LAYOUT_H + + +struct pipe_context; +struct pipe_mipmap_tree; + + +extern GLboolean +softpipe_mipmap_tree_layout(struct pipe_context *pipe, + struct pipe_mipmap_tree *mt); + + +#endif /* SP_TEX_LAYOUT_H */ + + -- 2.30.2