On 7 December 2011 15:02, Paul Berry <span dir="ltr"><<a href="mailto:stereotype441@gmail.com">stereotype441@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="HOEnZb"><div class="h5">On 7 December 2011 13:16, Eric Anholt <span dir="ltr"><<a href="mailto:eric@anholt.net" target="_blank">eric@anholt.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Wed, 7 Dec 2011 11:09:12 -0800, Paul Berry <<a href="mailto:stereotype441@gmail.com" target="_blank">stereotype441@gmail.com</a>> wrote:<br>
> From: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org" target="_blank">kenneth@whitecape.org</a>><br>
><br>
> We never filled this in before because we didn't care.<br>
><br>
> I'm skeptical these are correct; my sources indicate that both the VS<br>
> and GS # of entries are 256 on both GT1 and GT2.<br>
><br>
> I'm also loathe to change it and break stuff.<br>
<br>
</div>My stale specs say<br>
<br>
GT2 VS: [24, 256]<br>
GT1 VS: [24, 128]<br>
GT2 GS: [0, 256]<br>
GT1 GS: [0, 254].<br>
<br>
So these look like the docs our old VS numbers came from. The current<br>
docs I see say:<br>
<br>
GT1 VS: [24, 256]<br>
GT1 GS: [0, 256]<br>
<br>
with the mention of gt2 removed. The changelog doesn't show anything<br>
obvious about "update DevSNB 3DSTATE_URB", though there are things for<br>
other hardware that look like they might have stomped the old<br>
information in the way it looks stomped.<br>
<br>
So, my guess is we should stick with our old values for VS (as is done<br>
in this change), and use the old values for GS (GT2 256, GT1 254), and go<br>
complain to doc authors for clarification.<br>
</blockquote></div><br></div></div>I will try this and rerun piglit tests to see if anything breaks.<br>
</blockquote></div><br>Argh, scratch that. I have a GT2 Sandy Bridge machine, so I can't validate this right now.<br><br>Since both your old docs and the current docs say 254 should be safe, and Ken's 128 value was simply a guess, I'm going to go ahead and push these patches with 254, and tomorrow I'll try to find a GT1 Sandy Bridge machine to test on. Even in the unlikely event that we're wrong and 254 isn't safe, it shouldn't cause problems for anyone, since transform feedback support isn't switched on yet.<br>