summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_pipe.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-10-13 15:56:12 +1000
committerDave Airlie <airlied@redhat.com>2010-10-13 15:56:12 +1000
commit560427667006f01ad9146fa07185924d4f3a08d6 (patch)
treef0a7b882ccbc081377265e162ee55f694c35d4c3 /src/gallium/drivers/r600/r600_pipe.c
parentd59498b78041b8a7a046ac2c892e7a1896f59ca2 (diff)
r600g: the vs/ps const arrays weren't actually being used.
completely removed them.
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 69bfb2a1a4..8eb9799323 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -87,8 +87,6 @@ static void r600_destroy_context(struct pipe_context *context)
FREE(rctx->ps_resource);
FREE(rctx->vs_resource);
- FREE(rctx->vs_const);
- FREE(rctx->ps_const);
FREE(rctx);
}
@@ -175,18 +173,6 @@ static struct pipe_context *r600_create_context(struct pipe_screen *screen, void
return NULL;
}
- rctx->vs_const = CALLOC(R600_CONSTANT_ARRAY_SIZE, sizeof(struct r600_pipe_state));
- if (!rctx->vs_const) {
- FREE(rctx);
- return NULL;
- }
-
- rctx->ps_const = CALLOC(R600_CONSTANT_ARRAY_SIZE, sizeof(struct r600_pipe_state));
- if (!rctx->vs_const) {
- FREE(rctx);
- return NULL;
- }
-
rctx->vs_resource = CALLOC(R600_RESOURCE_ARRAY_SIZE, sizeof(struct r600_pipe_state));
if (!rctx->vs_resource) {
FREE(rctx);