Skip to content

Commit a552487

Browse files
authored
[libclc] Avoid using undefined vector3 components (llvm#115857)
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 fe18ab9 commit a552487

File tree

1 file changed

+218
-204
lines changed

1 file changed

+218
-204
lines changed

0 commit comments

Comments
 (0)