summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_state_upload.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-06-09 22:24:14 -0700
committerEric Anholt <eric@anholt.net>2010-06-11 00:15:56 -0700
commitf5bb775fd1f333d8e579d07a5cac1ded2bd54a2f (patch)
tree8b52c1ac09eea61ea95239c957eeedb1d864cc74 /src/mesa/drivers/dri/i965/brw_state_upload.c
parent315ef0312a222b300ea7d619b95cb80596d3bee2 (diff)
i965: Set the CC VP state immediately on state change.
The cache lookup of these two little floats was .12% of total CPU time on firefox-talos-gfx because we did it any time commonly-changed state changed. On the other hand, updating the CC VP bo immediately whenver CC VP state changes is a .07% overhead due to putting a driver hoook in glEnable().
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state_upload.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_state_upload.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c
index 49629ba228..e0c121f312 100644
--- a/src/mesa/drivers/dri/i965/brw_state_upload.c
+++ b/src/mesa/drivers/dri/i965/brw_state_upload.c
@@ -61,7 +61,6 @@ static const struct brw_tracked_state *gen4_atoms[] =
&brw_curbe_offsets,
&brw_recalculate_urb_fence,
- &brw_cc_vp,
&brw_cc_unit,
&brw_vs_surfaces, /* must do before unit */