summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorMaxence Le Dore <[email protected]>2012-12-24 00:57:02 +0100
committerChris Forbes <[email protected]>2013-10-03 07:55:51 +1300
commitd3575622b7897c88c62e4f57341c196eb913c960 (patch)
treed5636ca07656cb96ebf7bbf9eee5d8e792f42238 /src/mesa/main/context.c
parent0d7fc10bcd2efb2f96d684b3273b4e0c0b0afef0 (diff)
mesa: add texture gather changes
Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 310518c92f4..0d1f71c7142 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -652,6 +652,10 @@ _mesa_init_constants(struct gl_context *ctx)
ctx->Const.MinProgramTexelOffset = -8;
ctx->Const.MaxProgramTexelOffset = 7;
+ /* GL_ARB_texture_gather */
+ ctx->Const.MinProgramTextureGatherOffset = -8;
+ ctx->Const.MaxProgramTextureGatherOffset = 7;
+
/* GL_ARB_robustness */
ctx->Const.ResetStrategy = GL_NO_RESET_NOTIFICATION_ARB;