commit | 467ae0d39da4238f8ac7b7674fa2f17bdfeb03e0 | [log] [tgz] |
---|---|---|
author | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | Tue Dec 24 21:35:52 2019 -0500 |
committer | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | Tue Dec 24 22:42:07 2019 -0500 |
tree | b0035884e9453292e9c6f23c9440e8e4ce1a7728 | |
parent | 31305e1b2854c6a70dc8c61265f525fcb52c265d [diff] |
panfrost: Factor out panfrost_compute_magic_divisor The algorithm doesn't need to be tangled up in details about the attribute records themselves. We'll need to compute magic divisors for gl_InstanceID in a second. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>