summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_program.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-10-19 11:13:52 +1100
committerTimothy Arceri <[email protected]>2016-10-26 14:29:36 +1100
commit64d9773cfebded42691a70e3b233cadf896e53ba (patch)
tree5723116394eb77c64c8bb52459540131ec1ab38f /src/mesa/state_tracker/st_program.c
parent750b14ed8e6ff539f17069dec63004159575ccd8 (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/state_tracker/st_program.c')
-rw-r--r--src/mesa/state_tracker/st_program.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c
index 65f903703c2..cb402115c23 100644
--- a/src/mesa/state_tracker/st_program.c
+++ b/src/mesa/state_tracker/st_program.c
@@ -1605,10 +1605,10 @@ st_translate_tessctrl_program(struct st_context *st,
return false;
ureg_property(ureg, TGSI_PROPERTY_TCS_VERTICES_OUT,
- sttcp->Base.Base.info.tcs.vertices_out);
+ sttcp->Base.info.tcs.vertices_out);
- st_translate_program_common(st, &sttcp->Base.Base, sttcp->glsl_to_tgsi,
- ureg, PIPE_SHADER_TESS_CTRL, &sttcp->tgsi);
+ st_translate_program_common(st, &sttcp->Base, sttcp->glsl_to_tgsi, ureg,
+ PIPE_SHADER_TESS_CTRL, &sttcp->tgsi);
free_glsl_to_tgsi_visitor(sttcp->glsl_to_tgsi);
sttcp->glsl_to_tgsi = NULL;