softpipe: invalidate cache view when swizzles are different.
authorDave Airlie <airlied@redhat.com>
Sun, 2 May 2010 07:37:18 +0000 (17:37 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 3 May 2010 06:27:42 +0000 (16:27 +1000)
commite8f48b1dc99a8db05c07d442acd3baf8f3620f6e
treecbf2ad98ae9767363d44eb7932948afae82129e7
parent26a9b7e4c737c89b47844303bb7413ceab0280a5
softpipe: invalidate cache view when swizzles are different.

Current code only invalidated if the texture was different, however we
store swizzled values in the cache, so we need to invalidate in that case
also.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/softpipe/sp_tex_tile_cache.c