[HOpenGL] ANN: GPipe-1.1.0 with greatly improved performance

Tobias Bexelius tobias_bexelius at hotmail.com
Sun Nov 22 07:22:59 EST 2009


Hi,

 

GPipe 1.1.0 is now available on Hackage. This update includes the following:

 

* BIG performance increase:

 

The previous shader cache keys grew exponential in size in relation to the GPipe program. This is now fixed with a completely new shader generator so the cache key sizes are linear relative to the program. In addition, the cache now uses patricia trees instead of an ordinary map, which will be a big performance win in programs with many shaders. In the simple example on http://www.haskell.org/haskellwiki/GPipe I got an performance increase of factor 2.7(!), and expect it to be even larger for more complex programs.

 

 

* Other minor fixes:

 

Fixed so min, max, abs and sign no longer works on Vertex Int and Fragment Int types, since its not supported in GLSL 1.20.

 

Reexport of Vec-Boolean instances so you dont need to import that package on its own any more.

 

Added IfB instances for the associated type Color.

 

 

Cheers

Tobias
 		 	   		  
_________________________________________________________________
Nya Windows 7 gör allt lite enklare. Hitta en dator som passar dig!
http://windows.microsoft.com/shop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/hopengl/attachments/20091122/55bee07d/attachment.html


More information about the HOpenGL mailing list