summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_surfaces.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-12-08 15:37:17 +0100
committerMarek Olšák <[email protected]>2012-12-12 13:09:54 +0100
commit25409c6da8163d9acb386511aef0c11577c7aadb (patch)
treeda38c5f59a9703c6feb89d9fac3a6c615a3bebc0 /src/gallium/auxiliary/util/u_surfaces.h
parentc1f704073b8992f3556c8e44a7fc496e250ba3ae (diff)
gallium: remove pipe_surface::usage
Not really used by anybody now. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_surfaces.h')
-rw-r--r--src/gallium/auxiliary/util/u_surfaces.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/util/u_surfaces.h b/src/gallium/auxiliary/util/u_surfaces.h
index 9581feda7c8..1605215cb88 100644
--- a/src/gallium/auxiliary/util/u_surfaces.h
+++ b/src/gallium/auxiliary/util/u_surfaces.h
@@ -46,14 +46,14 @@ struct util_surfaces
boolean
util_surfaces_do_get(struct util_surfaces *us, unsigned surface_struct_size,
struct pipe_context *ctx, struct pipe_resource *pt,
- unsigned level, unsigned layer, unsigned flags,
+ unsigned level, unsigned layer,
struct pipe_surface **res);
/* fast inline path for the very common case */
static INLINE boolean
util_surfaces_get(struct util_surfaces *us, unsigned surface_struct_size,
struct pipe_context *ctx, struct pipe_resource *pt,
- unsigned level, unsigned layer, unsigned flags,
+ unsigned level, unsigned layer,
struct pipe_surface **res)
{
if(likely((pt->target == PIPE_TEXTURE_2D || pt->target == PIPE_TEXTURE_RECT) && us->u.array))
@@ -67,7 +67,7 @@ util_surfaces_get(struct util_surfaces *us, unsigned surface_struct_size,
}
}
- return util_surfaces_do_get(us, surface_struct_size, ctx, pt, level, layer, flags, res);
+ return util_surfaces_do_get(us, surface_struct_size, ctx, pt, level, layer, res);
}
static INLINE struct pipe_surface *