panfrost/midgard: Extract emit_varying_read
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 4 Jun 2019 23:26:09 +0000 (23:26 +0000)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 12 Jun 2019 21:25:17 +0000 (14:25 -0700)
commit15fae1e38c55bb985cee1b005139dd5a2733bd5f
tree7f0245500522964a8072def2ec234d878c33935b
parent8c88bd0253063fc51ea15e59a09dd3c238c34463
panfrost/midgard: Extract emit_varying_read

Paralleling emit_uniform_read, this allows varying reads to be emitted
independent of an honest-to-goodness load vary instruction in the NIR.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/midgard/midgard_compile.c