gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program()
This commit is contained in:
parent
fad2dd8447
commit
81234666fc
|
@ -713,7 +713,7 @@ find_temporaries(const struct gl_program *program,
|
||||||
* \return number of tokens placed in 'tokens' buffer, or zero if error
|
* \return number of tokens placed in 'tokens' buffer, or zero if error
|
||||||
*/
|
*/
|
||||||
GLuint
|
GLuint
|
||||||
tgsi_translate_mesa_program(
|
st_translate_mesa_program(
|
||||||
uint procType,
|
uint procType,
|
||||||
const struct gl_program *program,
|
const struct gl_program *program,
|
||||||
GLuint numInputs,
|
GLuint numInputs,
|
||||||
|
|
|
@ -40,7 +40,7 @@ struct tgsi_token;
|
||||||
struct gl_program;
|
struct gl_program;
|
||||||
|
|
||||||
GLuint
|
GLuint
|
||||||
tgsi_translate_mesa_program(
|
st_translate_mesa_program(
|
||||||
uint procType,
|
uint procType,
|
||||||
const struct gl_program *program,
|
const struct gl_program *program,
|
||||||
GLuint numInputs,
|
GLuint numInputs,
|
||||||
|
|
|
@ -307,7 +307,7 @@ st_translate_vertex_program(struct st_context *st,
|
||||||
|
|
||||||
/* XXX: fix static allocation of tokens:
|
/* 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,
|
&stvp->Base.Base,
|
||||||
/* inputs */
|
/* inputs */
|
||||||
vs_num_inputs,
|
vs_num_inputs,
|
||||||
|
@ -481,7 +481,7 @@ st_translate_fragment_program(struct st_context *st,
|
||||||
|
|
||||||
/* XXX: fix static allocation of tokens:
|
/* 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,
|
&stfp->Base.Base,
|
||||||
/* inputs */
|
/* inputs */
|
||||||
fs_num_inputs,
|
fs_num_inputs,
|
||||||
|
|
Loading…
Reference in New Issue