summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/nv50/nv50_miptree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/nv50/nv50_miptree.c')
-rw-r--r--src/mesa/pipe/nv50/nv50_miptree.c17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/mesa/pipe/nv50/nv50_miptree.c b/src/mesa/pipe/nv50/nv50_miptree.c
index cf0e530f31..51442d64f3 100644
--- a/src/mesa/pipe/nv50/nv50_miptree.c
+++ b/src/mesa/pipe/nv50/nv50_miptree.c
@@ -4,10 +4,21 @@
#include "nv50_context.h"
-boolean
-nv50_miptree_layout(struct pipe_context *pipe, struct pipe_mipmap_tree *mt)
+static void
+nv50_miptree_create(struct pipe_context *pipe, struct pipe_texture **pt)
{
NOUVEAU_ERR("unimplemented\n");
- return TRUE;
}
+static void
+nv50_miptree_release(struct pipe_context *pipe, struct pipe_texture **pt)
+{
+ NOUVEAU_ERR("unimplemented\n");
+}
+
+void
+nv50_init_miptree_functions(struct nv50_context *nv50)
+{
+ nv50->pipe.texture_create = nv50_miptree_create;
+ nv50->pipe.texture_release = nv50_miptree_release;
+}