diff options
author | Guido Günther <[email protected]> | 2019-03-29 17:48:31 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-04-10 21:31:16 -0400 |
commit | c73fd79ceef9124faba2c075742ce18d06649af6 (patch) | |
tree | b2bc11cee0f4789961eb1c86821e6604e3f9c8be /src/util/u_math.h | |
parent | eda36feb2b7eef8347f579c3c8590a8f09017cf0 (diff) |
gallium: trace: Add missing fence related wrappers
Without that kmscube with GALLIUM_TRACE would segfault like:
#0 0x0000000000000000 in ()
#1 0x0000ffff8f311760 in dri2_create_fence_fd (_ctx=0xaaaae266b8b0, fd=10) at ../src/gallium/state_trackers/dri/dri_helpers.c:122
#2 0x0000ffff90788670 in dri2_create_sync (drv=0xaaaae2667910, disp=0xaaaae26691f0, type=12612, attrib_list=0xaaaae26b9290) at ../src/egl/drivers/dri2/egl_dri2.c:2993
#3 0x0000ffff90776a9c in _eglCreateSync (disp=0xaaaae26691f0, type=12612, attrib_list=0xaaaae26b9290, orig_is_EGLAttrib=0, invalid_type_error=12292) at ../src/egl/main/eglapi.c:1823
#4 0x0000ffff90776be4 in eglCreateSyncKHR (dpy=0xaaaae26691f0, type=12612, int_list=0xfffff662e828) at ../src/egl/main/eglapi.c:1848
Signed-off-by: Guido Günther <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/util/u_math.h')
0 files changed, 0 insertions, 0 deletions