skyrim-community-shaders icon indicating copy to clipboard operation
skyrim-community-shaders copied to clipboard

build: add initial KickStartRT

Open alandtse opened this issue 2 years ago • 3 comments
trafficstars

Use preset ALL-RT to build.

It should build fine now with one single set local error that doesn't seem relevant.

alandtse avatar Sep 14 '23 08:09 alandtse

Tasks to resolve

  • [x] Figure out why the cmake add_subdirectory isn'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? image

alandtse avatar Sep 14 '23 08:09 alandtse

Looking more, it looks like most of the projects actually depend on each other. So I guess just expect a long build process.

alandtse avatar Sep 15 '23 05:09 alandtse

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.

alandtse avatar Sep 15 '23 06:09 alandtse

Closing since it's too old now

alandtse avatar Jun 08 '24 18:06 alandtse