summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/volume9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-12-04 01:10:34 +0100
committerAxel Davy <[email protected]>2016-12-20 23:47:08 +0100
commit7089d88199d607d8a135a9605f14ec6393134205 (patch)
tree833b1400c2eb35256f1a525802902b9c8f9d8b5b /src/gallium/state_trackers/nine/volume9.c
parentd4a9b21feb890c149f0aa44b0bb6ea63a9932925 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/volume9.c')
-rw-r--r--src/gallium/state_trackers/nine/volume9.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/volume9.c b/src/gallium/state_trackers/nine/volume9.c
index e8abfe7f3bc..29a1fcbbd03 100644
--- a/src/gallium/state_trackers/nine/volume9.c
+++ b/src/gallium/state_trackers/nine/volume9.c
@@ -435,6 +435,7 @@ NineVolume9_CopyMemToDefault( struct NineVolume9 *This,
nine_context_box_upload(This->base.device,
&From->pending_uploads_counter,
+ (struct NineUnknown *)This,
r_dst,
This->level,
&dst_box,
@@ -489,6 +490,7 @@ NineVolume9_UploadSelf( struct NineVolume9 *This,
nine_context_box_upload(This->base.device,
&This->pending_uploads_counter,
+ (struct NineUnknown *)This,
res,
This->level,
&box,