FREE(rctx->ps_resource);
FREE(rctx->vs_resource);
- FREE(rctx->vs_const);
- FREE(rctx->ps_const);
FREE(rctx);
}
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);
struct pipe_clip_state clip;
unsigned vs_nconst;
unsigned ps_nconst;
- struct r600_pipe_state *vs_const;
- struct r600_pipe_state *ps_const;
struct r600_pipe_state *vs_resource;
struct r600_pipe_state *ps_resource;
struct r600_pipe_state config;