diff options
author | Marek Olšák <[email protected]> | 2015-05-28 16:28:39 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-06-05 19:44:32 +0200 |
commit | b7ef7903b8f582438172ef1bdc72788be3aa0860 (patch) | |
tree | 42035b64e591127ddb400be944adbc0ccf48bc00 /src/mesa/program/program.c | |
parent | e8b040477e271324a88d35c003775337848a500c (diff) |
mesa: remove useless gl_compute_program_state::Current
This is for user assembly shaders only (not GLSL). We won't support those.
Reviewed-by: Dave Airlie <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/program/program.c')
-rw-r--r-- | src/mesa/program/program.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index f0a47ac9201..1167adf5ddd 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -97,8 +97,6 @@ _mesa_init_program(struct gl_context *ctx) assert(ctx->FragmentProgram.Current); ctx->FragmentProgram.Cache = _mesa_new_program_cache(); - _mesa_reference_compprog(ctx, &ctx->ComputeProgram.Current, NULL); - /* XXX probably move this stuff */ ctx->ATIFragmentShader.Enabled = GL_FALSE; ctx->ATIFragmentShader.Current = ctx->Shared->DefaultFragmentShader; @@ -117,7 +115,6 @@ _mesa_free_program_data(struct gl_context *ctx) _mesa_delete_program_cache(ctx, ctx->VertexProgram.Cache); _mesa_reference_fragprog(ctx, &ctx->FragmentProgram.Current, NULL); _mesa_delete_shader_cache(ctx, ctx->FragmentProgram.Cache); - _mesa_reference_compprog(ctx, &ctx->ComputeProgram.Current, NULL); /* XXX probably move this stuff */ if (ctx->ATIFragmentShader.Current) { |