Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
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;
return false;
ureg_property(ureg, TGSI_PROPERTY_TCS_VERTICES_OUT,
- sttcp->Base.VerticesOut);
+ sttcp->Base.Base.info.tcs.vertices_out);
st_translate_program_common(st, &sttcp->Base.Base, sttcp->glsl_to_tgsi,
ureg, PIPE_SHADER_TESS_CTRL, &sttcp->tgsi);