freedreno/ir3: Add load and store intrinsics for global io
authorKristian H. Kristensen <hoegsberg@google.com>
Tue, 22 Oct 2019 23:16:35 +0000 (16:16 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Fri, 8 Nov 2019 00:36:44 +0000 (16:36 -0800)
commitfe450ef4cf672f4f66ea1966cc96bc706b864357
treecffc04275701d2eb17900c22d8c47d35de1b4b03
parent5d67da13a3f9e22bc5490e2e658f46806125fce1
freedreno/ir3: Add load and store intrinsics for global io

These intrinsics take a ivec2 for the 64 bit base address and a
integer offset.

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
Acked-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/compiler/nir/nir_intrinsics.py
src/freedreno/ir3/ir3_compiler_nir.c