From cad17554c4b121c03e188dd0281718a52d603a15 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Thu, 14 Jul 2011 12:40:04 +0200 Subject: nv50,nvc0: unify nvc0_miptree and nv50_miptree structs Share some functions and restructure miptree creation a little. Prepare for multi-sample resources. --- src/gallium/drivers/nvc0/nvc0_context.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/gallium/drivers/nvc0/nvc0_context.h') diff --git a/src/gallium/drivers/nvc0/nvc0_context.h b/src/gallium/drivers/nvc0/nvc0_context.h index b05cc337d5d..e59209176e0 100644 --- a/src/gallium/drivers/nvc0/nvc0_context.h +++ b/src/gallium/drivers/nvc0/nvc0_context.h @@ -137,20 +137,6 @@ nvc0_context(struct pipe_context *pipe) return (struct nvc0_context *)pipe; } -struct nvc0_surface { - struct pipe_surface base; - uint32_t offset; - uint32_t width; - uint16_t height; - uint16_t depth; -}; - -static INLINE struct nvc0_surface * -nvc0_surface(struct pipe_surface *ps) -{ - return (struct nvc0_surface *)ps; -} - /* nvc0_context.c */ struct pipe_context *nvc0_create(struct pipe_screen *, void *); -- cgit v1.2.3