-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0574698
commit a49e7f1
Showing
2 changed files
with
23 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,26 +117,6 @@ elseif(APPLE) | |
Mac-Cocoa/[email protected] | ||
win32/res/Dirt.ICO | ||
) | ||
#shaders need to be compiled as part of the app | ||
#this could change in the future, but for now the Metal code expects the library to be compiled in the app | ||
set(plClient_SHADERS | ||
../../FeatureLib/pfMetalPipeline/ShaderSrc/FixedPipelineShaders.metal | ||
../../FeatureLib/pfMetalPipeline/ShaderSrc/PlateShaders.metal | ||
../../FeatureLib/pfMetalPipeline/ShaderSrc/BiasNormals.metal | ||
../../FeatureLib/pfMetalPipeline/ShaderSrc/CompCosines.metal | ||
../../FeatureLib/pfMetalPipeline/ShaderSrc/WaveSet7.metal | ||
../../FeatureLib/pfMetalPipeline/ShaderSrc/Grass.metal | ||
../../FeatureLib/pfMetalPipeline/ShaderSrc/WaveDecEnv.metal | ||
../../FeatureLib/pfMetalPipeline/ShaderSrc/Avatar.metal | ||
../../FeatureLib/pfMetalPipeline/ShaderSrc/WaveDec1Lay_7.metal | ||
../../FeatureLib/pfMetalPipeline/ShaderSrc/WaveRip.metal | ||
../../FeatureLib/pfMetalPipeline/ShaderSrc/Clear.metal | ||
../../FeatureLib/pfMetalPipeline/ShaderSrc/GammaCorrection.metal | ||
../../FeatureLib/pfMetalPipeline/ShaderSrc/TextFontShader.metal | ||
) | ||
set_source_files_properties(${plClient_SHADERS} PROPERTIES LANGUAGE METAL) | ||
source_group("Metal Shaders" FILES ${plClient_SHADERS}) | ||
set(plClient_SOURCES ${plClient_SOURCES} ${plClient_SHADERS}) | ||
list(APPEND plClient_RESOURCES | ||
win32/res/Dirt.ICO | ||
) | ||
|
@@ -260,6 +240,7 @@ target_link_libraries( | |
$<$<BOOL:${PLASMA_PIPELINE_DX}>:pfDXPipeline> | ||
$<$<BOOL:${PLASMA_PIPELINE_GL}>:pfGLPipeline> | ||
$<$<BOOL:${PLASMA_PIPELINE_METAL}>:pfMetalPipeline> | ||
$<$<BOOL:${PLASMA_PIPELINE_METAL}>:pfMetalPipelineShaders> | ||
CURL::libcurl | ||
) | ||
target_include_directories(plClient PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters