[Mesa-dev] [PATCH 07/14] st/mesa: lower gl_TessLevel from float[] to vecn
Marek Olšák
maraeo at gmail.com
Tue Jun 16 16:04:48 PDT 2015
From: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/mesa/state_tracker/st_extensions.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index 6c70df6..8cebc7d 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -251,6 +251,7 @@ void st_init_limits(struct pipe_screen *screen,
options->MaxUnrollIterations = MIN2(screen->get_shader_param(screen, sh, PIPE_SHADER_CAP_MAX_INSTRUCTIONS), 65536);
options->LowerClipDistance = true;
+ options->LowerTessLevel = true;
}
c->MaxCombinedTextureImageUnits =
--
2.1.0
More information about the mesa-dev
mailing list