diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2015-07-24 20:32:43 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2015-12-07 14:48:54 -0800 |
commit | a9e6a56a02155f0da5e5bfa1a4d188f3d6195066 (patch) | |
tree | a9ea05d252691e21844b89ec2a0d79ee2c3fd947 | |
parent | 7a1735680007a78b0a56107871e4afdc33985604 (diff) |
i965: Request lowering of gl_TessLevel* from float[] to vec4s.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 7e2fdcbe60..cf8c6a2080 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; |