radeonsi: increase coords array size for radeon_llvm_emit_prepare_cube_coords
authorMarek Olšák <marek.olsak@amd.com>
Tue, 17 Mar 2015 16:47:17 +0000 (17:47 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 18 Mar 2015 11:04:27 +0000 (12:04 +0100)
commita984abdad39df2d8ceb4c46e11f4ce1344c36c86
tree07d2c88d452899863c01c332ca42ab88763a9896
parent8475526a3842580f00a043bca8f821e14e9f5eb7
radeonsi: increase coords array size for radeon_llvm_emit_prepare_cube_coords

radeon_llvm_emit_prepare_cube_coords uses coords[4] in some cases (TXB2 etc.)

Discovered by Coverity. Reported by Ilia Mirkin.

Cc: 10.5 10.4 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
src/gallium/drivers/radeonsi/si_shader.c