- Joined
- Mar 17, 2007
- Messages
- 9,304
I did try running the Mono profiler, but it doesn't generate the output.mpld file for me - maybe it doesn't work on Windows? Or maybe it puts it in an unexpected place, but it's nowhere in the C7 folder. I made some progress on getting a Linux VM set up yesterday, but then got distracted... with C7 settler AI training being one of the distractions.
Hmmm... memory access is a lot slower than cache access, but I suppose it also depends on whether the thing we're regenerating them from is in the cache. It's a fair point, and compatible with my favorite code review comment of, "Do we have measurements that this makes things faster?"
Thanks for explaining more about how modern GPUs work. I think I also just realized by "pull from the same texture", that is why we are using e.g. the entire river tile, and using a section of it, instead of setting up each section as its own texture. That would mean the GPU can draw all of the river directions in a single call, rather than have to use 16 calls due to the 16 sections (and far more if they aren't all grouped in order). It makes sense about the z-buffer as well.
Hmmm... memory access is a lot slower than cache access, but I suppose it also depends on whether the thing we're regenerating them from is in the cache. It's a fair point, and compatible with my favorite code review comment of, "Do we have measurements that this makes things faster?"
Thanks for explaining more about how modern GPUs work. I think I also just realized by "pull from the same texture", that is why we are using e.g. the entire river tile, and using a section of it, instead of setting up each section as its own texture. That would mean the GPU can draw all of the river directions in a single call, rather than have to use 16 calls due to the 16 sections (and far more if they aren't all grouped in order). It makes sense about the z-buffer as well.