vc4: Make sure to emit a tile coordinates between two MSAA loads

Graphics / Mesa 3D Graphics Library / Mesa - Eric Anholt [anholt.net] - 8 August 2018 00:00 EDT

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

550e9c917c vc4: Make sure to emit a tile coordinates between two MSAA loads.
src/gallium/drivers/vc4/kernel/vc4_render_cl.c | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)

Upstream: cgit.freedesktop.org


  • Share