diff options
author | Gert Wollny <[email protected]> | 2018-11-27 20:50:44 +0100 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2018-11-28 10:02:31 +0100 |
commit | 091295d7cb5781ddf7ca8f254471fbe896831fbc (patch) | |
tree | 664ab80debbfc327fa5ccce309bb3ab10511bf61 /src/mesa/drivers/dri | |
parent | 073fdd7382f253041c7346e74caa1053d97e989c (diff) |
virgl: Don't try handling server fences when they are not supported
vtest doesn't implement the according API and would segfault:
Program received signal SIGSEGV, Segmentation fault.
#0 0x0000000000000000 in ?? ()
#1 in virgl_fence_server_sync at
src/gallium/drivers/virgl/virgl_context.c:1049
#2 in st_server_wait_sync at
src/mesa/state_tracker/st_cb_syncobj.c:155
so just don't do the call when the function pointers are not set.
Fixes dEQP:
dEQP-GLES3.functional.fence_sync.wait_sync_smalldraw
dEQP-GLES3.functional.fence_sync.wait_sync_largedraw
Fixes: d1a1c21e7621b5177febf191fcd3d3b8ef69dc96
virgl: native fence fd support
Signed-off-by: Gert Wollny <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Reviewed-by: Robert Foss <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
0 files changed, 0 insertions, 0 deletions