i965: Request lowering of gl_TessLevel* from float[] to vec4s.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 25 Jul 2015 03:32:43 +0000 (20:32 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 7 Dec 2015 22:48:54 +0000 (14:48 -0800)
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_context.c

index 7e2fdcbe60ce51cdfc7867a7576cfbe8b9b55c07..cf8c6a2080b0c4d0e2c4ad0dc0bc1e64c986ea41 100644 (file)
@@ -484,6 +484,8 @@ brw_initialize_context_constants(struct brw_context *brw)
    if (brw->gen >= 5 || brw->is_g4x)
       ctx->Const.MaxClipPlanes = 8;
 
+   ctx->Const.LowerTessLevel = true;
+
    ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeInstructions = 16 * 1024;
    ctx->Const.Program[MESA_SHADER_VERTEX].MaxAluInstructions = 0;
    ctx->Const.Program[MESA_SHADER_VERTEX].MaxTexInstructions = 0;