We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While transpiling some code the float wasn't import in top import.
In tsl transpiler vec4 j = -49. * floor(p);
vec4 j = -49. * floor(p);
// Three.js Transpiler r172 import { floor, vec4 } from 'three/tsl'; const j = vec4( float( - 49. ).mul( floor( p ) ) ).toVar();
if 49. -> 49 int is not imported as well
int
X
https://threejs.org/examples/webgpu_tsl_transpiler.html
No response
r172
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description
While transpiling some code the float wasn't import in top import.
Reproduction steps
In tsl transpiler
vec4 j = -49. * floor(p);
if 49. -> 49
int
is not imported as wellCode
X
Live example
https://threejs.org/examples/webgpu_tsl_transpiler.html
Screenshots
No response
Version
r172
Device
No response
Browser
No response
OS
No response
The text was updated successfully, but these errors were encountered: