import { sym } from "@thi.ng/shader-ast/ast/sym";
import { add, mul } from "@thi.ng/shader-ast/ast/ops";
import { uint } from "@thi.ng/shader-ast/ast/lit";
const x = sym("uvec4");
add(x, uint(1234));
doesn't work because there is no type definition for arithmetic between uvec and uint.
I'm trying the workaround at the moment now,
but I'd like to see operators are 100% covered
doesn't work because there is no type definition for arithmetic between
uvec
anduint
. I'm trying the workaround at the moment now, but I'd like to see operators are 100% covered