diff options
author | Kenneth Graunke <[email protected]> | 2011-05-14 23:42:46 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-05-17 23:32:58 -0700 |
commit | d55471768e308853432de7d18f663034ddbc8599 (patch) | |
tree | eada3d070ee3c4944d0a52059c98a3aa71e54ce6 /src/mesa/drivers/dri/i965/gen6_urb.c | |
parent | d0f0d064825c457964614bee8fedcf31526a0775 (diff) |
i965: Rename max_vs_handles to max_vs_entries for consistency.
The documentation uses the term "vertex URB entries", the code talks
about "entry size", and so on. Also, handles are just "pointers" to
entries (actually small integers).
Also rename max_gs_handles to max_gs_entries.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen6_urb.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen6_urb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_urb.c b/src/mesa/drivers/dri/i965/gen6_urb.c index 909e1bbe9ba..62645a6a30f 100644 --- a/src/mesa/drivers/dri/i965/gen6_urb.c +++ b/src/mesa/drivers/dri/i965/gen6_urb.c @@ -42,8 +42,8 @@ prepare_urb( struct brw_context *brw ) /* Calculate how many VS URB entries fit in the total URB size */ nr_vs_entries = (brw->urb.size * 1024) / (brw->urb.vs_size * 128); - if (nr_vs_entries > brw->urb.max_vs_handles) - nr_vs_entries = brw->urb.max_vs_handles; + if (nr_vs_entries > brw->urb.max_vs_entries) + nr_vs_entries = brw->urb.max_vs_entries; /* According to volume 2a, nr_vs_entries must be a multiple of 4. */ brw->urb.nr_vs_entries = ROUND_DOWN_TO(nr_vs_entries, 4); |