From 7a4bbfa90d221c43509a1eb46243235869bfa5e8 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 19 Oct 2016 11:13:26 +1100 Subject: st/mesa: switch tcs over to shared shader_info MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák Reviewed-by: Jason Ekstrand --- src/mesa/program/prog_statevars.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/program') diff --git a/src/mesa/program/prog_statevars.c b/src/mesa/program/prog_statevars.c index 6e6007ec6f9..86bbd0ac663 100644 --- a/src/mesa/program/prog_statevars.c +++ b/src/mesa/program/prog_statevars.c @@ -604,7 +604,7 @@ _mesa_fetch_state(struct gl_context *ctx, const gl_state_index state[], case STATE_TES_PATCH_VERTICES_IN: if (ctx->TessCtrlProgram._Current) - val[0].i = ctx->TessCtrlProgram._Current->VerticesOut; + val[0].i = ctx->TessCtrlProgram._Current->Base.info.tcs.vertices_out; else val[0].i = ctx->TessCtrlProgram.patch_vertices; return; -- cgit v1.2.3