cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

riza_guntur
Journeyman III

Swizzling to mask output, what is it?

output.xw = input.x;

What values of the output after that happens?

0 Likes
2 Replies
riza_guntur
Journeyman III

Woops! I tried it but compile error.

I'm sure in http://www.nada.kth.se/~tomaso/Stream2008/M3.pdf in Swizzle page there stating:

– Use Swizzle to mask elements in output  – Use Swizzle to mask elements in output
e.g. output.xw = input.x;

0 Likes

I think this is changed after strong type checking in brcc. Both LHS and RHS have to have the same number of components and data type.

0 Likes