Aman Karmani

Results 429 comments of Aman Karmani

> Do you use YUV format? Cuz it is not supported in metal backend yet. How do you mean? > For GLES variant the common formats are documented One thing...

Regarding YpCbCr, this is helpful context: https://developer.apple.com/documentation/accelerate/conversion/understanding_ypcbcr_image_formats For these video frames, they are backed by IOSurface with multiple data planes. The CVPixelBuffer wraps the IOSurface, and has flags which allow...

> For example, there is a format `GL_RGB_422_APPLE` supported by the old `CVOpenGLESTextureCacheCreateTextureFromImage` function. Hm, somehow I never saw this on the documentation before. Maybe it's new. Sounds interesting for...

I can poke at this. If you have the compilation/linker failures handy it would be useful to attach them here.

I tried with 2.0.28 since I need https://github.com/emscripten-core/emscripten/pull/14865 It fails as so: ``` ... #8 0.517 wasm-ld: warning: Linking two modules of different data layouts: 'lib/libgfortran.awrite.c.bc' is 'e-m:e-p:32:32-i64:64-f128:64-n32:64-S128-ni:1:10:20' whereas 'ld-temp.o'...

2.0.16: ok 2.0.18: ok 2.0.21: ok 2.0.22: ok 2.0.23: ok 2.0.25: ok 2.0.27: error 2.0.26: error changelog https://github.com/emscripten-core/emscripten/blob/main/ChangeLog.md#2026---07262021 commit list https://github.com/emscripten-core/emscripten/compare/2.0.25...2.0.26

I'm not certain, but I think this may be related to a memory alignment change made for the emscripten build target in llvm: https://github.com/llvm/llvm-project/commit/d1a96e906cc03a95cfd41a1f22bdda92651250c7 https://github.com/emscripten-core/emscripten/pull/14634 there was another approach not...

Thanks. I did notice that emfc.sh rewrites the `target datalayout` line of the generated textual llvm output. Perhaps we just need to tweak that to match what newer llvm is...

> Perhaps we just need to tweak that to match Yep, I got it working. Will open PR shortly.

2.0.28 now works too, which solves my original issue with exit code propagation. I tried 2.0.34 but got this error: ``` #8 0.299 /app/emsdk/upstream/bin/clang: error while loading shared libraries: libatomic.so.1:...