summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_context.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-09-29 20:03:06 +1000
committerDave Airlie <[email protected]>2010-09-29 20:04:00 +1000
commit08839c4055e89a10e90df2f3a3a2bdc4e6ce0273 (patch)
treefff59edef0203344c71144106b578cfc39253fd2 /src/gallium/drivers/r600/r600_context.c
parentd4da253b298677c63def5f2f774608d660be31a1 (diff)
Revert "r600g: add initial vertex translate support."
This reverts commit 914b669b082258fc05d0fec047b69949d88585c4. I didn't mean to commit this yet, will redo in new state system once we clean it up.
Diffstat (limited to 'src/gallium/drivers/r600/r600_context.c')
-rw-r--r--src/gallium/drivers/r600/r600_context.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/r600/r600_context.c b/src/gallium/drivers/r600/r600_context.c
index cff15c57d28..091751e93a9 100644
--- a/src/gallium/drivers/r600/r600_context.c
+++ b/src/gallium/drivers/r600/r600_context.c
@@ -62,9 +62,6 @@ static void r600_destroy_context(struct pipe_context *context)
u_upload_destroy(rctx->upload_vb);
u_upload_destroy(rctx->upload_ib);
- if (rctx->tran.translate_cache)
- translate_cache_destroy(rctx->tran.translate_cache);
-
radeon_ctx_fini(rctx->ctx);
FREE(rctx);
}
@@ -156,10 +153,6 @@ struct pipe_context *r600_create_context(struct pipe_screen *screen, void *priv)
goto out_free;
}
- rctx->tran.translate_cache = translate_cache_create();
- if (rctx->tran.translate_cache == NULL)
- goto out_free;
-
rctx->vs_constant = (struct radeon_state *)calloc(R600_MAX_CONSTANT, sizeof(struct radeon_state));
if (!rctx->vs_constant) {
goto out_free;