diff options
author | Paul Berry <[email protected]> | 2011-08-30 10:54:14 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-09-06 11:05:41 -0700 |
commit | 18dcda2dcff0ba49cf35656bb8936e3edd61c90d (patch) | |
tree | 7f0e1d522a8f24aeb4db6b66099ab07e869999c6 /src/mesa/main/renderbuffer.c | |
parent | 78be5bcb222d379a07979de98ff5b9e3549de6a7 (diff) |
i965: GS: Use the VUE map to compute URB size.
The previous computation had two bugs: (a) it used a formula based on
Gen5 for Gen6 and Gen7 as well. (b) it failed to account for the fact
that PSIZ is stored in the VUE header. Fortunately, both bugs caused
it to compute a URB size that was too large, which was benign. This
patch computes the URB size directly from the VUE map, so it gets the
result correct in all circumstances.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/renderbuffer.c')
0 files changed, 0 insertions, 0 deletions