aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/state_tracker/st_extensions.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-12-14 08:32:15 +0100
committermarha <marha@users.sourceforge.net>2011-12-14 08:32:15 +0100
commit53d28537755790ee4625dc16f560cad5aa93f56b (patch)
tree1c93b584de655b109ec12adc448fc6c6a4e98ee5 /mesalib/src/mesa/state_tracker/st_extensions.c
parentb9c84e8e3433d8804b99ec82065ec1e920469d87 (diff)
downloadvcxsrv-53d28537755790ee4625dc16f560cad5aa93f56b.tar.gz
vcxsrv-53d28537755790ee4625dc16f560cad5aa93f56b.tar.bz2
vcxsrv-53d28537755790ee4625dc16f560cad5aa93f56b.zip
git update mesa 14 dec 2011
Diffstat (limited to 'mesalib/src/mesa/state_tracker/st_extensions.c')
-rw-r--r--mesalib/src/mesa/state_tracker/st_extensions.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_extensions.c b/mesalib/src/mesa/state_tracker/st_extensions.c
index 9e39729e9..457d5d62a 100644
--- a/mesalib/src/mesa/state_tracker/st_extensions.c
+++ b/mesalib/src/mesa/state_tracker/st_extensions.c
@@ -222,6 +222,12 @@ void st_init_limits(struct st_context *st)
c->UniformBooleanTrue = ~0;
c->StripTextureBorder = GL_TRUE;
+
+ c->GLSLSkipStrictMaxUniformLimitCheck =
+ screen->get_param(screen, PIPE_CAP_TGSI_CAN_COMPACT_CONSTANTS);
+
+ c->GLSLSkipStrictMaxVaryingLimitCheck =
+ screen->get_param(screen, PIPE_CAP_TGSI_CAN_COMPACT_VARYINGS);
}