diff options
author | Brian <[email protected]> | 2007-09-21 10:57:30 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-09-21 11:14:49 -0600 |
commit | 8d987d3c4edf489880e5e852e31b6883a15b6a14 (patch) | |
tree | 08ff7b81daa2b2e9a05ae1e602f0d80bf7ef13c9 | |
parent | 9f96c5d619a478a61c809e88ef53e59005471054 (diff) |
minor renaming
-rw-r--r-- | src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c b/src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c index 8a3fda2c637..b1cf1226954 100644 --- a/src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c +++ b/src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c @@ -494,7 +494,7 @@ make_input_decl( }
static struct tgsi_full_declaration
-make_frag_output_decl(
+make_output_decl(
GLuint index,
GLuint semantic_name,
GLuint semantic_index,
@@ -602,7 +602,7 @@ tgsi_mesa_compile_fp_program( program->Base.OutputsWritten ==
(program->Base.OutputsWritten & ((1 << FRAG_RESULT_COLR) | (1 << FRAG_RESULT_DEPR))) );
- fulldecl = make_frag_output_decl(
+ fulldecl = make_output_decl(
0,
TGSI_SEMANTIC_POSITION, 0, /* Z / Depth */
TGSI_WRITEMASK_Z );
@@ -613,7 +613,7 @@ tgsi_mesa_compile_fp_program( maxTokens - ti );
if( program->Base.OutputsWritten & (1 << FRAG_RESULT_COLR) ) {
- fulldecl = make_frag_output_decl(
+ fulldecl = make_output_decl(
1,
TGSI_SEMANTIC_COLOR, 0,
TGSI_WRITEMASK_XYZW );
@@ -725,10 +725,10 @@ tgsi_mesa_compile_vp_program( /* output decls */
for (i = 0; i < numOutputs; i++) {
struct tgsi_full_declaration fulldecl;
- fulldecl = make_frag_output_decl(i,
- outputSemanticName[i],
- outputSemanticIndex[i],
- TGSI_WRITEMASK_XYZW );
+ fulldecl = make_output_decl(i,
+ outputSemanticName[i],
+ outputSemanticIndex[i],
+ TGSI_WRITEMASK_XYZW );
ti += tgsi_build_full_declaration(&fulldecl,
&tokens[ti],
header,
|