From 7089d88199d607d8a135a9605f14ec6393134205 Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Sun, 4 Dec 2016 01:10:34 +0100 Subject: st/nine: Bind destination for surface/volume uploads Will enable to use the bind count as an information for whether the surface/volume is used in the worker thread. Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/surface9.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/state_trackers/nine/surface9.c') diff --git a/src/gallium/state_trackers/nine/surface9.c b/src/gallium/state_trackers/nine/surface9.c index f7e479a26c4..26c2d69d276 100644 --- a/src/gallium/state_trackers/nine/surface9.c +++ b/src/gallium/state_trackers/nine/surface9.c @@ -628,6 +628,7 @@ NineSurface9_CopyMemToDefault( struct NineSurface9 *This, nine_context_box_upload(This->base.base.device, &From->pending_uploads_counter, + (struct NineUnknown *)This, r_dst, This->level, &dst_box, @@ -719,6 +720,7 @@ NineSurface9_UploadSelf( struct NineSurface9 *This, nine_context_box_upload(This->base.base.device, &This->pending_uploads_counter, + (struct NineUnknown *)This, res, This->level, &box, -- cgit v1.2.3