diff options
author | Rob Clark <[email protected]> | 2018-03-02 10:21:55 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-03-05 08:05:33 -0500 |
commit | 5a5a43078c502841b332c92281201e758dcbae2d (patch) | |
tree | decd97964bb0db3193edf2fcb68e479055c15db8 /src/egl/main/eglcontext.c | |
parent | 175d1b437263e5eab0e47378fbeca3dd71002cd0 (diff) |
freedreno/ir3: start dealing with half-precision
Some instructions, assume src and/or dst is half-precision based on a
type field (ie. f32/s32/u32 are full precision but others are half
precision). So add some code to sanity check the src/dst registers to
catch mixups.
Also propagate half-precision flag for SSA sources. The instruction
consuming a SSA value needs to be of the same type as the one producing
it.
This is probably not complete half-precision support, but a useful first
step. We do still need to add support for nir alu instructions for
converting between half/full precision.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/egl/main/eglcontext.c')
0 files changed, 0 insertions, 0 deletions