From 90ebb581e60d29bd565ad4d8a49e642de7b0ce5d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 2 Nov 2005 18:06:12 +0000 Subject: Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program convention --- src/mesa/shader/program.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/shader/program.c') diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c index a054567e5f..ce0a48495f 100644 --- a/src/mesa/shader/program.c +++ b/src/mesa/shader/program.c @@ -1378,15 +1378,15 @@ _mesa_GetProgramRegisterfvMESA(GLenum target, } else if (_mesa_strcmp(reg, "o[COLR]") == 0) { /* Fragment output color */ - COPY_4V(v, ctx->FragmentProgram.Machine.Outputs[FRAG_OUTPUT_COLR]); + COPY_4V(v, ctx->FragmentProgram.Machine.Outputs[FRAG_RESULT_COLR]); } else if (_mesa_strcmp(reg, "o[COLH]") == 0) { /* Fragment output color */ - COPY_4V(v, ctx->FragmentProgram.Machine.Outputs[FRAG_OUTPUT_COLH]); + COPY_4V(v, ctx->FragmentProgram.Machine.Outputs[FRAG_RESULT_COLH]); } else if (_mesa_strcmp(reg, "o[DEPR]") == 0) { /* Fragment output depth */ - COPY_4V(v, ctx->FragmentProgram.Machine.Outputs[FRAG_OUTPUT_DEPR]); + COPY_4V(v, ctx->FragmentProgram.Machine.Outputs[FRAG_RESULT_DEPR]); } else { /* try user-defined identifiers */ -- cgit v1.2.3