Commit 46edeed
committed
[libclc] Avoid using undefined vector3 components
Using '.hi' on a vector3 is technically allowed by the spec and is
treated as a 4-element vector with an "undefined" w component. However,
it's more undef/poison code for the compiler to process and remove. We
can easily avoid it with a dedicated macro.1 parent 6ca50a2 commit 46edeed
1 file changed
+218
-204
lines changed
0 commit comments