freedreno/ir3: Fix the type of half-float indirect uniform loads.
authorEric Anholt <eric@anholt.net>
Tue, 7 Jul 2020 23:37:11 +0000 (16:37 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Aug 2020 04:35:05 +0000 (04:35 +0000)
commitdb25c18f3338cb4e01e3e6d5793eada6b296c7ed
tree1f73e042f7b9afbff6a691684c6125f092e998ac
parent13b3c401a417c6d1a409c0b85cd97a093696c96a
freedreno/ir3: Fix the type of half-float indirect uniform loads.

We would be making a MOV from a u32, when we should be loading from a
16-bit value.  This likely didn't bite us because we only do mediump in FS
and CS so far, and indirect uniforms are usually in a VS (and usually
highp).

Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6179>
src/freedreno/ir3/ir3.h
src/freedreno/ir3/ir3_compiler_nir.c