pan/midgard: Add emit_explicit_constant helper
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 24 Jul 2019 19:52:27 +0000 (12:52 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 25 Jul 2019 13:37:22 +0000 (06:37 -0700)
commite169301bd85644edb97591fae3790e9442ea4721
treeed4dd25503ae2d0a3aa7ed2862d0ef73685b65df
parenteedd6c1dd0040c0a3573000003730a8a3f2e4b78
pan/midgard: Add emit_explicit_constant helper

We generalize the constant emission helper used in fragment writeout as
we'll also need it for vertex outputs.

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