diff options
author | Adam Jackson <ajax@redhat.com> | 2017-11-02 15:01:47 -0400 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2017-11-02 15:09:16 -0700 |
commit | 7ca75fbafd4d0b926b2c8db41650e44912309bcb (patch) | |
tree | 250e1a403ad6190b13bfb26422602cc6c1967899 | |
parent | c35e62a35560c812398e41dfba2c8665c32d5dc0 (diff) |
drisw: Enable flush control for llvmpipe and softpipe
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@amd.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r-- | src/gallium/state_trackers/dri/drisw.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 }; |