diff options
author | Timothy Arceri <[email protected]> | 2016-10-19 11:13:52 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-10-26 14:29:36 +1100 |
commit | 64d9773cfebded42691a70e3b233cadf896e53ba (patch) | |
tree | 5723116394eb77c64c8bb52459540131ec1ab38f /src/mesa/program/program.c | |
parent | 750b14ed8e6ff539f17069dec63004159575ccd8 (diff) |
i965/mesa/st: eliminate gl_tess_ctrl_program
We now get all the tcs metadata from shader_info.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/program/program.c')
-rw-r--r-- | src/mesa/program/program.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index 67672164f59..f89a833d202 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -228,8 +228,8 @@ _mesa_new_program(struct gl_context *ctx, GLenum target, GLuint id) return _mesa_init_gl_program(&prog->Base, target, id); } case GL_TESS_CONTROL_PROGRAM_NV: { - struct gl_tess_ctrl_program *prog = CALLOC_STRUCT(gl_tess_ctrl_program); - return _mesa_init_gl_program(&prog->Base, target, id); + struct gl_program *prog = CALLOC_STRUCT(gl_program); + return _mesa_init_gl_program(prog, target, id); } case GL_TESS_EVALUATION_PROGRAM_NV: { struct gl_tess_eval_program *prog = CALLOC_STRUCT(gl_tess_eval_program); |