i965/gen8: Check correct number of blitter dwords

The odds of having this patch make a difference on Gen8+ are probably very low.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-but-not-tested-by: Jason Ekstrand <jason.ekstrand@intel.com>
i965/gen8+: Remove false perf debug message about MOCS

We support MOCS on both gen8 and gen9, so the message seems meaningless. Remove
it to avoid confusion.

Trivial.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
vc4: Fix a memory leak in setting up QPU instructions for scheduling.
vc4: Fix triangle-guardband-viewport piglit test.

The original Broadcom driver also did this with the viewport.
vc4: Don't throw out the index offset in the shadow index buffer path.

When we upload shadow indices at draw time, we need the source offset.
Fixes the piglit draw-elements test.
vc4: Drop redundant index size setting.

This is already done at set_index_buffer() time.
vc4: Consider FS backface color loads as color inputs as well.

This fixes flatshading of backface color in 4 of the piglit interpolation
tests.
util: Unbreak usage of assert()/debug_assert() inside expressions.

f0ba7d897d1c22202531acb70f134f2edc30557d made debug_assert()/assert()
unsafe for expressions, but only now that u_atomic.h started to rely on
them for Windows that this became an issue.

This fixes non-debug builds with MSVC.
Reviewed-by: Brian Paul <brianp@vmware.com>
vc4: Fix referencing of sync objects.

While the pipe_reference_* helpers set the pointer, a bare pipe_reference
doesn't.   Fixes 5 ARB_sync tests.
r200: Avoid out of bounds array access.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
glapi: Make mapi/glapi/gen before mapi to avoid distcheck problem.
util: Add headers and python scripts for distribution.
configure.ac: Drop generating egl-static and gbm Makefiles.
glapi/gen: Add KHR_context_flush_control.xml to distribution.
dri/common: Drop unused mmio.h.

Unused since commit 7550a24f.
mapi: Add mapi_abi.py to EXTRA_DIST
vgapi: Add vgapi.csv to distribution.
dri/common: Add files to distribution.
mesa: Add python scripts to distribution.
glsl: Distribute tests/, TODO, and README