Created attachment 252322 [details] port RetroArch shaders for all librashader is a preprocessor, compiler and runtime for RetroArch 'slang' shaders, rewritten in pure Rust. It supports all modern graphics runtimes, including wgpu, Vulkan, OpenGL 3.3+ and 4.6 (with DSA), Direct3D 11, Direct3D 12, and Metal. librashader implements the entire RetroArch shader pipeline and is highly compatible with existing shaders, e.g. the slang-shaders from libretro. https://github.com/SnowflakePowered/librashader
Created attachment 252636 [details] new port devel/librashader - update to tagged release 0.3.0 - track tagged releases from now on - remove PLIST_FILES and PORTDOCS from Makefile, keep them listed in pkg-plist instead - reworked DEBUG and LTO options - drop -e option from REINPLACE_CMD - merge post-build target into do-build target - remove upstreamed patch - pet portclippy, portfmt, portlint
Created attachment 252671 [details] new port devel/librashader Reworked DEBUG and LTO options again ... hopefully the last time. LTO is now solely controlled by the standard ports framework, i.e. it compiles with LTO unless WITHOUT_LTO is defined, see Mk/Uses/cargo.mk.
Created attachment 252867 [details] new port devel/librashader add pkg-message
Created attachment 253048 [details] new port devel/librashader * update to 0.3.3 * reword pkg-message * place include/README.md in ${EXAMPLESDIR} instead of ${DOCSDIR}
Committed, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5dbd4779453e2f388e6e82e0971f328cf16cd1e2 commit 5dbd4779453e2f388e6e82e0971f328cf16cd1e2 Author: Stefan Schlosser <bsdcode@disroot.org> AuthorDate: 2024-08-26 07:38:12 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-08-26 08:20:18 +0000 devel/librashader: New port: RetroArch shaders for all PR: 280470 devel/Makefile | 1 + devel/librashader/Makefile (new) | 76 +++ devel/librashader/Makefile.crates (new) | 428 ++++++++++++++++ devel/librashader/distinfo (new) | 859 ++++++++++++++++++++++++++++++++ devel/librashader/pkg-descr (new) | 7 + devel/librashader/pkg-message (new) | 11 + devel/librashader/pkg-plist (new) | 9 + 7 files changed, 1391 insertions(+)