}\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
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
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
/* 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