summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/program.c
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2013-02-23 07:49:04 -0800
committerPaul Berry <stereotype441@gmail.com>2013-03-15 09:25:36 -0700
commita6d807c86f9972335048ad21c33277385eec08e8 (patch)
tree08d8048c31bb7d2db62220dab1ff513983bc5f6a /src/mesa/program/program.c
parentd453225efcfe9d8854e5dd58e4feb7cd753248b9 (diff)
downloadexternal_mesa3d-a6d807c86f9972335048ad21c33277385eec08e8.zip
external_mesa3d-a6d807c86f9972335048ad21c33277385eec08e8.tar.gz
external_mesa3d-a6d807c86f9972335048ad21c33277385eec08e8.tar.bz2
Replace gl_geom_result enum with gl_varying_slot.
This patch makes the following search-and-replace changes: gl_geom_result -> gl_varying_slot GEOM_RESULT_* -> VARYING_SLOT_* Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/program/program.c')
-rw-r--r--src/mesa/program/program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c
index 5cc18d4..bc7ab1e 100644
--- a/src/mesa/program/program.c
+++ b/src/mesa/program/program.c
@@ -951,7 +951,7 @@ _mesa_valid_register_index(const struct gl_context *ctx,
case MESA_SHADER_FRAGMENT:
return index < FRAG_RESULT_DATA0 + (GLint) ctx->Const.MaxDrawBuffers;
case MESA_SHADER_GEOMETRY:
- return index < GEOM_RESULT_VAR0 + (GLint) ctx->Const.MaxVarying;
+ return index < VARYING_SLOT_VAR0 + (GLint) ctx->Const.MaxVarying;
default:
return GL_FALSE;
}