libplacebo: enable Vulkan, shaderc and glslang
This commit is contained in:
parent
b69ad95ede
commit
6ebcef8276
|
@ -0,0 +1,15 @@
|
|||
Source: maxice8
|
||||
Upstream: no, revert of https://github.com/haasn/libplacebo/commit/bcb73f3ae243f515d5c60b5d72db5e386987ef8e
|
||||
Reason: fixes compilation with our shaderc
|
||||
|
||||
--- src/spirv_shaderc.c
|
||||
+++ src/spirv_shaderc.c
|
||||
@@ -68,7 +68,7 @@ static bool shaderc_init(struct spirv_compiler *spirv)
|
||||
goto error;
|
||||
|
||||
shaderc_compile_options_set_optimization_level(p->opts,
|
||||
- shaderc_optimization_level_performance);
|
||||
+ shaderc_optimization_level_size);
|
||||
|
||||
int ver, rev;
|
||||
shaderc_get_spv_version(&ver, &rev);
|
|
@ -1,8 +1,11 @@
|
|||
# Template file for 'libplacebo'
|
||||
pkgname=libplacebo
|
||||
version=0.5.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=meson
|
||||
configure_args="-Dvulkan=true -Dglslang=true -Dshaderc=true"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="vulkan-loader glslang shaderc Vulkan-Headers"
|
||||
short_desc="Reusable library for GPU-accelerated video/image rendering"
|
||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||
license="LGPL-2.1-or-later"
|
||||
|
|
Loading…
Reference in New Issue