skyrim-community-shaders
skyrim-community-shaders copied to clipboard
build: add initial KickStartRT
Use preset ALL-RT to build.
It should build fine now with one single set local error that doesn't seem relevant.
Tasks to resolve
- [x] Figure out why the cmake
add_subdirectoryisn't actually including the include and src directories. - [x] Figure out how to disable subprojects that aren't necessary to build. I believe we only need the first 2. Initial google searches are suggesting we have to disable inside of KickStartRT so will have to fork. But maybe this?
Looking more, it looks like most of the projects actually depend on each other. So I guess just expect a long build process.
Ok fixed the include issue. Looks like there's one error related to KickstartRT_shaders because dxc has changed allowed params?
..\tools\ShaderCompiler\Release\KickstartRT_ShaderCompiler.exe --infile E:/Documents/source/repos/skyrim-community-shaders/extern/KickstartRT/shaders/shaders.cfg --parallel --out E:/Documents/source/repos/skyrim-community-shaders/build/KickstartRT/shaders/spirv --platform spirv --cflags "-Qstrip_debug -Qstrip_reflect" -I E:/Documents/source/repos/skyrim-community-shaders/extern/KickstartRT/shaders -I E:/Documents/source/repos/skyrim-community-shaders/extern/KickstartRT/thirdparty/RayTracingDenoiser/Shaders/Include -D KickstartRT_SDK_WITH_NRD=1 --compiler G:/VulkanSDK/1.3.261.1/Bin/dxc.exe --res E:/Documents/source/repos/skyrim-community-shaders/build/KickstartRT/shaders/ShaderResource_SPIRV.rc
dxc failed : -Qstrip_reflect is not supported with -spirv
I don't think it matters as CS still builds fine. Next step may be to figure out the minimum needed. Right now I took out vulkan, but for some reason we have dx12 still (which is what is pulling most of the other projects in). I'll leave it to you to figure out if we can strip it out or if it's needed in the backend anyway.
Closing since it's too old now