diff options
author | Kenneth Graunke <[email protected]> | 2013-02-02 12:46:57 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-02-03 13:41:09 -0800 |
commit | 44aa2e15f692965be76229e67f919bf967fc7d67 (patch) | |
tree | 6f26c3f2ae2fcebf3178ae879d9260f2e29724e8 /src/glsl/ralloc.c | |
parent | 09fbc298283b41cf3f25d75842a6d8ab4952dca1 (diff) |
i965: Fix the SF Vertex URB Read Length calculation for Gen7 platforms.
Ivybridge doesn't appear to have the same errata as Sandybridge; no
corruption was observed by setting it to more than the minimal correct
value. It's possible that we were simply lucky, since the URB entries
are 1024-bit on Ivybridge vs. 512-bit Sandybridge. Or perhaps the
underlying hardware issue is fixed.
Either way, we may as well program the minimum value since it's now
readily available, likely to be more efficient, and possibly more
correct.
v2: Use GEN7_SBE_* defines rather than GEN6_SF_*. (A copy and paste
mistake.) They're the same, but using the right names is better.
NOTE: This is a candidate for all stable branches.
Reviewed-by: Paul Berry <[email protected]>
Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ralloc.c')
0 files changed, 0 insertions, 0 deletions