dc68054305
- Restore 29 recipe symlinks (libdrm, qtbase, dbus, sddm, pipewire, etc.) - Restore 33 patches (KDE, libdrm, mesa, pipewire, sddm, wireplumber) - Restore 20+ local/scripts (audit, lint, test, build helpers) - Restore src/cook/scheduler.rs, status.rs, gnu-config/ - Restore scripts/patch-inclusion-gate.sh, run_mini1.sh, validate-collision-log.sh - Recover TLC source from HEAD (was overwritten by 0.2.3 checkout) - Recover 11 local/docs plans from HEAD (were overwritten) - Recover qt6-wayland-smoke symlink from HEAD - Fix MOTD: remove garbled ASCII art, use clean text - Update version: 0.2.0 -> 0.2.4 in os-release, motd, config - Reduce filesystem_size: 1536 -> 512 MiB - Add ABSOLUTE RULE to AGENTS.md: never delete/ignore packages - Reduce pcid scheme log verbosity: info -> debug
26 lines
969 B
Diff
26 lines
969 B
Diff
diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c
|
|
index d86ca5d1e..f79b8c678 100644
|
|
--- a/src/gallium/drivers/virgl/virgl_screen.c
|
|
+++ b/src/gallium/drivers/virgl/virgl_screen.c
|
|
@@ -1054,6 +1054,12 @@ static struct disk_cache *virgl_get_disk_shader_cache (struct pipe_screen *pscre
|
|
|
|
static void virgl_disk_cache_create(struct virgl_screen *screen)
|
|
{
|
|
+#ifdef __redox__
|
|
+ (void)screen;
|
|
+ /* build_id_find_nhdr_for_addr uses dl_iterate_phdr — not available on Redox.
|
|
+ * Disk cache is disabled; shader compilation works without it. */
|
|
+ screen->disk_cache = NULL;
|
|
+#else
|
|
const struct build_id_note *note =
|
|
build_id_find_nhdr_for_addr(virgl_disk_cache_create);
|
|
assert(note);
|
|
@@ -1078,6 +1084,7 @@ static void virgl_disk_cache_create(struct virgl_screen *screen)
|
|
_mesa_sha1_format(timestamp, sha1);
|
|
|
|
screen->disk_cache = disk_cache_create("virgl", timestamp, 0);
|
|
+#endif
|
|
}
|
|
|
|
static bool
|