Fix extended swizzling in vertex programs by introducing special swizzle instruction...
authorRoland Scheidegger <rscheidegger@gmx.ch>
Thu, 1 Jun 2006 22:56:40 +0000 (22:56 +0000)
committerRoland Scheidegger <rscheidegger@gmx.ch>
Thu, 1 Jun 2006 22:56:40 +0000 (22:56 +0000)
commitfe57ed4f2566e30384d0c786998842405d8e8990
treedda940ef6088ccb5ffa89d760f15aebceaaacfa6
parent4d3ab19abfc262070ff82443bf28fb8b8a616e18
Fix extended swizzling in vertex programs by introducing special swizzle instruction, extend the 2 bit rsw field to 3 bit like used in other places. While here, also fix up rsw (negation), dph and try to fix up rsq with negative values (doesn't work, bug seems elsewhere) in the sse codegen code.
src/mesa/tnl/t_vb_arbprogram.c
src/mesa/tnl/t_vb_arbprogram.h
src/mesa/tnl/t_vb_arbprogram_sse.c
src/mesa/x86/rtasm/x86sse.c
src/mesa/x86/rtasm/x86sse.h