radeon/llvm: Don't use lp_build_swizzle_aos() for swizzles
authorTom Stellard <thomas.stellard@amd.com>
Thu, 12 Jul 2012 14:41:39 +0000 (10:41 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 12 Jul 2012 17:53:22 +0000 (13:53 -0400)
commitf92873be2c7fcb07154282bd0e418a4c88b6507e
tree92d0823b2cb2ea70e20bb955f2482fa974c47fd4
parent185fc9a5efc85d8eadf14d38399e43efea3388d0
radeon/llvm: Don't use lp_build_swizzle_aos() for swizzles

This function assumes that lp_build_context::type is a vector type,
which is not true for r600 or radeonsi.

This fixes an assertion failure using glamor 2D accel.
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c