summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_screen.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-09-17 12:47:49 +1000
committerDave Airlie <[email protected]>2010-09-17 15:29:31 +1000
commit7c1fcc41be15b6d648f84c8c1870a3a00575a48f (patch)
treeae08a7619787a20116ef12fc836e2e4a3f568711 /src/gallium/drivers/r600/r600_screen.c
parent0dbcf3b014ff05843bc71235652cd4a0e089bbc9 (diff)
r600g: move constant buffer creation behind winsys abstraction.
this paves the way for moving to pb bufmgrs now.
Diffstat (limited to 'src/gallium/drivers/r600/r600_screen.c')
-rw-r--r--src/gallium/drivers/r600/r600_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_screen.c b/src/gallium/drivers/r600/r600_screen.c
index 19d1005e771..1d8612c21d4 100644
--- a/src/gallium/drivers/r600/r600_screen.c
+++ b/src/gallium/drivers/r600/r600_screen.c
@@ -277,6 +277,7 @@ struct pipe_screen *r600_screen_create(struct radeon *rw)
FREE(rscreen);
return NULL;
}
+ radeon_set_mem_constant(rw, rscreen->use_mem_constant);
rscreen->rw = rw;
rscreen->screen.winsys = (struct pipe_winsys*)rw;
rscreen->screen.destroy = r600_destroy_screen;