nir: Add ir3-specific version of most SSBO intrinsics
authorEduardo Lima Mitev <elima@igalia.com>
Tue, 26 Feb 2019 07:45:07 +0000 (08:45 +0100)
committerEduardo Lima Mitev <elima@igalia.com>
Wed, 13 Mar 2019 20:19:44 +0000 (21:19 +0100)
commit6ff50a488a12f86069bff88e3ad1b6473a76f014
treeb1b89712d9517441c848ca126455539e7899a30e
parent03a0801bcb1828d785d8f7ef46a4000a8e0c1ce1
nir: Add ir3-specific version of most SSBO intrinsics

These are ir3 specific versions of SSBO intrinsics that add an
extra source to hold the element offset (dword), which is what the
backend instructions need.

The original byte-offset source provided by NIR is not replaced
because on a4xx and a5xx the backend still needs it.

Reviewed-by: Rob Clark <robdclark@gmail.com>
src/compiler/nir/nir_intrinsics.py