i915g: Log program compile errors to mesa_loge().
authorEmma Anholt <emma@anholt.net>
Sun, 27 Jun 2021 21:15:41 +0000 (14:15 -0700)
committerEmma Anholt <emma@anholt.net>
Mon, 28 Jun 2021 22:01:37 +0000 (15:01 -0700)
commit8259ff0d2296e4c8508a0c4e3313702aee3fc522
treeff82176fd37cdd6abce651216c311ea72d5de9b5
parent7921648cd6f23c1a5ca8324214f97ef10d2cca47
i915g: Log program compile errors to mesa_loge().

Now these major driver failures are no longer hidden under -DDEBUG, and
would also work on android (you know, if you cared).  We do want to
suppress logging for u_blitter shaders that fail to compile during
util_blitter_cache_all_shaders().

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11617>
src/gallium/drivers/i915/i915_context.c
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/i915/i915_fpc.h
src/gallium/drivers/i915/i915_fpc_translate.c