[Mesa-dev,07/14] st/mesa: lower gl_TessLevel from float[] to vecn

Submitted by Marek Olšák on June 16, 2015, 11:04 p.m.

Details

Message ID 1434495895-27955-7-git-send-email-maraeo@gmail.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Marek Olšák June 16, 2015, 11:04 p.m.
From: Ilia Mirkin <imirkin@alum.mit.edu>

---
 src/mesa/state_tracker/st_extensions.c | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

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 =