17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-05 21:49:10 +01:00

add shader compilation pipeline using dxc compiler

This commit is contained in:
WLs50
2025-04-05 13:30:13 +02:00
parent 85435c74bf
commit 900133089b
8 changed files with 447 additions and 1 deletions

View File

@@ -22,6 +22,9 @@ add_subdirectory("thirdparty/fmt")
add_subdirectory("thirdparty/entt")
add_subdirectory("thirdparty/fsr2")
add_subdirectory("mashadercompiler")
add_subdirectory("shaders")
# Source code
file(GLOB_RECURSE src
"renderer/*.cpp"
@@ -103,3 +106,4 @@ endif ()
target_sources(${LIBMANUL_NAME} INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/eu07_source/register.cpp")
target_link_libraries(${LIBMANUL_NAME} ${LIBMANUL_NAME}_fsr2 nvrhi yaml-cpp fmt EnTT glfw)
add_dependencies(${LIBMANUL_NAME} ${LIBMANUL_NAME}_shaders)