gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program()
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 19 Sep 2008 15:25:32 +0000 (09:25 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 26 Sep 2008 13:25:36 +0000 (07:25 -0600)
src/mesa/state_tracker/st_mesa_to_tgsi.c
src/mesa/state_tracker/st_mesa_to_tgsi.h
src/mesa/state_tracker/st_program.c

index 524d8890b5cb71ea5e3f2f1acd4c91926b670b4c..50e638df46b208ace6902e57612931782ac5fde8 100644 (file)
@@ -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,
index f17f2eac963777d8aa8119fc1765ca00a2a54be5..77c74644b8b212bdca1e21d65e467d6423dc2d50 100644 (file)
@@ -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,
index b2abf0286e73cd54f08af4e01ed6bbceea4383bc..55b52c374516a7a61ce9761436f5d73f7f91e0f2 100644 (file)
@@ -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,