diff options
author | Brian Paul <[email protected]> | 2010-10-28 21:17:42 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-10-28 21:17:42 -0600 |
commit | 3b82ceec677e875d2f2f9edbcfceafd4d9a85cb7 (patch) | |
tree | 49dfa1f27919eaf2cea09940cee07222e3b04a75 /src/mesa/main/context.c | |
parent | 433e5e6defc85d8b1d6262aff990e3f5a8b37027 (diff) |
mesa: state/queries for GL_MIN/MAX_PROGRAM_TEXEL_OFFSET_EXT
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 3ebe54926ff..eab35e7b8b6 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -620,6 +620,10 @@ _mesa_init_constants(struct gl_context *ctx) /* GL 3.2: hard-coded for now: */ ctx->Const.ProfileMask = GL_CONTEXT_COMPATIBILITY_PROFILE_BIT; + + /** GL_EXT_gpu_shader4 */ + ctx->Const.MinProgramTexelOffset = -8; + ctx->Const.MaxProgramTexelOffset = 7; } |