Interesting..
Sounds like you nailed it down szo; I imagine -ffast-math is messing up that sensitive dot product in a way that lowers the precision a bit.
http://stackoverflow.com/questions/7420665/what-does-gccs-ffast-math-actually-do
On a related topic, the 'light' tool needs the same patch ...
Search found 92 matches
- Wed Jul 09, 2014 5:45 pm
- Forum: Engine Programming
- Topic: -march=i686 causing lightmap corruption?
- Replies: 10
- Views: 3633
- Wed Jun 04, 2014 5:59 pm
- Forum: Engine Programming
- Topic: GLQuake lightmap loading speedup
- Replies: 0
- Views: 31784
GLQuake lightmap loading speedup
I found an interesting bottleneck while testing some huge maps for the upcoming Rubicon Rumble Pack... when profiling Quakespasm, I saw the majority of the map loading time was spent in gl_rsurf.c:AllocBlock. In one map, it was about 3 seconds in that function!
What is the function doing?
GL ...
What is the function doing?
GL ...