freedreno/ir3: convert back to 32-bit values for half constant registers.
authorHyunjun Ko <zzoon@igalia.com>
Thu, 21 Mar 2019 08:30:11 +0000 (17:30 +0900)
committerRob Clark <robdclark@chromium.org>
Mon, 3 Jun 2019 19:44:03 +0000 (12:44 -0700)
commitcbd1f47433b7d735e3be5c8126f7f2b9343a1cdf
tree238eecd7e38d0f57af302f25ae61bb4753bab819
parenta9b556d3a041a817fc02c94e705fb865ffde86aa
freedreno/ir3: convert back to 32-bit values for half constant registers.

It seems to handle only 32-bit values for half constant registers
within floating point opcodes according to the blob driver.
So we need to convert back to 32-bit values from 16-bit values, when a
lower precision pass is in effect.

Signed-off-by: Rob Clark <robdclark@chromium.org>
src/freedreno/ir3/ir3.h
src/freedreno/ir3/ir3_cp.c