Displaying 2 results from an estimated 2 matches for "nv30mt".
Did you mean:
nv20mt
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code
...2666 100644
--- a/src/gallium/drivers/nv30/nv30_fragtex.c
+++ b/src/gallium/drivers/nv30/nv30_fragtex.c
@@ -59,9 +59,9 @@ static struct nouveau_stateobj *
nv30_fragtex_build(struct nv30_context *nv30, int unit)
{
struct nv30_sampler_state *ps = nv30->tex_sampler[unit];
- struct nv30_miptree *nv30mt = nv30->tex_miptree[unit];
- struct pipe_texture *pt = &nv30mt->base;
- struct nouveau_bo *bo = nouveau_bo(nv30mt->buffer);
+ struct nv04_miptree *mt = nv30->tex_miptree[unit];
+ struct pipe_texture *pt = &mt->base;
+ struct nouveau_bo *bo = mt->bo;
struct nv30_texture_f...
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code (v2)
...2666 100644
--- a/src/gallium/drivers/nv30/nv30_fragtex.c
+++ b/src/gallium/drivers/nv30/nv30_fragtex.c
@@ -59,9 +59,9 @@ static struct nouveau_stateobj *
nv30_fragtex_build(struct nv30_context *nv30, int unit)
{
struct nv30_sampler_state *ps = nv30->tex_sampler[unit];
- struct nv30_miptree *nv30mt = nv30->tex_miptree[unit];
- struct pipe_texture *pt = &nv30mt->base;
- struct nouveau_bo *bo = nouveau_bo(nv30mt->buffer);
+ struct nv04_miptree *mt = nv30->tex_miptree[unit];
+ struct pipe_texture *pt = &mt->base;
+ struct nouveau_bo *bo = mt->bo;
struct nv30_texture_f...