aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_sf.h
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2011-08-24 19:04:31 -0700
committerPaul Berry <[email protected]>2011-09-06 11:04:53 -0700
commitbbc53d6285efc664b9b9f326cdcd82a9414507c1 (patch)
treea3dfa042cbf96dff005d4cbf50507701e16fabef /src/mesa/drivers/dri/i965/brw_sf.h
parent58d9c95b3cb54383d07ca5560a1685fbe8588860 (diff)
i965: SF: Remove unnecessary variables.
This patch removes the variables nr_attrs and nr_setup_attrs, whose purpose is now being served by the VUE map. nr_attr_regs and nr_setup_regs are still needed, however they are now computed using the VUE map rather than by counting the number of vertex shader outputs (which caused subtle bugs when gl_PointSize was written). Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_sf.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_sf.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_sf.h b/src/mesa/drivers/dri/i965/brw_sf.h
index d8af68c6b8d..f39ad27154d 100644
--- a/src/mesa/drivers/dri/i965/brw_sf.h
+++ b/src/mesa/drivers/dri/i965/brw_sf.h
@@ -90,9 +90,7 @@ struct brw_sf_compile {
struct brw_reg m3C0;
GLuint nr_verts;
- GLuint nr_attrs;
GLuint nr_attr_regs;
- GLuint nr_setup_attrs;
GLuint nr_setup_regs;
int urb_entry_read_offset;