mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-15 02:05:46 -04:00
GPUDevice: Support transpiling shaders at compile time
And use it for GLSL postprocessing shaders.
This commit is contained in:
43
scripts/flatpak/modules/23-spirv-cross.json
Normal file
43
scripts/flatpak/modules/23-spirv-cross.json
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
"name": "spirv-cross",
|
||||
"buildsystem": "cmake-ninja",
|
||||
"builddir": true,
|
||||
"config-opts": [
|
||||
"-DCMAKE_BUILD_TYPE=Release",
|
||||
"-DSPIRV_CROSS_SHARED=ON",
|
||||
"-DSPIRV_CROSS_STATIC=OFF",
|
||||
"-DSPIRV_CROSS_CLI=OFF",
|
||||
"-DSPIRV_CROSS_ENABLE_TESTS=OFF",
|
||||
"-DSPIRV_CROSS_ENABLE_GLSL=ON",
|
||||
"-DSPIRV_CROSS_ENABLE_HLSL=OFF",
|
||||
"-DSPIRV_CROSS_ENABLE_MSL=OFF",
|
||||
"-DSPIRV_CROSS_ENABLE_CPP=OFF",
|
||||
"-DSPIRV_CROSS_ENABLE_REFLECT=OFF",
|
||||
"-DSPIRV_CROSS_ENABLE_C_API=ON",
|
||||
"-DSPIRV_CROSS_ENABLE_UTIL=ON"
|
||||
],
|
||||
"build-options": {
|
||||
"strip": true
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/KhronosGroup/SPIRV-Cross.git",
|
||||
"tag": "vulkan-sdk-1.3.280.0",
|
||||
"commit": "2a7c8184921897ff3d6c6c3f70af4099e2e00331"
|
||||
},
|
||||
{
|
||||
"type": "patch",
|
||||
"path": "../../spirv-cross-changes.patch"
|
||||
}
|
||||
],
|
||||
"cleanup": [
|
||||
"/bin",
|
||||
"/include",
|
||||
"/lib/*.a",
|
||||
"/lib/*.la",
|
||||
"/lib/cmake",
|
||||
"/lib/pkgconfig",
|
||||
"/share"
|
||||
]
|
||||
}
|
@ -21,6 +21,7 @@
|
||||
"modules/20-sdl2.json",
|
||||
"modules/21-libbacktrace.json",
|
||||
"modules/22-shaderc.json",
|
||||
"modules/23-spirv-cross.json",
|
||||
{
|
||||
"name": "duckstation",
|
||||
"buildsystem": "cmake-ninja",
|
||||
|
Reference in New Issue
Block a user