minor renaming
authorBrian <brian.paul@tungstengraphics.com>
Fri, 21 Sep 2007 16:57:30 +0000 (10:57 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 21 Sep 2007 17:14:49 +0000 (11:14 -0600)
src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c

index 8a3fda2c6374f5f645dce64655140100589bf20c..b1cf12269544cea5241277eae83fe95a8ccf5ea3 100644 (file)
@@ -494,7 +494,7 @@ make_input_decl(
 }\r
 \r
 static struct tgsi_full_declaration\r
-make_frag_output_decl(\r
+make_output_decl(\r
    GLuint index,\r
    GLuint semantic_name,\r
    GLuint semantic_index,\r
@@ -602,7 +602,7 @@ tgsi_mesa_compile_fp_program(
       program->Base.OutputsWritten ==\r
       (program->Base.OutputsWritten & ((1 << FRAG_RESULT_COLR) | (1 << FRAG_RESULT_DEPR))) );\r
 \r
-   fulldecl = make_frag_output_decl(\r
+   fulldecl = make_output_decl(\r
       0,\r
       TGSI_SEMANTIC_POSITION, 0,  /* Z / Depth */\r
       TGSI_WRITEMASK_Z );\r
@@ -613,7 +613,7 @@ tgsi_mesa_compile_fp_program(
       maxTokens - ti );\r
 \r
    if( program->Base.OutputsWritten & (1 << FRAG_RESULT_COLR) ) {\r
-      fulldecl = make_frag_output_decl(\r
+      fulldecl = make_output_decl(\r
          1,\r
          TGSI_SEMANTIC_COLOR, 0,\r
          TGSI_WRITEMASK_XYZW );\r
@@ -725,10 +725,10 @@ tgsi_mesa_compile_vp_program(
    /* output decls */\r
    for (i = 0; i < numOutputs; i++) {\r
       struct tgsi_full_declaration fulldecl;\r
-      fulldecl = make_frag_output_decl(i,\r
-                                       outputSemanticName[i],\r
-                                       outputSemanticIndex[i],\r
-                                       TGSI_WRITEMASK_XYZW );\r
+      fulldecl = make_output_decl(i,\r
+                                  outputSemanticName[i],\r
+                                  outputSemanticIndex[i],\r
+                                  TGSI_WRITEMASK_XYZW );\r
       ti += tgsi_build_full_declaration(&fulldecl,\r
                                         &tokens[ti],\r
                                         header,\r