Vladimir Dergachev wrote:
Thus i will try to check if i can find the correct way to send vertex coordinates.
Hi Jerome,
I just have a moment, so I likely missed some of the questions in the e-mail.
I just want to point out that the example in r300_demo that paints triangles is likely wrong.
You see it uses parameters to upload vertex coordinates. I would have expected that those are actually uploaded using corresponding CP_PACKET3 call (it is inside the setup function).
This would certainly be needed for indices and such. So this function is best refactored..
best
Vladimir Dergachev
I was confident that was the correct way :).
For the adaptator pitch i think the good way to setup it is :
adaptor.depth_pitch=(display_width&RADEON_DEPTHPITCH_MASK) | RADEON_DEPTH_ENDIAN_NO_SWAP;
This came from r200 driver.
Jerome Glisse
------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
