After 711fc10ea3 "glapi: merge all shared-glapi source files into one .c file" the V3D simulator started crashing. After testing the changes of the merge one by one, it was identified that previously shared_glapi_mapi_tmp.h was being imported twice instead of only once as it happens after the merge. Although the change done in the merge seems to be equivalent it seems it was breaking the the debug builds. Here can find an explanation why this problem was affecting debug builds https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34363#note_2850196 Fixes: 711fc10ea3 ("glapi: merge all shared-glapi source files into one .c file") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12908 Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34363>
711fc10ea3