intel: If we're doing a depth clear with tris, do color with it.
authorEric Anholt <eric@anholt.net>
Fri, 30 Jan 2009 19:24:04 +0000 (11:24 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 30 Jan 2009 21:46:37 +0000 (13:46 -0800)
commit67ee22c89f42146e7befb2fdd39bdd68a5258c30
tree2c61d1c7d9c069a30e6270ef613a32a69ff7cb28
parentac0dfbdf0f5e5dea08ec717ae8c4e1e141b15c05
intel: If we're doing a depth clear with tris, do color with it.

This is a 10% win on the ever-important glxgears not-a-benchmark.
src/mesa/drivers/dri/intel/intel_clear.c
src/mesa/drivers/dri/intel/intel_pixel.c