chrisforbes / mesa

chrisf's mesa hacks
2 stars 0 forks source link

Adjust apitrace to sensibly handle start-of-frame without a color clear #26

Open chrisforbes opened 11 years ago

chrisforbes commented 11 years ago

A bunch of games (including Source games) don't do a color clear -- they only clear depth and stencil, and then make sure they draw every pixel. This seems to confuse apitrace a bit, and it refuses to discard draw calls in previous frames.