mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-21 18:06:18 +00:00
video_core: added shader header files generator from Citra
This commit is contained in:
parent
2c87171b95
commit
184b7b7fc2
4 changed files with 101 additions and 0 deletions
|
@ -530,6 +530,13 @@ endif()
|
|||
|
||||
target_include_directories(shadps4 PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
# Shaders sources
|
||||
set(HOST_SHADERS_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/src/video_core/host_shaders)
|
||||
|
||||
add_subdirectory(${HOST_SHADERS_INCLUDE})
|
||||
add_dependencies(shadps4 host_shaders)
|
||||
target_include_directories(shadps4 PRIVATE ${HOST_SHADERS_INCLUDE})
|
||||
|
||||
if (ENABLE_QT_GUI)
|
||||
set_target_properties(shadps4 PROPERTIES
|
||||
WIN32_EXECUTABLE ON
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue