From 5981ab544562c667c882526c31a6f8c2ce6eba12 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 7 Sep 2016 21:24:08 +0200 Subject: gallium: remove PIPE_BIND_TRANSFER_READ/WRITE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit not used in any useful way Reviewed-by: Eric Anholt Reviewed-by: Nicolai Hähnle Reviewed-by: Roland Scheidegger --- src/gallium/state_trackers/nine/adapter9.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gallium/state_trackers/nine/adapter9.c') diff --git a/src/gallium/state_trackers/nine/adapter9.c b/src/gallium/state_trackers/nine/adapter9.c index 41140d46f33..acf205dc58c 100644 --- a/src/gallium/state_trackers/nine/adapter9.c +++ b/src/gallium/state_trackers/nine/adapter9.c @@ -388,8 +388,7 @@ NineAdapter9_CheckDeviceMultiSampleType( struct NineAdapter9 *This, if (depth_stencil_format(SurfaceFormat)) bind = d3d9_get_pipe_depth_format_bindings(SurfaceFormat); else /* render-target */ - bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_TRANSFER_READ | - PIPE_BIND_TRANSFER_WRITE | PIPE_BIND_RENDER_TARGET; + bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET; pf = d3d9_to_pipe_format_checked(screen, SurfaceFormat, PIPE_TEXTURE_2D, MultiSampleType, bind, FALSE, FALSE); -- cgit v1.2.3