* \return number of tokens placed in 'tokens' buffer, or zero if error
*/
GLuint
-tgsi_translate_mesa_program(
+st_translate_mesa_program(
uint procType,
const struct gl_program *program,
GLuint numInputs,
/* XXX: fix static allocation of tokens:
*/
- num_tokens = tgsi_translate_mesa_program( TGSI_PROCESSOR_VERTEX,
+ num_tokens = st_translate_mesa_program( TGSI_PROCESSOR_VERTEX,
&stvp->Base.Base,
/* inputs */
vs_num_inputs,
/* XXX: fix static allocation of tokens:
*/
- num_tokens = tgsi_translate_mesa_program( TGSI_PROCESSOR_FRAGMENT,
+ num_tokens = st_translate_mesa_program( TGSI_PROCESSOR_FRAGMENT,
&stfp->Base.Base,
/* inputs */
fs_num_inputs,