kong + metal test

This commit is contained in:
luboslenco
2025-04-16 20:22:07 +02:00
parent 93a7981715
commit a8a023cf0f
11 changed files with 111 additions and 80 deletions
+2 -2
View File
@@ -560,7 +560,7 @@ class VisualStudioExporter extends Exporter {
return file.file.endsWith(".cpp") || file.file.endsWith(".c") || file.file.endsWith(".cc");
});
this.item_group(from, to, project, 'CustomBuild', (file) => {
return file.file.endsWith(".hlsl") || file.file.endsWith(".glsl");
return file.file.endsWith(".hlsl");
});
if (platform === "windows") {
this.item_group(from, to, project, "ResourceCompile", (file) => {
@@ -2433,7 +2433,7 @@ function shader_find_type(options) {
return 'spirv';
}
else if (options.graphics === 'metal') {
return 'msl';
return 'metal';
}
else if (options.graphics === 'direct3d12') {
return 'hlsl';