vc4: Make sure to emit a tile coordinates between two MSAA loads.
authorEric Anholt <eric@anholt.net>
Tue, 7 Aug 2018 20:08:15 +0000 (13:08 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 8 Aug 2018 00:00:22 +0000 (17:00 -0700)
commit550e9c917c155b3fc4e7bd0b74ead90814f864d8
tree4af6db37fb6fcae93f851db3138a1cf9966317fc
parent9ab6912a00ec29f5d1d9cebc7d3e32ae235419e8
vc4: Make sure to emit a tile coordinates between two MSAA loads.

The HW only executes a load once the tile coordinates packet happens, and
only tracks one at a time, so by emitting our two MSAA loads back to back
we would end up with an undefined color or Z buffer.  The simulator
doesn't seem to care, but sync up the RCL generation with the kernel
anyway.

Fixes dEQP-EGL.functional.render.multi_context.gles2.rgb888_window
src/gallium/drivers/vc4/kernel/vc4_render_cl.c