From 8d987d3c4edf489880e5e852e31b6883a15b6a14 Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 21 Sep 2007 10:57:30 -0600 Subject: minor renaming --- src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/mesa/pipe/tgsi') 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, -- cgit v1.2.3