mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-27 09:50:20 +01:00
zink: update renderdoc layer string for android
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35350>
(cherry picked from commit 1ad37360de)
This commit is contained in:
parent
8fa2cd2fee
commit
f9cf332fa7
2 changed files with 7 additions and 2 deletions
|
|
@ -6824,7 +6824,7 @@
|
|||
"description": "zink: update renderdoc layer string for android",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -2222,7 +2222,12 @@ setup_renderdoc(struct zink_screen *screen)
|
|||
const char *capture_id = debug_get_option("ZINK_RENDERDOC", NULL);
|
||||
if (!capture_id)
|
||||
return;
|
||||
void *renderdoc = dlopen("librenderdoc.so", RTLD_NOW | RTLD_NOLOAD);
|
||||
#if DETECT_OS_ANDROID
|
||||
const char *libstr = "libVkLayer_GLES_RenderDoc.so";
|
||||
#else
|
||||
const char *libstr = "librenderdoc.so";
|
||||
#endif
|
||||
void *renderdoc = dlopen(libstr, RTLD_NOW | RTLD_NOLOAD);
|
||||
/* not loaded */
|
||||
if (!renderdoc)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue