webgpu progress

This commit is contained in:
luboslenco
2026-01-05 21:13:49 +01:00
parent 1396870aad
commit 766d6902bf
14 changed files with 453 additions and 459 deletions
+1
View File
@@ -106,6 +106,7 @@ void kong_compile(char *shader_lang, const char *from, const char *to) {
analyze();
if (strcmp(shader_lang, "wgsl") == 0) {
transform(TRANSFORM_FLAG_ONE_COMPONENT_SWIZZLE);
char *vs;
char *fs;
wgsl_export2(&vs, &fs);
+1 -1
View File
@@ -948,7 +948,7 @@ class WasmExporter extends Exporter {
this.make =
new MakeExporter(compiler, compiler, compilerFlags, compilerFlags,
// '--target=wasm32 -nostdlib -matomics -mbulk-memory "-Wl,--import-memory,--shared-memory,--allow-undefined,--no-entry"', '.wasm');
'--target=wasm32 -nostdlib -matomics -mbulk-memory "-Wl,--import-memory,--shared-memory,--allow-undefined,--no-entry,--stack-first,--initial-memory=543621120,--max-memory=543621120,-z,stack-size=6553600"', '.wasm');
'--target=wasm32 -nostdlib -matomics -mbulk-memory "-Wl,--import-memory,--shared-memory,--allow-undefined,--no-entry,--stack-first,--initial-memory=1310720000,--max-memory=1310720000,-z,stack-size=6553600"', '.wasm');
}
export_solution(project) {