projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fba4823
)
i965/gs: Don't reserve space for clip plane uniforms.
author
Kenneth Graunke
<kenneth@whitecape.org>
Sat, 29 Aug 2015 06:47:25 +0000
(23:47 -0700)
committer
Kenneth 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
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_gs.c
b/src/mesa/drivers/dri/i965/brw_gs.c
index 1c1a0953bbe3d4fff9ed7328b62e1ef09758e7fd..04d9f3f25d988d3ec721d399b55556c27412e572 100644
(file)
--- 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 =