i965/gs: Don't reserve space for clip plane uniforms.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 29 Aug 2015 06:47:25 +0000 (23:47 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 4 Sep 2015 05:31:04 +0000 (22:31 -0700)
These were only for legacy userclipping, which we no longer support
in geometry shaders.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_gs.c

index 1c1a0953bbe3d4fff9ed7328b62e1ef09758e7fd..04d9f3f25d988d3ec721d399b55556c27412e572 100644 (file)
@@ -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 =