[Mesa-dev] [PATCH 8/9] drisw: Enable flush control for llvmpipe and softpipe

Nicolai Hähnle nhaehnle at gmail.com
Fri Nov 3 09:57:04 UTC 2017


Same concerns about testing as Emil, but the logic of it all is sound, 
so patches 3-8 are

Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

On 02.11.2017 20:01, Adam Jackson wrote:
> Hilariously this is a fairly big win.  Neil's multi-context-test
> improves from ~24 to ~36 fps with llvmpipe on a Core i5-3317U.  softpipe
> also improves, from about 2.25 to 3.09 fps (when it's that slow, you're
> allowed to be that precise).
> 
> I'd have added it to swrast classic, but the testcase wants GL 3.0 and
> shaders, and that's not a thing classic has, so I figured making it work
> on softpipe was crime enough.
> 
> Reviewed-by: Marek Olšák <marek.olsak at amd.com>
> Signed-off-by: Adam Jackson <ajax at redhat.com>
> ---
>   src/gallium/state_trackers/dri/drisw.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/src/gallium/state_trackers/dri/drisw.c b/src/gallium/state_trackers/dri/drisw.c
> index 9466cfdb20..eb5752386d 100644
> --- a/src/gallium/state_trackers/dri/drisw.c
> +++ b/src/gallium/state_trackers/dri/drisw.c
> @@ -381,6 +381,7 @@ static const __DRIextension *drisw_screen_extensions[] = {
>      &dri2FenceExtension.base,
>      &dri2NoErrorExtension.base,
>      &driSWImageExtension.base,
> +   &dri2FlushControlExtension.base,
>      NULL
>   };
>   
> 


-- 
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.


More information about the mesa-dev mailing list