diff options
author | Christoph Bumiller <[email protected]> | 2012-03-01 21:28:29 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-04-14 06:14:21 +0200 |
commit | 2206a7f5132905bb1b53d8343d11847010f6b63a (patch) | |
tree | 733e18f85c79e124de434144b6cb1e4d763dfb0b /src/gallium/drivers/nvc0/nvc0_context.c | |
parent | 680f20351ec65fb22774dc08f63d26cf66b47c59 (diff) |
nv50,nvc0: use new scratch buffers code
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_context.c')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_context.c b/src/gallium/drivers/nvc0/nvc0_context.c index 471c7be77e0..461ceb14c45 100644 --- a/src/gallium/drivers/nvc0/nvc0_context.c +++ b/src/gallium/drivers/nvc0/nvc0_context.c @@ -182,6 +182,8 @@ nvc0_create(struct pipe_screen *pscreen, void *priv) BCTX_REFN_bo(nvc0->bufctx_3d, SCREEN, flags, screen->fence.bo); BCTX_REFN_bo(nvc0->bufctx, FENCE, flags, screen->fence.bo); + nvc0->base.scratch.bo_size = 2 << 20; + return pipe; out_err: |