• Rob Clark's avatar
    freedreno/ir3: start dealing with half-precision · 5a5a4307
    Rob Clark authored
    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's avatarRob Clark <robdclark@gmail.com>
    5a5a4307
Name
Last commit
Last update
..
a2xx Loading commit data...
a3xx Loading commit data...
a4xx Loading commit data...
a5xx Loading commit data...
ir3 Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
Android.gen.mk Loading commit data...
Android.mk Loading commit data...
Automake.inc Loading commit data...
Makefile.am Loading commit data...
Makefile.sources Loading commit data...
adreno_common.xml.h Loading commit data...
adreno_pm4.xml.h Loading commit data...
disasm.h Loading commit data...
freedreno_batch.c Loading commit data...
freedreno_batch.h Loading commit data...
freedreno_batch_cache.c Loading commit data...
freedreno_batch_cache.h Loading commit data...
freedreno_blitter.c Loading commit data...
freedreno_blitter.h Loading commit data...
freedreno_context.c Loading commit data...
freedreno_context.h Loading commit data...
freedreno_draw.c Loading commit data...
freedreno_draw.h Loading commit data...
freedreno_fence.c Loading commit data...
freedreno_fence.h Loading commit data...
freedreno_gmem.c Loading commit data...
freedreno_gmem.h Loading commit data...
freedreno_program.c Loading commit data...
freedreno_program.h Loading commit data...
freedreno_query.c Loading commit data...
freedreno_query.h Loading commit data...
freedreno_query_acc.c Loading commit data...
freedreno_query_acc.h Loading commit data...
freedreno_query_hw.c Loading commit data...
freedreno_query_hw.h Loading commit data...
freedreno_query_sw.c Loading commit data...
freedreno_query_sw.h Loading commit data...
freedreno_resource.c Loading commit data...
freedreno_resource.h Loading commit data...
freedreno_screen.c Loading commit data...
freedreno_screen.h Loading commit data...
freedreno_state.c Loading commit data...
freedreno_state.h Loading commit data...
freedreno_surface.c Loading commit data...
freedreno_surface.h Loading commit data...
freedreno_texture.c Loading commit data...
freedreno_texture.h Loading commit data...
freedreno_util.c Loading commit data...
freedreno_util.h Loading commit data...
meson.build Loading commit data...