summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/postprocess/pp_init.c
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/postprocess/pp_init.c
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/postprocess/pp_init.c')
-rw-r--r--src/gallium/auxiliary/postprocess/pp_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/postprocess/pp_init.c b/src/gallium/auxiliary/postprocess/pp_init.c
index e059be6e9bc..d9552736f00 100644
--- a/src/gallium/auxiliary/postprocess/pp_init.c
+++ b/src/gallium/auxiliary/postprocess/pp_init.c
@@ -213,7 +213,7 @@ pp_init_fbos(struct pp_queue_t *ppq, unsigned int w,
tmp_res.depth0 = 1;
tmp_res.array_size = 1;
tmp_res.last_level = 0;
- tmp_res.bind = p->surf.usage = PIPE_BIND_RENDER_TARGET;
+ tmp_res.bind = PIPE_BIND_RENDER_TARGET;
if (!p->screen->is_format_supported(p->screen, tmp_res.format,
tmp_res.target, 1, tmp_res.bind))
@@ -237,7 +237,7 @@ pp_init_fbos(struct pp_queue_t *ppq, unsigned int w,
goto error;
}
- tmp_res.bind = p->surf.usage = PIPE_BIND_DEPTH_STENCIL;
+ tmp_res.bind = PIPE_BIND_DEPTH_STENCIL;
tmp_res.format = p->surf.format = PIPE_FORMAT_S8_UINT_Z24_UNORM;