summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-09-19 09:25:32 -0600
committerBrian Paul <[email protected]>2008-09-26 07:25:36 -0600
commit13a8c18d3d0ca505f053a15fc664a705cbc8be84 (patch)
treef12511158827b8b2238ba0a890ec8d7bae3a8f4f /src/mesa
parent1ef90b3f9af12102101e5d30b2d73cbdabd86f24 (diff)
gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_mesa_to_tgsi.c2
-rw-r--r--src/mesa/state_tracker/st_mesa_to_tgsi.h2
-rw-r--r--src/mesa/state_tracker/st_program.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c
index 524d8890b5c..50e638df46b 100644
--- a/src/mesa/state_tracker/st_mesa_to_tgsi.c
+++ b/src/mesa/state_tracker/st_mesa_to_tgsi.c
@@ -713,7 +713,7 @@ find_temporaries(const struct gl_program *program,
* \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,
diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.h b/src/mesa/state_tracker/st_mesa_to_tgsi.h
index f17f2eac963..77c74644b8b 100644
--- a/src/mesa/state_tracker/st_mesa_to_tgsi.h
+++ b/src/mesa/state_tracker/st_mesa_to_tgsi.h
@@ -40,7 +40,7 @@ struct tgsi_token;
struct gl_program;
GLuint
-tgsi_translate_mesa_program(
+st_translate_mesa_program(
uint procType,
const struct gl_program *program,
GLuint numInputs,
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c
index b2abf0286e7..55b52c37451 100644
--- a/src/mesa/state_tracker/st_program.c
+++ b/src/mesa/state_tracker/st_program.c
@@ -307,7 +307,7 @@ st_translate_vertex_program(struct st_context *st,
/* 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,
@@ -481,7 +481,7 @@ st_translate_fragment_program(struct st_context *st,
/* 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,