From: Kenneth Graunke Date: Sat, 25 Jul 2015 03:32:43 +0000 (-0700) Subject: i965: Request lowering of gl_TessLevel* from float[] to vec4s. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9e6a56a02155f0da5e5bfa1a4d188f3d6195066;p=mesa.git i965: Request lowering of gl_TessLevel* from float[] to vec4s. Signed-off-by: Kenneth Graunke Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 7e2fdcbe60c..cf8c6a2080b 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -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;