meta/blit: Add plumbing for shaders without depth
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 28 Jan 2015 14:24:25 +0000 (16:24 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 30 Jan 2015 07:54:53 +0000 (09:54 +0200)
commit4c157d34c0163ab2389d74181121950aaf0ef121
tree2a41659dddda23e150bb343ab2743ae869a402ac
parent604ae33c8b95a97ba586780324566fd21c59b695
meta/blit: Add plumbing for shaders without depth

Currently all blit programs are unconditionally compiled with
gl_FragDepth.

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.c
src/mesa/drivers/common/meta.h
src/mesa/drivers/common/meta_blit.c
src/mesa/drivers/common/meta_generate_mipmap.c