Hello,

I have made a program that draws zfail/zpass shadows. I draw three 
models with ~120 tris each and one light source and a simple floor, with 
zpass. I can get a full 60fps until the window size reaches about 
780x580 which drops to around ~30 fps in a maximized window (1342x820). 
The application is far from cpu-bound and vsync is disabled.


I was wondering if I am really hitting the 945GM fill rate limit, or I 
am doing something terribly costly someway along the way (this should 
not be the case, it is somewhat too simple). I have tried with the 
latest i915 in Debian and the latest i915tex from git (right after it 
got renamed to i915). The newer driver gives a steady ~20 fps, any 
window size, for my program and ~60 fps for glxgears.


The render is divided into three passes: ambient, shadow volumes(front 
and back), "illuminate", nothing remarkable. I use VBOs, the performance 
is about the same as vertex arrays (added vbo support for the heck of it 
today).



Some benchmarks at 1342x820, zpass:


Skipping the front-polygon shadow volume pass: 35fps

Skipping not drawing any polygons to the stencil buffer: 53fps

Ambient pass only: 88fps

Sample renders available at http://www.youtube.com/trektactoe


Obviously, shoving the geometry down the pipeline twice is a slowdown, 
and so are the shadow volumes. Am I expecting too much from this chip ? 
Can I give a hand in profiling the driver ?


Insight appreciated and welcome,

Jonathan Bastien-Filiatrault


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to