[Mesa-dev] [PATCH] r600g/sb: Enable SB for geometry shaders

Dieter Nützel Dieter at nuetzel-hh.de
Tue Mar 24 09:21:35 PDT 2015


Am 20.03.2015 14:13, schrieb Glenn Kennard:
> Add SV_GEOMETRY_EMIT special variable type to track the
> implicit dependencies between CUT/EMIT_VERTEX/MEM_RING
> instructions so GCM/scheduler doesn't reorder them.
> 
> Mark emit instructions as unkillable so DCE doesn't eat them.
> 
> Signed-off-by: Glenn Kennard <glenn.kennard at gmail.com>
> ---
> The hangs with SB on geometry shaders were all due to the CUT/EMIT
> instructions either being DCE:d or emitted out of order from the
> memory ring writes, so the hardware stalled forever waiting for
> completed primitives.
> 
> Tested only on a Turks so far, but should behave the same across
> all R600 generations.

Hello Glenn,

what tests are preferred?
Starting with a Turks XT here, too and could do some tests on RV730 
(AGP) then.

-Dieter


More information about the mesa-dev mailing list