summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vs.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2011-10-23 22:10:03 -0700
committerKenneth Graunke <kenneth@whitecape.org>2011-10-25 17:09:30 -0700
commitdb6dd6d88fdc4361193dd063e4f150f01a104faa (patch)
treeb40b28dbca3ffb79f2967ffc0c771fcdcd92d273 /src/mesa/drivers/dri/i965/brw_vs.c
parent47f1d9deffee8aeb2d73d8e06f829d32125f944c (diff)
downloadexternal_mesa3d-db6dd6d88fdc4361193dd063e4f150f01a104faa.zip
external_mesa3d-db6dd6d88fdc4361193dd063e4f150f01a104faa.tar.gz
external_mesa3d-db6dd6d88fdc4361193dd063e4f150f01a104faa.tar.bz2
i965: Rename (vs|wm)_max_threads to max_(vs|wm)_threads for consistency.
The inconsistency between vs_max_threads and max_vs_entries was rather annoying. I could never seem to remember which one was reversed, which made it harder to find quickly. "Max __ Threads" seems more natural. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs.c b/src/mesa/drivers/dri/i965/brw_vs.c
index 7b002e8..8813498 100644
--- a/src/mesa/drivers/dri/i965/brw_vs.c
+++ b/src/mesa/drivers/dri/i965/brw_vs.c
@@ -242,7 +242,7 @@ do_vs_prog(struct brw_context *brw,
c.prog_data.total_scratch = brw_get_scratch_size(c.last_scratch);
brw_get_scratch_bo(intel, &brw->vs.scratch_bo,
- c.prog_data.total_scratch * brw->vs_max_threads);
+ c.prog_data.total_scratch * brw->max_vs_threads);
}
/* get the program