tgsi/sse2: Cleanup NRM/NRM4 implementation.
authorMichal Krol <michal@vmware.com>
Fri, 10 Apr 2009 09:58:49 +0000 (11:58 +0200)
committerMichal Krol <michal@vmware.com>
Fri, 10 Apr 2009 09:58:49 +0000 (11:58 +0200)
commit5fae9514c235cc5590f15fd802bd762107fc689d
treec739ec89ac34e88793b1fde3ab74c8bd8cf394fa
parent05c70f8f5d95708cb4564946effb5c49d09068ec
tgsi/sse2: Cleanup NRM/NRM4 implementation.

Fix comments.
Make sure .w is set to 1.0 for NRM.
Optimise for non-.xyzw writemasks.
src/gallium/auxiliary/tgsi/tgsi_sse2.c