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 <kenneth@whitecape.org> Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user