diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2008-03-17 14:22:36 +1100 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-03-17 14:45:19 +1100 |
commit | f93386de0fb281e79633c3bf57060f660abdfade (patch) | |
tree | 13b33883fdb61c6b56c257c1a69894fe03729b12 /src/gallium/winsys/dri/nouveau/nouveau_bo.c | |
parent | 767cd2ed6e97ae09526b15728495f361d5e22cb2 (diff) |
nouveau: create fence object when allocating pushbuf, instead of submit
Diffstat (limited to 'src/gallium/winsys/dri/nouveau/nouveau_bo.c')
-rw-r--r-- | src/gallium/winsys/dri/nouveau/nouveau_bo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/dri/nouveau/nouveau_bo.c b/src/gallium/winsys/dri/nouveau/nouveau_bo.c index ad587bafdf..40d4667c47 100644 --- a/src/gallium/winsys/dri/nouveau/nouveau_bo.c +++ b/src/gallium/winsys/dri/nouveau/nouveau_bo.c @@ -376,9 +376,10 @@ nouveau_bo_validate_bo(struct nouveau_channel *chan, struct nouveau_bo *bo, int nouveau_bo_validate(struct nouveau_channel *chan, struct nouveau_bo *bo, - struct nouveau_fence *fence, uint32_t flags) + uint32_t flags) { struct nouveau_bo_priv *nvbo = nouveau_bo(bo); + struct nouveau_fence *fence = nouveau_pushbuf(chan->pushbuf)->fence; int ret; assert(bo->map == NULL); |