diff options
author | Paul Berry <[email protected]> | 2013-02-23 07:49:04 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-03-15 09:25:36 -0700 |
commit | a6d807c86f9972335048ad21c33277385eec08e8 (patch) | |
tree | 08d8048c31bb7d2db62220dab1ff513983bc5f6a /src/mesa/program/program.c | |
parent | d453225efcfe9d8854e5dd58e4feb7cd753248b9 (diff) |
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 <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Tested-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/program/program.c')
-rw-r--r-- | src/mesa/program/program.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index 5cc18d4099c..bc7ab1ef814 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; } |