From: Kenneth Graunke Date: Sat, 29 Aug 2015 06:47:25 +0000 (-0700) Subject: i965/gs: Don't reserve space for clip plane uniforms. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e03377daf90c6f6ac953a08e3a8f8f5caf9abf6;p=mesa.git i965/gs: Don't reserve space for clip plane uniforms. These were only for legacy userclipping, which we no longer support in geometry shaders. Signed-off-by: Kenneth Graunke Reviewed-by: Chris Forbes --- diff --git a/src/mesa/drivers/dri/i965/brw_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c index 1c1a0953bbe..04d9f3f25d9 100644 --- a/src/mesa/drivers/dri/i965/brw_gs.c +++ b/src/mesa/drivers/dri/i965/brw_gs.c @@ -62,8 +62,6 @@ brw_codegen_gs_prog(struct brw_context *brw, struct gl_shader *gs = prog->_LinkedShaders[MESA_SHADER_GEOMETRY]; int param_count = gs->num_uniform_components * 4; - /* We also upload clip plane data as uniforms */ - param_count += MAX_CLIP_PLANES * 4; param_count += gs->NumImages * BRW_IMAGE_PARAM_SIZE; c.prog_data.base.base.param =