summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/basetexture9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-12-04 01:13:25 +0100
committerAxel Davy <[email protected]>2016-12-20 23:47:08 +0100
commit325324c749c2331162e7889efc335bfcfcd27005 (patch)
treee4325dd0df9b5b113b3498401894c2a56a36df9d /src/gallium/state_trackers/nine/basetexture9.c
parent7089d88199d607d8a135a9605f14ec6393134205 (diff)
st/nine: Idem for nine_context_gen_mipmap
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/basetexture9.c')
-rw-r--r--src/gallium/state_trackers/nine/basetexture9.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/basetexture9.c b/src/gallium/state_trackers/nine/basetexture9.c
index 5b9b0019a2e..0a9034c949d 100644
--- a/src/gallium/state_trackers/nine/basetexture9.c
+++ b/src/gallium/state_trackers/nine/basetexture9.c
@@ -405,7 +405,8 @@ NineBaseTexture9_GenerateMipSubLevels( struct NineBaseTexture9 *This )
last_layer = util_max_layer(This->view[0]->texture, base_level);
- nine_context_gen_mipmap(This->base.base.device, This->base.resource,
+ nine_context_gen_mipmap(This->base.base.device, (struct NineUnknown *)This,
+ This->base.resource,
base_level, last_level,
first_layer, last_layer, filter);