freedreno/ir3: set proper dst type for uniform according to the type of nir dest.
authorHyunjun Ko <zzoon@igalia.com>
Tue, 26 Feb 2019 08:33:34 +0000 (08:33 +0000)
committerRob Clark <robdclark@chromium.org>
Mon, 3 Jun 2019 19:44:03 +0000 (12:44 -0700)
commit6fb8ef3da6cfaad2040f694f8cfde4f7c9ad6a38
tree6f853a4d5548ab01b5a51a4be2237de39b789a27
parent689c3c7d40ddee6a7c48a3885b241871d6302fe7
freedreno/ir3: set proper dst type for uniform according to the type of nir dest.

eg. uniform mediump vec4 f;

This patch means nothing since there's no mediump lowering pass for now,
but will be meaningful when the pass land in the near future.

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