-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial tint transpilation support for WebGPU #8477
Conversation
911dc1c
to
1d221f1
Compare
fb31a9f
to
3e568a6
Compare
dda56ab
to
ffdece2
Compare
3e568a6
to
b29a2a3
Compare
*outWsl = wgslOut->wgsl; | ||
return true; | ||
#else | ||
slog.i << "Trying to emit WGSL without including WebGPU dependencies, please set CMake arg FILAMENT_SUPPORTS_WEBGPU and TINT_BUILD_SPV_READER" << io::endl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be a warning, e.g. slog.w
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hrm. A bit debatable, but either way functionally it will fail out due to the return false
below it. It could also arguably be slog.e
.
I'd like to leave it at the moment unless others clarify the common patterns expected in filament.
06d426e
to
1b09245
Compare
Early version that will allow errors to be ignored currently, outputting what we can into filamat results.
1b09245
to
a3f0d0a
Compare
BUGS = [398273927]