diff options
author | Alex Deucher <[email protected]> | 2009-07-17 18:10:48 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2009-07-17 18:19:01 -0400 |
commit | 5008269cfeb91bd5e763e48c26f02b78568c4cff (patch) | |
tree | 16b1c484ddcaa54b668abe44c4c3400f6169f69e /src | |
parent | a046beaffee6233e178ba7184df10f3eacd0bce4 (diff) |
R200: fix build when RADEON_DEBUG_BO is set
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_cmdbuf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_cmdbuf.c b/src/mesa/drivers/dri/r200/r200_cmdbuf.c index 25e30eda522..d49f4fabe72 100644 --- a/src/mesa/drivers/dri/r200/r200_cmdbuf.c +++ b/src/mesa/drivers/dri/r200/r200_cmdbuf.c @@ -234,9 +234,15 @@ GLushort *r200AllocEltsOpenEnded( r200ContextPtr rmesa, radeonEmitState(&rmesa->radeon); +#ifdef RADEON_DEBUG_BO + rmesa->radeon.tcl.elt_dma_bo = radeon_bo_open(rmesa->radeon.radeonScreen->bom, + 0, R200_ELT_BUF_SZ, 4, + RADEON_GEM_DOMAIN_GTT, 0, "ELT"); +#else rmesa->radeon.tcl.elt_dma_bo = radeon_bo_open(rmesa->radeon.radeonScreen->bom, 0, R200_ELT_BUF_SZ, 4, RADEON_GEM_DOMAIN_GTT, 0); +#endif rmesa->radeon.tcl.elt_dma_offset = 0; rmesa->tcl.elt_used = min_nr * 2; |