summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-06 20:54:03 +0100
committerBrian <[email protected]>2007-08-06 20:54:03 +0100
commit07633371ff4987d3149e78a1f0791da720af4e60 (patch)
treeb51cd1d05a5a2267ced3b2090629f19336d53b1d /src
parent6da9234fd437f97267e7831f034c78b31156d939 (diff)
need a softpipe func for texture layout
Diffstat (limited to 'src')
-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 */
+
+