summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_miptree.c
blob: 720d33fda91a32115fbb3477538f0b0529c89d1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#include "pipe/p_state.h"
#include "pipe/p_defines.h"
#include "pipe/p_util.h"
#include "pipe/p_screen.h"

#include "nv50_context.h"

static struct pipe_texture *
nv50_miptree_create(struct pipe_screen *pscreen, const struct pipe_texture *pt)
{
	NOUVEAU_ERR("unimplemented\n");
	return NULL;
}

static void
nv50_miptree_release(struct pipe_screen *pscreen, struct pipe_texture **pt)
{
	NOUVEAU_ERR("unimplemented\n");
}

static struct pipe_surface *
nv50_miptree_surface(struct pipe_screen *pscreen, struct pipe_texture *pt,
		     unsigned face, unsigned level, unsigned zslice)
{
	NOUVEAU_ERR("unimplemented\n");
	return NULL;
}

void
nv50_screen_init_miptree_functions(struct pipe_screen *pscreen)
{
	pscreen->texture_create = nv50_miptree_create;
	pscreen->texture_release = nv50_miptree_release;
	pscreen->get_tex_surface = nv50_miptree_surface;
}

static void
nv50_miptree_update(struct pipe_context *pipe, struct pipe_texture *mt)
{
}

void
nv50_init_miptree_functions(struct nv50_context *nv50)
{
	nv50->pipe.texture_update = nv50_miptree_update;
}