pan/midgard: Add mir_ubo_shift helper
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 13 Aug 2019 16:27:16 +0000 (09:27 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 14 Aug 2019 23:57:24 +0000 (16:57 -0700)
commit03350eb8b809d369a6af884a41dca0804c22de69
treec278dc8e770be0a1a1342da5dbfb4ab28ff7fa93
parentcf3bb10f51e28f775744e5c24b30c27b25c40fdb
pan/midgard: Add mir_ubo_shift helper

Different UBO reads have different shift requirements.

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