From 7c1fcc41be15b6d648f84c8c1870a3a00575a48f Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 17 Sep 2010 12:47:49 +1000 Subject: r600g: move constant buffer creation behind winsys abstraction. this paves the way for moving to pb bufmgrs now. --- src/gallium/drivers/r600/r600_blit.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gallium/drivers/r600/r600_blit.c') diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index 0e061c25f7..54fbc50bbc 100644 --- a/src/gallium/drivers/r600/r600_blit.c +++ b/src/gallium/drivers/r600/r600_blit.c @@ -179,11 +179,11 @@ static int r600_blit_state_vs_resources(struct r600_screen *rscreen, struct r600 }; /* simple shader */ - bo = radeon_ws_bo(rscreen->rw, 128, 4096); + bo = radeon_ws_bo(rscreen->rw, 128, 4096, 0); if (bo == NULL) { return -ENOMEM; } - data = radeon_ws_bo_map(rscreen->rw, bo); + data = radeon_ws_bo_map(rscreen->rw, bo, 0, NULL); if (!data) { radeon_ws_bo_reference(rscreen->rw, &bo, NULL); return -ENOMEM; @@ -274,11 +274,11 @@ static void r600_blit_state_vs_shader(struct r600_screen *rscreen, struct radeon }; /* simple shader */ - bo = radeon_ws_bo(rscreen->rw, 128, 4096); + bo = radeon_ws_bo(rscreen->rw, 128, 4096, 0); if (bo == NULL) { return; } - data = radeon_ws_bo_map(rscreen->rw, bo); + data = radeon_ws_bo_map(rscreen->rw, bo, 0, NULL); if (!data) { radeon_ws_bo_reference(rscreen->rw, &bo, NULL); return; @@ -338,11 +338,11 @@ static void r600_blit_state_ps_shader(struct r600_screen *rscreen, struct radeon }; /* simple shader */ - bo = radeon_ws_bo(rscreen->rw, 128, 4096); + bo = radeon_ws_bo(rscreen->rw, 128, 4096, 0); if (bo == NULL) { return; } - data = radeon_ws_bo_map(rscreen->rw, bo); + data = radeon_ws_bo_map(rscreen->rw, bo, 0, NULL); if (!data) { radeon_ws_bo_reference(rscreen->rw, &bo, NULL); return; -- cgit v1.2.3