summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_context.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2011-03-01 12:26:20 +1000
committerBen Skeggs <[email protected]>2011-03-01 14:44:43 +1000
commit79079141fa7cbf395d1ffc77364ac301d9824211 (patch)
treef891d7925be9edf943827cf3d702dcdb94378419 /src/gallium/drivers/nv50/nv50_context.c
parent5c1c4f8593073c0bad9bada9234657dda1b25ff0 (diff)
nv50: move onto common linear buffer manager
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_context.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv50/nv50_context.c b/src/gallium/drivers/nv50/nv50_context.c
index 4380945a1ee..03a5c3d2d91 100644
--- a/src/gallium/drivers/nv50/nv50_context.c
+++ b/src/gallium/drivers/nv50/nv50_context.c
@@ -119,13 +119,13 @@ nv50_create(struct pipe_screen *pscreen, void *priv)
}
struct resident {
- struct nv50_resource *res;
+ struct nv04_resource *res;
uint32_t flags;
};
void
nv50_bufctx_add_resident(struct nv50_context *nv50, int ctx,
- struct nv50_resource *resource, uint32_t flags)
+ struct nv04_resource *resource, uint32_t flags)
{
struct resident rsd = { resource, flags };
@@ -140,7 +140,7 @@ nv50_bufctx_add_resident(struct nv50_context *nv50, int ctx,
void
nv50_bufctx_del_resident(struct nv50_context *nv50, int ctx,
- struct nv50_resource *resource)
+ struct nv04_resource *resource)
{
struct resident *rsd, *top;
unsigned i;