freedreno/ir3: lower load_barycentric_at_sample
authorRob Clark <robdclark@chromium.org>
Fri, 19 Apr 2019 18:12:34 +0000 (11:12 -0700)
committerRob Clark <robdclark@chromium.org>
Thu, 25 Apr 2019 21:13:31 +0000 (14:13 -0700)
commitc4f423aa366548b919ed78407bacab032a077398
tree60d14fff6707c07e011b67cf68043febc948c9f4
parent4e3ce224a7e19442cabd82415005c16e2f27cdc5
freedreno/ir3: lower load_barycentric_at_sample

This lowers load_barycentric_at_sample to load_sample_pos_from_id plus
load_barycentric_at_offset.

Signed-off-by: Rob Clark <robdclark@chromium.org>
src/compiler/nir/nir_intrinsics.py
src/freedreno/ir3/ir3_nir.h
src/freedreno/ir3/ir3_nir_lower_load_barycentric_at_sample.c [new file with mode: 0644]
src/freedreno/ir3/meson.build