meta/blit: Compile programs with and without depth
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 28 Jan 2015 14:27:25 +0000 (16:27 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 30 Jan 2015 07:58:32 +0000 (09:58 +0200)
commit941aced635aab743bf1ec40ae7f3d21989c8a28e
tree726d56663e1df609d64f933361b891b8cf772697
parent97caf5fa04dbd2148378a9e83c0e232f51552ee2
meta/blit: Compile programs with and without depth

When color buffers alone are concerned the depth is not needed.

No regression on BDW where meta blit is used instead of blorp. I
also disabled blorp temporarily for fbo-blits on IVB and saw no
regressions there either.
I also compared several graphics benchmarks on BDW and saw neither
regressions or improvements.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/common/meta.h
src/mesa/drivers/common/meta_blit.c