Shader fixes

This commit is contained in:
luboslenco
2019-06-06 12:54:44 +02:00
parent 3a1e826fd3
commit e558a7bd7a
10 changed files with 134 additions and 64 deletions
+7 -1
View File
@@ -6,7 +6,6 @@ project.addLibrary("iron");
project.addLibrary("zui");
project.addLibrary("iron_format");
project.addShaders("compiled/Shaders/*.glsl", { noembed: false});
project.addShaders("compiled/Hlsl/*.glsl", { noprocessing: true, noembed: false });
project.addAssets("compiled/Assets/**", { notinlist: true , destination: "data/{name}" });
project.addAssets("compiled/Shaders/*.arm", { notinlist: true , destination: "data/{name}" });
project.addAssets("Bundled/data/**", { notinlist: true , destination: "data/{name}" });
@@ -54,6 +53,13 @@ project.addDefine('arm_data_dir');
project.addParameter('--macro include("arm.brushnode")');
project.addParameter('-dce full');
if (process.platform === 'win32') {
project.addShaders("compiled/Hlsl/*.glsl", { noprocessing: true, noembed: false });
}
else {
project.addShaders("compiled/Glsl/*.glsl", { noembed: false });
}
if (process.platform === 'win32') {
project.addAssets("Bundled/cmft/cmft.exe", { notinlist: true , destination: "data/{name}" });
}