[EMAIL PROTECTED] wrote:
On Tue, Jun 24, 2003 at 02:13:17PM +0100, Keith Whitwell wrote:

Please try this diff - it may fix the problem in a lot of cases.


I'll try it later to see if I'm missing something here, but the first thought
is that NEW_BUFFER() isn't called because GET_CURRENT_VB_MAX_ELTS() always
returns 300?

I haven't got a test machine running, atm.


However, I felt that the problem was firstly that NEW_BUFFER() flushes the *wrong* buffer - ie the DMA buffer, rather than the command buffer. Elts used to go into DMA, now they are put in the command buffer.

The GET_CURRENT_VB_MAX_ELTS() macro is difficult to get right because there is the possibility of state, etc. being emitted - maybe we can tickle things to get state emitted & can then make an accurate calculation.

Keith



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to