webgpu progress
This commit is contained in:
@@ -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
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user