i915: Only emit program errors when INTEL_DEBUG=wm or INTEL_DEBUG=fallbacks
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 10 Feb 2011 21:20:26 +0000 (13:20 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 2 Aug 2011 15:23:15 +0000 (08:23 -0700)
commit0290a018a50bd4a3180af3233f145f4de7b63706
tree17d5455bcd89a290be88113e76e3d8c80b8d497a
parent3bb2f0dde1cd813a0b5e0b45be376f4d6606aeb8
i915: Only emit program errors when INTEL_DEBUG=wm or INTEL_DEBUG=fallbacks

This makes piglit a lot more happy.  The errors are logged when
INTEL_DEBUG=fallbacks because the application is about to hit a big
software fallback.  We frequently ask people to run applications that
are hitting software fallbacks with INTEL_DEBUG=fallbacks so the we
can help them debug the reason for the software fallback.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i915/i915_program.c