st/mesa: lower gl_TessLevel from float[] to vecn
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 13 Jul 2014 00:09:06 +0000 (20:09 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 22 Jul 2015 22:59:30 +0000 (00:59 +0200)
src/mesa/state_tracker/st_extensions.c

index 6c70df630370239b8104687e25b13fbb842b5a8c..899442fe43ed57571b00e26fb21906928c47dc08 100644 (file)
@@ -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 +