diff options
author | Paul Berry <[email protected]> | 2013-02-23 07:34:06 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-03-15 09:25:15 -0700 |
commit | d7c60a4a4fa4a0680f243376367c297a66a73343 (patch) | |
tree | 64f0a8df157e8be6fd671507dd0aa508140149fa /src/mesa/program/program.c | |
parent | 094bcf399c9630707c92ccd8f78e2ade29323a4d (diff) |
Replace gl_geom_attrib enum with gl_varying_slot.
This patch makes the following search-and-replace changes:
gl_geom_attrib -> gl_varying_slot
GEOM_ATTRIB_* -> VARYING_SLOT_*
GEOM_BIT_* -> VARYING_BIT_*
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 e235d6ce68a..5cc18d4099c 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -936,7 +936,7 @@ _mesa_valid_register_index(const struct gl_context *ctx, case MESA_SHADER_FRAGMENT: return index < FRAG_ATTRIB_VAR0 + (GLint) ctx->Const.MaxVarying; case MESA_SHADER_GEOMETRY: - return index < GEOM_ATTRIB_VAR0 + (GLint) ctx->Const.MaxVarying; + return index < VARYING_SLOT_VAR0 + (GLint) ctx->Const.MaxVarying; default: return GL_FALSE; } |