summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/pipe/softpipe/sp_tex_layout.c13
-rw-r--r--src/mesa/pipe/softpipe/sp_tex_layout.h16
2 files changed, 29 insertions, 0 deletions
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 */
+
+