gallivm: fix [IU]MUL_HI regression harder
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 9 Nov 2016 11:44:47 +0000 (12:44 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 10 Nov 2016 12:17:10 +0000 (13:17 +0100)
commitb46a9c570f431d3953a3ba31ffe76ad17568e522
tree153e4f3a5c5c8f8764bdf6e9b628295be0619ad3
parent9ca6711faa03a9527c0946f2489e42cd9a62235c
gallivm: fix [IU]MUL_HI regression harder

The fix in commit 88f791db75e9f065bac8134e0937e1b76600aa36 was insufficient
for radeonsi because the vector case was not handled properly. It seems
piglit only covers the scalar case, unfortunately.

Fixes GL45-CTS.shader_bitfield_operation.[iu]mulExtended.*

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_arit.c