freedreno/ir3: Emit link map as byte or dwords offsets as needed
authorKristian H. Kristensen <hoegsberg@google.com>
Tue, 22 Oct 2019 23:07:45 +0000 (16:07 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Fri, 8 Nov 2019 00:36:42 +0000 (16:36 -0800)
commit5d67da13a3f9e22bc5490e2e658f46806125fce1
tree67536c293ae1f6732ced6b6003d7a49687205190
parent1f3b52ce503597ccb170b7caae3b3f19890dce46
freedreno/ir3: Emit link map as byte or dwords offsets as needed

Stages that load inputs with ldlw (TCS, GS) need byte offsets, stages
that load with ldg (TES) need dwords offsets.

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
Acked-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_gallium.c