freedreno: Set up supported modifiers in fd*_resource_screen_init()
authorKristian H. Kristensen <hoegsberg@google.com>
Wed, 5 Feb 2020 01:41:27 +0000 (17:41 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Feb 2020 20:53:32 +0000 (20:53 +0000)
commitaf6fb4f0a9ffe3250612acd3eb382f5eb5227e48
tree473cbb8c7221fbb4a9e90e2da9aa457f4e93c6b8
parentd0a7c8f4a8cd375a9448f50d777e2cc9ee95a8d1
freedreno: Set up supported modifiers in fd*_resource_screen_init()

Keep the modifier logic together.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3704>
src/gallium/drivers/freedreno/a6xx/fd6_screen.c
src/gallium/drivers/freedreno/freedreno_resource.c
src/gallium/drivers/freedreno/freedreno_screen.c