summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-07-12 20:09:06 -0400
committerMarek Olšák <[email protected]>2015-07-23 00:59:30 +0200
commit05c847433f5a3f3b2032bef32284ad7d6a2db850 (patch)
tree8d2051c5f7cda02a06fc8af56517be19a862e0bf /src/mesa/state_tracker
parentd00e2763b153c212e8f01af610ae305606044bcc (diff)
st/mesa: lower gl_TessLevel from float[] to vecn
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_extensions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index 6c70df63037..899442fe43e 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -253,6 +253,8 @@ void st_init_limits(struct pipe_screen *screen,
options->LowerClipDistance = true;
}
+ c->LowerTessLevel = true;
+
c->MaxCombinedTextureImageUnits =
_min(c->Program[MESA_SHADER_VERTEX].MaxTextureImageUnits +
c->Program[MESA_SHADER_TESS_CTRL].MaxTextureImageUnits +