summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_context.c
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-03-01 21:28:29 +0100
committerChristoph Bumiller <[email protected]>2012-04-14 06:14:21 +0200
commit2206a7f5132905bb1b53d8343d11847010f6b63a (patch)
tree733e18f85c79e124de434144b6cb1e4d763dfb0b /src/gallium/drivers/nv50/nv50_context.c
parent680f20351ec65fb22774dc08f63d26cf66b47c59 (diff)
nv50,nvc0: use new scratch buffers code
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_context.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_context.c b/src/gallium/drivers/nv50/nv50_context.c
index 96ada551b30..8651be01c5c 100644
--- a/src/gallium/drivers/nv50/nv50_context.c
+++ b/src/gallium/drivers/nv50/nv50_context.c
@@ -175,6 +175,8 @@ nv50_create(struct pipe_screen *pscreen, void *priv)
BCTX_REFN_bo(nv50->bufctx_3d, SCREEN, flags, screen->fence.bo);
BCTX_REFN_bo(nv50->bufctx, FENCE, flags, screen->fence.bo);
+ nv50->base.scratch.bo_size = 2 << 20;
+
return pipe;
out_err: