OSDN Git Service

i965/fs: Don't swizzle the results of textureSize().
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 6 Dec 2011 20:39:54 +0000 (12:39 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 18 Dec 2011 19:59:52 +0000 (11:59 -0800)
commitc592ebc581e5ca0122660b3d76ec924b96581216
treed37486b7d1633ed0a902c2e8453b417980a57e6b
parentbb6fb7afd37e523256d1b8861b0d5e3030e31282
i965/fs: Don't swizzle the results of textureSize().

Fixes a regression since d2235b0f4681f75d562131d655a6d7b7033d2d8b,
in my new textureSize sampler(1DArrayShadow|2DShadow|2DArrayShadow)
piglit tests, though I'm not honestly sure how this ever worked.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp