tgsi: handle texel swizzles correctly for d3d10-style sample opcodes
authorRoland Scheidegger <sroland@vmware.com>
Fri, 26 Jul 2013 19:39:27 +0000 (21:39 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Sat, 27 Jul 2013 14:41:29 +0000 (16:41 +0200)
commit47e528b740c2a470fbf612029c0255d1224d77cd
treea9482878bfda02a8ac85c9d275fbdb21855f6683
parentabcc40e7f05fcc1fd28f226f132f500a703d1e5d
tgsi: handle texel swizzles correctly for d3d10-style sample opcodes

Same as for gallivm (though these don't quite work correctly in softpipe,
so untested).

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_exec.c