Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program convention

This commit is contained in:
Brian Paul
2005-11-02 18:06:12 +00:00
parent 5a02209cd2
commit 90ebb581e6
7 changed files with 30 additions and 27 deletions

View File

@@ -843,7 +843,7 @@ Parse_OutputReg(struct parse_state *parseState, GLint *outputRegNum)
/* try to match an output register name */
for (j = 0; OutputRegisters[j]; j++) {
if (_mesa_strcmp((const char *) token, OutputRegisters[j]) == 0) {
static GLuint bothColors = (1 << FRAG_OUTPUT_COLR) | (1 << FRAG_OUTPUT_COLH);
static GLuint bothColors = (1 << FRAG_RESULT_COLR) | (1 << FRAG_RESULT_COLH);
*outputRegNum = j;
parseState->outputsWritten |= (1 << j);
if ((parseState->outputsWritten & bothColors) == bothColors) {